: route add -net 210.xxx.xxx.xxx netmask 255.xxx.xxx.xxx
: gateway 218.xxx.xxx.xxx (한 줄)
:
: 이런 식으로 게이트웨이를 추가하면 되는데 다만
: 디폴트 게이트웨이를 잡아서는 안될 겁니다.(100% 확신은 못하지만)
route add -net 218.146.248.162 netmask 255.255.255.0 gateway 210.105.173.254
route: netmask doesn't match route address
#route 내용#
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
218.146.248.0 * 255.255.255.0 U 0 0 0 eth0
127.0.0.0 * 255.0.0.0 U 0 0 0 lo
Destination Gateway Genmask Flags MSS Window irtt Iface
218.146.248.0 0.0.0.0 255.255.255.0 U 40 0 0 eth0
127.0.0.0 0.0.0.0 255.0.0.0 U 40 0 0 lo