How to set Gateway by command line
I know that to IP addres and Netmask use command
"ifconfig eth0 161.246.xx.xx netmask 255.255.255.0 up " but I don't know How to set Gateway and DNS? pls, tell me how to set that ? |
add a "network to be gatewayed" by a certain device say eth1.
route add mygateway eth1 route add -net 192.168.32.0 netmask 255.255.255.0 gw mygateway |
All times are GMT -5. The time now is 04:26 AM. |