network bonding 설정후.. 질문.
network bonding을 했습니다.
이것을 보고요..
배포본은 우분투 사용하고 있습니다.
그런데, ping을 해 보면 아래와 같이 나오는데 이거 정상인지요?
root@eidicom-server:/dev/usb# ping 192.168.1.1
PING 192.168.1.1 (192.168.1.1) 56(84) bytes of data.
64 bytes from 192.168.1.1: icmp_seq=1 ttl=255 time=0.858 ms
64 bytes from 192.168.1.1: icmp_seq=1 ttl=255 time=0.867 ms (DUP!)
64 bytes from 192.168.1.1: icmp_seq=2 ttl=255 time=1.18 ms
64 bytes from 192.168.1.1: icmp_seq=2 ttl=255 time=1.19 ms (DUP!)
이 서버에 samba설치에서 사용하고 있는데 잘 돌아는 갑니다.
참고로...
root@eidicom-server:/dev/usb# ifconfig
bond0 Link encap:Ethernet HWaddr 00:02:b3:52:73:a3
inet addr:192.168.1.19 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::202:b3ff:fe52:73a3/64 Scope:Link
UP BROADCAST RUNNING MASTER MULTICAST MTU:1500 Metric:1
RX packets:1861256 errors:0 dropped:0 overruns:3 frame:3
TX packets:1452949 errors:26 dropped:0 overruns:0 carrier:26
collisions:252332 txqueuelen:0
RX bytes:313868061 (299.3 MB) TX bytes:956594703 (912.2 MB)
bond0:0 Link encap:Ethernet HWaddr 00:02:b3:52:73:a3
inet addr:2xx.xxx.xx.xx Bcast:2xx.xxx.xxx.xx Mask:255.255.255.240
UP BROADCAST RUNNING MASTER MULTICAST MTU:1500 Metric:1
eth0 Link encap:Ethernet HWaddr 00:02:b3:52:73:a3
UP BROADCAST RUNNING SLAVE MULTICAST MTU:1500 Metric:1
RX packets:931024 errors:0 dropped:0 overruns:3 frame:3
TX packets:726756 errors:15 dropped:0 overruns:0 carrier:15
collisions:137888 txqueuelen:1000
RX bytes:155097627 (147.9 MB) TX bytes:475923416 (453.8 MB)
eth1 Link encap:Ethernet HWaddr 00:02:b3:52:73:a3
UP BROADCAST RUNNING SLAVE MULTICAST MTU:1500 Metric:1
RX packets:930232 errors:0 dropped:0 overruns:0 frame:0
TX packets:726193 errors:11 dropped:0 overruns:0 carrier:11
collisions:114444 txqueuelen:100
RX bytes:158770434 (151.4 MB) TX bytes:480671287 (458.4 MB)
Base address:0x2460 Memory:fe020000-fe040000
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:1270 errors:0 dropped:0 overruns:0 frame:0
TX packets:1270 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:68316 (66.7 KB) TX bytes:68316 (66.7 KB)
이렇습니다.
감사합니다.
인용:14.2 Duplicated
결론적으로 bonding에 의해 DUP을 수신하는건 bonding 자체의 에러가 아니라는군요.
mode 0번은 스위치의 지원이 필요한것으로 알고 있습니다.
mode 0번은 스위치의 지원이 필요한것으로 알고 있습니다. 스위치의 지원 없이는 fault tolerance 기능만 동작 할것 같습니다.
스위치의 지원 없이는 5, 6번 모드로 사용하면 적당한 성능을 얻을수 있지 않을까 생각 됩니다.
아래는 Documentation/networking/bonding.txt 에 담겨 있는 내용입니다.
The balance-rr, balance-xor and broadcast modes generally
require that the switch have the appropriate ports grouped together.
The nomenclature for such a group differs between switches, it may be
called an "etherchannel" (as in the Cisco example, above), a "trunk
group" or some other similar variation. For these modes, each switch
will also have its own configuration options for the switch's transmit
policy to the bond. Typical choices include XOR of either the MAC or
IP addresses. The transmit policy of the two peers does not need to
match. For these three modes, the bonding mode really selects a
transmit policy for an EtherChannel group; all three will interoperate
with another EtherChannel group.
아핫
감사합니다.
제대로 된 건지 모르겠지만...
사용하던 허브를 바꿔보니 그런 현상이 없어지는군요..
댓글 달기