Chinaunix
标题:
route 单网卡 添加多网关 linux(ubuntu)
[打印本页]
作者:
ygl23
时间:
2010-01-22 19:08
标题:
route 单网卡 添加多网关 linux(ubuntu)
auto lo
iface lo inet loopback
# The primary network interface
auto eth0
iface eth0 inet static
address 192.168.11.40
netmask 255.255.255.0
gateway 192.168.11.1
route add -net 192.168.11.0 netmask 255.255.255.0 gw 192.16811.254 metric 99 dev eth0
本文来自ChinaUnix博客,如果查看原文请点:
http://blog.chinaunix.net/u/1676/showart_2158010.html
欢迎光临 Chinaunix (http://bbs.chinaunix.net/)
Powered by Discuz! X3.2