Manual command
/sbin/route add -net 192.168.1.0/20 gw 10.10.10.1
Or
Route for special connection
/etc/sysconfig/network-scripts/route-eth0
GATEWAY0=10.10.10.1
NETMASK0=255.255.255.0
ADDRESS0=192.168.1.0
GATEWAY1=10.164.234.112
NETMASK1= 255.255.255.240
ADDRESS1=10.164.234.132
share on: facebook
No comments:
Post a Comment