|
|
|
|
 用bond绑定网卡之后,网卡的没ip - happynew [ 2006-12-29 14:21 | 1,889 byte(s)]
 Re: 用bond绑定网卡之后,网卡的没ip - flywg [ 2008-03-05 18:09 | 69 byte(s)]
|
|
|
|
[Original]
[Print]
[Top]
|
我先用modprobe bonding 加载模块,出现这样的warning
bonding: Warning: either miimon or arp_interval and arp_ip_target module paramete
rs must be specified, otherwise bonding will not detect link failures! see bondin
g.txt for details
然后
ifconfig bond0 192.168.1.240
ifenslave bond0 eth0 eth1
再用ifconfig查看 结果如下
bond0 Link encap:Ethernet HWaddr 00:18:F8:04:E4:32
inet addr:192.168.1.240 Bcast:192.168.1.255 Mask:255.255.255.0
UP BROADCAST RUNNING MASTER MULTICAST MTU:1500 Metric:1
RX packets:3 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:192 (192.0 B) TX bytes:0 (0.0 B)
eth0 Link encap:Ethernet HWaddr 00:18:F8:04:E4:32
UP BROADCAST RUNNING SLAVE MULTICAST MTU:1500 Metric:1
RX packets:3 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:192 (192.0 B) TX bytes:0 (0.0 B)
Interrupt:39
eth1 Link encap:Ethernet HWaddr 00:18:F8:04:E4:32
UP BROADCAST SLAVE MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
bond0,eth0,eth1,有了一样的mac地址,,,但是为说明eth0。eth1没有ip阿
当然 我ping 192.168.1.240 也是ping不通的
有人知道为什么吗?
|
|
|
[Original]
[Print]
[Top]
|
|
|