Đang chuẩn bị liên kết để tải về tài liệu:
Practical TCP/IP and Ethernet Networking- P21

Không đóng trình duyệt đến khi xuất hiện nút TẢI XUỐNG

Practical TCP/IP and Ethernet Networking- P21: The transmitter encodes the information into a suitable form to be transmitted over the communications channel. The communications channel moves this signal as electromagnetic energy from the source to one or more destination receivers. The channel may convert this energy from one form to another, such as electrical to optical signals, whilst maintaining the integrity of the information so the recipient can understand the message sent by the transmitter | 82 Practical TCP IP and Ethernet Networking 6.2.6 Determining the address class by inspection The NetID should normally not be all 0s as this indicates a local network. With this in mind analyze the first octet w . For class A the first bit is fixed at 0. The binary values for w can therefore only vary between 00 0 0 0 0 002 010 and 011111112 12710 . 0 is not allowed. However 127 is also a reserved number with 127.x.y.z reserved for loop-back testing. In particular 127.0.0.1 is used to test that the TCP IP protocol is properly configured by sending information in a loop back to the computer that originally sent the packet without it traveling over the network. The values for w can therefore only vary between 1 and 126 which allows for 126 possible class A NetIDs. For class B the first two bits are fixed at 10. The binary values for w can therefore only vary between 100000002 12810 and 101111112 19110 . For class C the first three bits are fixed at 110. The binary values for w can therefore only vary between 110000002 19210 and 110111112 22310 . The relationship between w and the address class can therefore be summarized as follows. Figure 6.3 IPv4 address range vs class 6.2.7 Number of networks and hosts per address class Note that there are two reserved host numbers irrespective of class. These are all zeros or all ones for HostID. An IP address with a host number of zero is used as the address of the whole network. For example on a class C network with the NetID 200.100.100 the IP address 200.100.100.0 indicates the whole network. If all the bits of the HostID are set to 1 for example 200.100.100.255 then a broadcast message will be sent to every host on that network. To summarize HostID all zeros means this network. HostID all ones means all hosts on this network For class A the number of NetIDs is determined by octet w . Unfortunately the first bit fixed at 0 is used to indicate class A and hence cannot be used. This leaves seven usable bits. Seven bits allow .

TÀI LIỆU LIÊN QUAN
Đã phát hiện trình chặn quảng cáo AdBlock
Trang web này phụ thuộc vào doanh thu từ số lần hiển thị quảng cáo để tồn tại. Vui lòng tắt trình chặn quảng cáo của bạn hoặc tạm dừng tính năng chặn quảng cáo cho trang web này.