Wednesday, 13 April 2011

Ubuntu 10.04 - add a persistent route


route add [-net|-host] netmask gw dev X
Example
route add -net 10.10.10.0 netmask 255.255.255.0 gw 192.168.1.1 dev eth0
route add -host 10.10.1.1 netmask 255.255.255.0 gw 192.168.1.1 dev eth0

No comments:

Post a Comment