Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Attention: The Community will be in read-only mode on 12/14/2017 from 12:00 am pacific to 11:30 am.

During this time you will only be able to see content. Other interactions such as posting, replying to questions, or marking content as helpful will be disabled for few hours.

We apologize for the inconvenience while we perform important updates to the Community.

Bronze

windows xp host and command " netstat-rn

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.

1 ACCEPTED SOLUTION

Accepted Solutions
Hall of Fame Super Blue

Re: windows xp host and command " netstat-rn

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

2 REPLIES
Hall of Fame Super Blue

Re: windows xp host and command " netstat-rn

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

Gold

Re: windows xp host and command " netstat-rn

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.

687
Views
0
Helpful
2
Replies
CreatePlease to create content