- 论坛徽章:
- 0
|
如题:公司服务器2个网卡绑定bond0 ssh连上的时候很卡,检查了一下
[root@ydhl-test1 ~]# mii-tool -v bond0
bond0: 10 Mbit, half duplex, link ok
product info: vendor 00:01:00, model 0 rev 4
basic mode: 10 Mbit, half duplex
basic status: link ok
capabilities:
advertising:
bond0日志:
grep bond0 /var/log/messages
Oct 14 22:21:49 ydhl-test1 kernel: bonding: bond0: doing slave updates when interface is down.
Oct 14 22:21:49 ydhl-test1 kernel: bonding: unable to remove non-existent slave em1 for bond bond0.
Oct 14 22:21:50 ydhl-test1 kernel: bonding: bond0: doing slave updates when interface is down.
Oct 14 22:21:50 ydhl-test1 kernel: bonding: unable to remove non-existent slave em2 for bond bond0.
Oct 14 22:21:50 ydhl-test1 kernel: bonding: bond0: Setting MII monitoring interval to 80.
Oct 14 22:21:50 ydhl-test1 kernel: bonding: bond0: setting mode to balance-rr (0).
Oct 14 22:21:50 ydhl-test1 kernel: ADDRCONF(NETDEV_UP): bond0: link is not ready
Oct 14 22:21:50 ydhl-test1 kernel: bonding: bond0: Adding slave em1.
Oct 14 22:21:50 ydhl-test1 kernel: bonding: bond0: Adding slave em2.
Oct 14 22:29:31 ydhl-test1 kernel: bonding: bond0 is being created...
Oct 14 22:29:31 ydhl-test1 kernel: bonding: cannot add bond bond0; already exists
Oct 14 22:29:31 ydhl-test1 kernel: bonding: bond0: Setting MII monitoring interval to 80.
Oct 14 22:29:31 ydhl-test1 kernel: bonding: bond0: setting mode to balance-rr (0).
Oct 14 22:29:31 ydhl-test1 kernel: ADDRCONF(NETDEV_UP): bond0: link is not ready
Oct 14 22:29:31 ydhl-test1 kernel: bonding: bond0: Adding slave em1.
Oct 14 22:29:31 ydhl-test1 kernel: bonding: bond0: enslaving em1 as an active interface with an up link.
Oct 14 22:29:31 ydhl-test1 kernel: ADDRCONF(NETDEV_CHANGE): bond0: link becomes ready
Oct 14 22:29:31 ydhl-test1 kernel: bonding: bond0: Adding slave em2.
Oct 14 22:29:31 ydhl-test1 kernel: bonding: bond0: enslaving em2 as an active interface with a down link.
Oct 14 22:29:31 ydhl-test1 kernel: bond0: link status definitely up for interface em2, 1000 Mbps full duplex.
Oct 14 22:29:33 ydhl-test1 avahi-daemon[2765]: Joining mDNS multicast group on interface bond0.IPv4 with address 192.168.71.51.
Oct 14 22:29:33 ydhl-test1 avahi-daemon[2765]: New relevant interface bond0.IPv4 for mDNS.
Oct 14 22:29:33 ydhl-test1 avahi-daemon[2765]: Registering new address record for fe80::baca:3aff:fe5e:8960 on bond0.*.
Oct 14 22:29:33 ydhl-test1 avahi-daemon[2765]: Registering new address record for 192.168.71.51 on bond0.IPv4.
Oct 15 00:10:21 ydhl-test1 avahi-daemon[2765]: Received response from host 192.168.77.95 with invalid source port 3998 on interface 'bond0.0'
Oct 15 00:10:21 ydhl-test1 avahi-daemon[2765]: Received response from host 192.168.77.95 with invalid source port 3998 on interface 'bond0.0'
Oct 15 00:10:22 ydhl-test1 avahi-daemon[2765]: Received response from host 192.168.77.95 with invalid source port 3998 on interface 'bond0.0'
Oct 15 00:10:22 ydhl-test1 avahi-daemon[2765]: Received response from host 192.168.77.95 with invalid source port 3998 on interface 'bond0.0'
Oct 15 00:10:23 ydhl-test1 avahi-daemon[2765]: Received response from host 192.168.77.95 with invalid source port 3998 on interface 'bond0.0'
Oct 15 00:10:23 ydhl-test1 avahi-daemon[2765]: Received response from host 192.168.77.95 with invalid source port 3998 on interface 'bond0.0'
Oct 15 00:10:24 ydhl-test1 avahi-daemon[2765]: Received response from host 192.168.77.95 with invalid source port 3998 on interface 'bond0.0'
[root@ydhl-test1 ~]# cat /proc/net/bonding/bond0
Ethernet Channel Bonding Driver: v3.6.0 (September 26, 2009)
Bonding Mode: load balancing (round-robin)
MII Status: up
MII Polling Interval (ms): 80
Up Delay (ms): 0
Down Delay (ms): 0
Slave Interface: em1
MII Status: up
Speed: 1000 Mbps
Duplex: full
Link Failure Count: 0
Permanent HW addr: b8:ca:3a:5e:89:60
Slave queue ID: 0
Slave Interface: em2
MII Status: up
Speed: 1000 Mbps
Duplex: full
Link Failure Count: 0
Permanent HW addr: b8:ca:3a:5e:89:61
Slave queue ID: 0
mii-tool -F 100baseTx-Fd bond0
显示没有bond0这个设备
有人知道这个问题的原因和解决方法吗?感激不尽啊 |
|