gateways for IPv4 and IPv6

gateways for IPv4 and IPv6
 
#on route server
route add -net 192.168.1.0 netmask 255.255.255.0 gw 192.168.0.1
 
then
echo "1" > /proc/sys/net/ipv4/ip_forward
or  vi /etc/sysctl.conf
 
#on client
ensure the consistant of /etc/sysconfig/network
and /etc/sysconfig/network-script/ifcfg-eth0
only config in one place.
 
 
 
 
 
 
 

你可能感兴趣的:(生活,职场,休闲)