Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Roting command.

Status
Not open for further replies.
May 29, 2003
40
US
i'm looking for any way through the routing (route) command to add routing entry only for specific interface (i.e hme1)?
 
Routes work in IP addresses, not network cards. Having said that, however, hme1 probably has only one IP address set on it, so you can just add a route for that IP address or its network and it should be added for hme1.

Otherwise the ways to add a specific route are fairly well described on the route man page. Perhaps you could be more specific?

Annihilannic.
 
first thanks for your attentaion, i've already read the man page of route and i have no problem to deal with this command although i'm still looking for some way to assign route entry to spesific NIC. i thought about this after i've seen in the "netstat -rn" output that some of the routing entries are assign to a specific NIC. and i want to do the same (assign the routing to work for specific NIC)
did i make my intention more clearly?
thanks in advance.
maor/
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top