【正文】
lass D is for Multicast and Class E is reserved for Research. Class C Class A Network Address Host Address 0 Class B Network Address Host Address 1 0 Network Address Host Address 1 1 0 0000 0000 0000 0001 1 .. 0111 1110 126 0111 1111 127 1000 0000 128 1011 1111 191 1100 0000 192 1101 1111 223 來自 Address Class Summary Number of Networks 126 16,384 2,097,152 Number of Hosts per Network 16,777,214 65,534 254 Class A Class B Class C Range of Network IDs (First Octet) 1 – 126 128 – 191 192 – 223 來自 Network Addresses: Special Purpose and Guidelines ? Network Address Cannot Be 127 ? 127 is reserved for loopback functions and selfdiagnostic ? is reserved as a loopback address ? Network ID and/or Host ID Cannot Be All Bits Set to 1 ? All 1s means “All works”, or “all nodes” ? 255 is a broadcast address。 a message sent to this address is broadcast to each machine on the sub. ? – send to “all nodes” on work ? Limited Broadcast ? Network ID and/or Host ID Cannot Be All Bits Set to 0 ? used by Cisco routers to designate the default route ? 0 means “this work or segment”, or “this node” ? Host ID Must Be Unique to the Network 來自 Assigning Network Addresses Router 1 2 3 Router 來自 Assigning Host Addresses Router Router 1 2 3 來自 Subting What is a Sub? Why Subting? Implementing Subting Sub Masks Default Sub Masks Possible Sub Masks for Class A, B amp。 connecting multiple smaller works makes the system more efficient 來自 Implementing Subting ? Determine the Number of Required Network IDs ? One for each sub ? One for each widearea work connection ? Determine the Number of Required Host IDs per Sub ? One for each TCP/IP host ? One for each router interface ? Based on the above requirement, create the following: ? Define One Sub Mask Based on Requirements ? Define a Unique Sub ID for Each Physical Segment Based on the Sub Mask ? Define Valid Host IDs for Each Sub Based on the Sub ID 來自 Sub Masks ? A 32bit value posed of 1s and 0s. The 1s in the sub mask represent the positions that refer to the work or sub addresses. ? Distinguishes the Network ID from the Host ID ? Used to Specify Whether the Destination Host is Local or Remote ? If ANDed results of source and destination hosts match, the destination is local 來自 Default Sub Masks Bits Used for Sub Mask Address Class Dotted Decimal Notation Class A Class B Class C 11111111 00000000 00000000 00000000 11111111 11111111 00000000 00000000 11111111 11111111 11111111 00000000 . . . . IP Address Sub Mask Network ID Host ID 來自 Possible Sub Masks for Class A, B a