Note the following considerations for valid IP addressing:
.207 = 1 1 0 0 1 1 1 1
...61 = 0 0 1 1 1 1 0 1
...16 = 0 0 0 0 1 0 0 0
.119 = 0 1 1 1 0 1 1 1
Host = 11001111 00111101 00010000 01110111 = 207.61.16.119
Mask = 11111111 11111111 11111111 00000000 = 255.255.255.0
AND = 11001111 00111101 00010000 00000000 = 207.61.16.0
= 207.61.16.0 = network ID
Host = 11001111 00111101 00010000 01110111 = 207.61.16.119
NOT Mask = 00000000 00000000 00000000 11111111 = 0. 0. 0. 1
AND = 00000000 00000000 00000000 01110111 = 0. 0. 0.119
= 0.0.0.119 = host ID
Two types of subnet masks are used in TCP/IP networking:
Default Subnet Masks for IP Addresses
| Class | Default Subnet Mask | Network ID | Host ID |
| A | 255.0.0.0 | w | x.y.z |
| B | 255.255.0.0 | w.z | y.z |
| C | 255.255.255.0 | w.x.y | z |
When you type ipconfig at a command prompt, the following information is displayed for each NIC:
You can release and renew IP addresses obtained by DHCP using ipconfig /release and ipconfig /renew.
IP packets are routed in the following fashion:
See alsomesh topology, ring topology, star topology
A typical routing table looks like the following:
Active Routes: Network Address Netmask Gateway Address Interface Metric 127.0.0.0 255.0.0.0 127.0.0.1 127.0.0.1 1 172.16.8.0 255.255.255.0 172.16.8.50 172.16.8.50 1 172.16.8.50 255.255.255.255 127.0.0.1 127.0.0.1 1 172.16.255.255 255.255.255.255 172.16.8.50 172.16.8.50 1 224.0.0.0 224.0.0.0 172.16.8.50 172.16.8.50 1 255.255.255.255 255.255.255.255 172.16.8.50 172.16.8.50 1