Bootstrap FreeKB - Windows - route print command (display routing table)
Windows - route print command (display routing table)

Updated:   |  Windows articles

The route print or netstat -r (route) commands can be used to display a hosts routing table. 

route print

 

Following is a simplified host routing table:

Network Destination  Netmask          Default Gateway  Interface      Metric
0.0.0.0              0.0.0.0          192.168.0.1      192.168.0.10   10
127.0.0.0            255.0.0.0        On-Link          127.0.0.1      306
127.255.255.255      255.255.255.255  On-Link          127.0.0.1      306
127.255.255.255      255.255.255.255  On-Link          127.0.0.1      306
192.168.0.0          255.255.255.0    On-Link          192.168.0.10   266
192.168.0.10         255.255.255.255  On-Link          192.168.0.10   266
192.168.0.255        255.255.255.255  On-Link          192.168.0.10   266
224.0.0.0            240.0.0.0        On-Link          127.0.0.1      306
224.0.0.0            240.0.0.0        On-Link          192.168.0.10   266
255.255.255.255      255.255.255.255  On-Link          127.0.0.1      306
255.255.255.255      255.255.255.255  On-Link          192.168.0.10   266

 

0.0.0.0

Network Destination 0.0.0.0 is the default route.  Any packet that has a destination address that does not match any of the other listings in the routing table are sent to the default route, which is the Default Gateway (router).


127.x.x.x

Network Destination 127.x.x.x is the loopback address. Any packet sent from the host to 127.x.x.x will be looped back to the host.


192.168.x.x

Network Desitnation 192.168.x.x is used to route packets to other hosts inside the LAN.  In this example, if a packet is desitined for another computer in the LAN, one of the 192.168.x.x routes will be used.

  • 192.168.0.0 - all computers on the 192.168.0.x network.
  • 192.168.0.10 - The address of the host.
  • 192.168.0.255 - Broadcast address.  Sends messages to all hosts in the LAN.

224.0.0.0

Multicast addresses


255.255.255.255

Broadcast IP address.




Did you find this article helpful?

If so, consider buying me a coffee over at Buy Me A Coffee



Comments


Add a Comment


Please enter 2ce7f0 in the box below so that we can be sure you are a human.