By using below command we can add the default route -Temporarily.
#route add gw IP Address Netmask ethx up
IP Address = Gateway IP Address of your network (ex 192.168.0.1)
Netmask = Your network mask (255.255.255.0)
ethx - Gateway Interface
# route add gw 192.168.0.1 255.255.255.0 eth1 up
Wednesday, October 14, 2015
Default route in Linux by command
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment