因此,我已经安装了ubuntu13.10,并试图聚合我的两个接口。首先,我怀疑我的接口是以不寻常的方式调用的: p1p1和p1p2,而不是通常的eth0 & eth1。由于未知的原因,网络服务将停止并无法启动。ifconfig -a向我展示了我所有的接口,包括bond0,但是当我尝试ifup bond0时,它是这样写的:/etc/bond0:21:未知地址类型。造成这个问题的原因是什么?我读了很多手册,不管它写了什么,但都是徒劳的。这是我的/etc/联网/接口:
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
# The loopback network interface
auto lo
iface lo inet loopback
# The primary network interface
#auto p1p1
#iface p1p1 inet static
# address 10.0.9.15
# netmask 255.255.255.0
# network 10.0.9.0
# broadcast 10.0.9.255
# gateway 10.0.9.254
# # dns-* options are implemented by the resolvconf package, if installed
# dns-nameservers 10.0.9.6
# dns-search school49-tver.ru
auto bond0
iface bond0 itet static
address 172.16.0.2
netmask 255.255.255.128
network 172.16.0.0
broadcast 172.16.0.127
gateway 172.16.0.1
dns-nameservers 10.0.9.6
dns-search school49-tver.ru
bond-mode 4
bond-miimon 100
bond-lacp-rate 1
bond-slaves p1p1 p1p2
#auto bond0.40
auto p1p1
iface p1p1 inet manual
bond-master bond0
auto p1p2
iface p1p2 inet manual
bond-master bond0发布于 2014-03-07 07:41:17
问题突然解决了。遵循这指令。以下是我的工作配置:
auto lo
iface lo inet loopback
auto p1p1
iface p1p1 inet manual
bond-master bond0
auto p1p2
iface p1p2 inet manual
bond-master bond0
auto bond0
iface bond0 inet static
address 172.16.0.2
netmask 255.255.255.128
network 172.16.0.0
broadcast 172.16.0.127
gateway 172.16.0.1
bond-mode 4
bond-miimon 100
bond-lacp-rate 1
bond-slaves p1p1 p1p2https://askubuntu.com/questions/430284
复制相似问题