[RK_2014_1016]ubuntu中,双网卡配置route出口,rk_2014_1016ubuntu
[RK_2014_1016]ubuntu中,双网卡配置route出口,rk_2014_1016ubuntu
1.编辑
# vi /etc/rc.local
2.添加如下内容
route del default route add default gateway 192.168.1.1 dev wlan0
3.本文网址[tom-and-jerry发布于2014-10-16 08:51]
http://www.cnblogs.com/tom-and-jerry/p/4027952.html
把你要执行的脚本添加到/etc/rc.local中就行了
Filed under: Ubuntu 1031 浏览数
制作:高进波
UBUNTU下双网卡绑定非常简单,使用以下步骤:
1.安装软件apt-get install ifenslave
2.修改配置文件
/etc/network/interfacesauto loiface lo inet loopback
iface eth0 inet dhcp
iface eth1 inet dhcpauto bond0iface bond0 inet static
address 64.0.177.20
netmask 255.255.255.0
gateway 64.0.177.254
up ifenslave bond0 eth0 eth1
3.加载模块vi /etc/modulesbonding完成!
评论暂时关闭