08-03-2009 12:34 AM - edited 03-06-2019 07:03 AM
Hi every body!
I was reading my book when encountered the following:
The command " netstat-rn" on windows xp host shows host routing table.
I always believe the routers have routing table. How could a host have routing table?
Thanks a lot.
Solved! Go to Solution.
08-03-2009 12:50 AM
Sarah
Hosts still can have routing tables although they usually only contain a default route pointing to the hosts default-gateway.
However there is nothing to stop you adding static routes to the host with the "route add ..." command and you can even run a dynamic routing protocol such as RIP on a host if you want.
Bear in mind that a host still needs to do a route lookup to send packets. Usually this consists purely of
1) if it's on my own subnet then arp out and send packet
2) if it's not on my subnet then send to default-gateway
It's recommended to let routers do the routing and hosts to just have a default-gateway.
Jon
08-03-2009 12:50 AM
Sarah
Hosts still can have routing tables although they usually only contain a default route pointing to the hosts default-gateway.
However there is nothing to stop you adding static routes to the host with the "route add ..." command and you can even run a dynamic routing protocol such as RIP on a host if you want.
Bear in mind that a host still needs to do a route lookup to send packets. Usually this consists purely of
1) if it's on my own subnet then arp out and send packet
2) if it's not on my subnet then send to default-gateway
It's recommended to let routers do the routing and hosts to just have a default-gateway.
Jon
08-03-2009 06:49 AM
XP can only listen for RIP updates - it can't send them. Windows Server editions can both listen and send RIP updates.
Typically you would use RIP on a host or server when more than one gateway exists on a subnet/network/vlan.
you can also use 'route print' to view the local routing table on a windows host.
These services are not installed by default but can be added through add/remove Windows programs.
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: