已经安装了一个系统(流变服务器-6.4-x86_64-dvd.iso)。KVM对哪一组。主机和来宾机器为此桥br0分配了自己的IP地址.一切都正常。现在我们必须在连接上架起一座桥梁。
在主机上设置以下设置:
[root@server ~]# cat /etc/sysconfig/network-scripts/ifcfg-eth0
DEVICE=eth0
HWADDR=f0:92:1c:0f:76:f8
MASTER=bond0
SLAVE=yes
ONBOOT=yes
[root@server ~]# cat /etc/sysconfig/network-scripts/ifcfg-eth1
DEVICE=eth1
HWADDR=F0:92:1C:0F:76:FC
MASTER=bond0
SLAVE=yes
ONBOOT=yes
[root@server ~]# cat /etc/sysconfig/network-scripts/ifcfg-bond0
DEVICE=bond0
ONBOOT=yes
BRIDGE="br0"
[root@server ~]# cat /etc/modprobe.conf
alias bond0 bonding
options bond0 mode=1 miimon=100
[root@server ~]# cat /etc/sysconfig/network-scripts/ifcfg-br0
DEVICE="br0"
NM_CONTROLLED="no"
ONBOOT="yes"
TYPE="Bridge"
BOOTPROTO="static"
IPADDR="10.2.26.39"
GATEWAY="10.2.26.1"
MTU="1500"
NETMASK="255.255.255.0"
DEFROUTE="yes"
IPV4_FAILURE_FATAL="yes"
IPV6INIT="no"
NAME="System br0"请查收:
[root@server ~]# cat /proc/net/bonding/bond0
Ethernet Channel Bonding Driver: v3.6.0 (September 26, 2009)
Bonding Mode: fault-tolerance (active-backup)
Primary Slave: None
Currently Active Slave: eth1
MII Status: up
MII Polling Interval (ms): 100
Up Delay (ms): 0
Down Delay (ms): 0
Slave Interface: eth0
MII Status: down
Speed: Unknown
Duplex: Unknown
Link Failure Count: 0
Permanent HW addr: f0:92:1c:0f:76:f8
Slave queue ID: 0
Slave Interface: eth1
MII Status: up
Speed: 10000 Mbps
Duplex: full
Link Failure Count: 0
Permanent HW addr: f0:92:1c:0f:76:fc
Slave queue ID: 0eth0被.虽然我希望看到类似这样的情况:
[root@server ~]# cat /proc/net/bonding/bond0
Ethernet Channel Bonding Driver: v3.6.0 (September 26, 2009)
Bonding Mode: fault-tolerance (active-backup)
Primary Slave: None
Currently Active Slave: eth0
MII Status: up
MII Polling Interval (ms): 100
Up Delay (ms): 0
Down Delay (ms): 0
Slave Interface: eth0
MII Status: up
Speed: 10000 Mbps
Duplex: full
Link Failure Count: 0
Permanent HW addr: f0:92:1c:0f:d5:e8
Slave queue ID: 0
Slave Interface: eth1
MII Status: up
Speed: 10000 Mbps
Duplex: full
Link Failure Count: 0
Permanent HW addr: f0:92:1c:0f:d5:ec
Slave queue ID: 0问题本身在一个主题,如何配置桥接超过连接在RHEL6.4服务器?
发布于 2013-12-24 14:23:43
这是正确的配置,尽管有几点:
alias bond0 bondingBONDING_OPTS,而不是在not探测中。DELAY=0,以防止它在界面启动时等待eth0关闭的事实与桥接或键合、物理接口故障排除无关。ethtool eth0将向您显示它没有检测到链接。
重新设置电缆,更换电缆,尝试不同的开关端口,尝试不同的网卡。
https://serverfault.com/questions/562136
复制相似问题