Wednesday, June 3, 2015

Route Command On Linux

Route Command On Linux

Here we go,

eth0 = Interface need to go through
gw   = Gateway

route add -net 192.168.0.0/16 dev eth0
route del -net 192.168.0.0/16 dev eth0

route add -net 192.168.0.0/16 gw 192.168.10.1
route del -net 192.168.0.0/16 gw 192.168.10.1


#LINUX #linux #Route #Command #Vannakk #vannakk