route add default gw ...
Deos any one know how to add routing gateway for a specific device such as eth1. I use the following command:
route add default gw 192.168.0.1 However, the gateway was added to Iface etho after I enter the command "route". Is there a way for the route command to specify a specific device such as "eth1" when adding it? - Dhsieh |
I found it. It's
route add default gw 192.168.0.1 dev eth1 |
All times are GMT -5. The time now is 08:46 PM. |