What is the difference between 192.168.2.1/24 and 192.168.1.1/24?
Is two different network segments, the subnet mask is 24,The first value range is 192.168.2.1 ~ 255,The second value ranges from 192.168.1.1 ~ 255These are two CIDR blocks. The last 24 indicates that its subnet mask is 255.255.255.0.Continue to ask: why is the mask the same but not the same CIDR Block?The third segment of their IP addresses
provides common references for network programming. This book provides rich examples with all the implementation code. This book is suitable for programmers who use Delphi to develop network programs.
Directory
Chapter 2 TCP/IP protocol 1
1.1 TCP/IP protocol family 1
1.1.1 OSI model 1
1.1.2 DOD Model 2
1.1.3 main TCP/IP Protocol 3
1.1.4 process/application layer protocol 4
1.1.5 host-host Layer Protocol 5
1.1.6 Internet Layer Protocol 6
1.2 introduction to TCP/IP 7
1.2.1 IP packet data encapsul
understanding of the network ID and host ID. To express an IP address, you can use either the address + subnet mask or the address prefix. Otherwise, you cannot determine which network the IP address belongs, even more unable to know its network ID and host ID.In fact, this is a very simple question. You don't need to calculate it at all. You just need to understand the meaning of the address prefix "/16. Because the network ID and host ID must be th
Requirements:
1. Scientific
2. Rationality
3. scalability
4. Ease of Management
Data: Binary: 128 64 32 16 8 4 2 1
11111111.111111.111111111111.111111
Case: A university now needs to build a network. In order to facilitate the management of school information center personnel, a reasonable IP address plan is required. Currently, 15 schools and one school leader domain are available, A total of 16 subnets need to be built and the IP addresses of 2000 PC machines need to be set in each sc
Solution to the error "err-disable" on the switch port
Instance:
We pulled an MSTP line from the customer's IDC room. After connecting to the Cisco 3750x, the port lights will not light up, and the port will not light up after it is changed, the error "err-disable" is reported because the client has a loop.
Fault symptom:
Line failure, physical indicator light is not on, some will be displayed in Orange (different platform indicator light status)
Solution:
Cancel loop and restart the port
Troubl
shortcoming in doing so. Ethernet uses broadcasting to send packets, all members of a "package", not only inefficient, but also limited to the sender of the subnet. In other words, if the two computers are not on the same subnet, the broadcast is not passed. This design is reasonable, otherwise every computer on the Internet will receive all the packets, it will cause disaster.
The internet is a huge netw
The server environment is as follows: IBM server, a total of 4 NICs; Operating System: Ubuntu-10.10-server access Intranet, telecommunications and Unicom IP, the information is as follows: 168.168.168.96 Telecommunications (TEL) IP: 125.91.219.252; subnet Mask: 255.255.255.248; Gateway: 125.91.219.249 Unicom (CNC) IP: 120.81.225
The server environment is as follows:
IBM server, with a total of 4 NICs;
Operating System: Ubuntu-10.10-server
The IP addre
networkHostname= Host Name2. Modify the IP addressIfconfig viewTemporary modification:Ifconfig interface IP address netmask subnet mask temporary configuration IPIfconfig can also set a virtual interface for the network card (for testing)Ifconfig Interface: Serial number IP address netmask subnet mask temporary configuration Virtual interface Sequence number 0 represents 1th, 1 for 2nd, and so on.For examp
addresses, it is certain that no other public server (such as Google.com) will use the same IP address as you.
In this case, information exchange usually uses the IPv4 protocol. The next version of the network protocol IPv6 will use a 128-bit address, but it does not seem to be widely used yet (although it is expected to be gradually used in the next few years ).
Subnet Mask
When I want to send a message to a specified IP address, how does this compu
, when a mobile host MH enters a non-home subnet, a registration message is sent to the foreign proxy FA of the subnet ), FA forwards this registration message to the hometown proxy HA of MH through a normal IP address route), and HA receives the registration message and obtains the MH transfer address COA ). COA can be the IP address of FA or a temporary IP address that FA dynamically assigns to MH. Then H
Linux advanced routing, a policy-based route that is more powerful and flexible than traditional routing, can not only forward paths based on destination addresses but also select routing forwarding paths based on message size, application, or IP source address so that system administrators can easily:1, control the bandwidth of a computer.2, control the bandwidth to a computer3. To help you share your bandwidth fairly4, protect your network from Dos attacks5, protect your Internet from your cus
1. From level two IP address to level three IP address:* * Level Two IP address design unreasonable:The utilization of ①IP address space is sometimes very low;② assigns a network number to each physical network, which causes the routing table to become too large and thus causes the network performance to become worse;③ level Two IP address is not flexible;2. subnetting: Since 1985 a "Subnet Number field" has been added to the IP address so that the le
Aggregation (VLAN Aggregation) technology, it allows hosts in different VLANs connected to the same vswitch and in the same IP segment to use the same default gateway for layer-3 communication. We know that in a common VLAN, even if all VLANs are in the same IP segment, a VLAN interface IP address must be configured for each VLAN as the default gateway for this VLAN. Of course, common VLAN applications mainly involve a VLAN that corresponds to a subnet
About DHCP principles the DHCP Client initializes TCP/IP for the IP lease request packet sent by the customer, and sends a DHCPDISCOVER broadcast packet to the network through UDP port 67 to request the lease IP address. The Source IP address in the broadcast package is 0.0.0.0, and the target IP address is 255.255.255.255. The package also contains the client's MAC address and computer name. Any DHCP server that receives the DHCPDISCOVER broadcast packet and can provide the IP address will resp
First Look at:IP Address usage rulesThe network number is reserved for all 0 addresses and cannot be used as an identity network;The host number is reserved for all 0 addresses, as the network address;The network number is 1, the address of thenode number is 0 indicates the subnet mask;Host number 1 addresses are broadcast addresses, such as 172.16.255.255, called direct broadcasts or directed broadcasts, indicating a 172.16.0.0 Broadcast from al
number. (TCP/IP is a broadcast protocol)
(3) corresponding to the preceding one, you cannot set 0; otherwise, the address is interpreted as "this network ".
(4) for this network, the host number should be unique. (Otherwise, an error such as IP Address allocation or conflict will occur)
Allocate network number
Each network and wide-area connection must have a unique network number, which is used to distinguish different hosts in the same physical network. If the network is connected by a router
Read Catalogue
1. Network Hierarchy Division
2. OSI seven-tier network model
3. IP Address
4. Subnet mask and network partitioning
5. Arp/rarp Agreement
6. Route Selection Protocol
7. TCP/IP protocol
8. UDP protocol
9. DNS protocol
Ten. Nat protocol
One. DHCP protocol
HTTP protocol
13. An example of
The core content of computer network learning is the study of network protocol. A network pr
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.