На DES 3550
config link_aggregation algorithm mac_source
create link_aggregation group_id 1 type lacp
config link_aggregation group_id 1 master_port 40 ports 39-40 state enable
config lacp_port 1-38,41-50 mode passive
config lacp_port 39-40 mode active
На FreeBSD
/home/admin/>ifconfig
vr0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
options=2808<VLAN_MTU,WOL_UCAST,WOL_MAGIC>
ether 00:1c:f0:cb:07:94
media: Ethernet autoselect (100baseTX <full-duplex>)
status: active
vr1: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
options=2808<VLAN_MTU,WOL_UCAST,WOL_MAGIC>
ether 00:1c:f0:cb:07:94
media: Ethernet autoselect (100baseTX <full-duplex>)
status: active
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384
options=3<RXCSUM,TXCSUM>
inet 127.0.0.1 netmask 0xff000000
lagg0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
options=2808<VLAN_MTU,WOL_UCAST,WOL_MAGIC>
ether 00:1c:f0:cb:07:94
media: Ethernet autoselect
status: active
laggproto lacp
laggport: vr1 flags=1c<ACTIVE,COLLECTING,DISTRIBUTING>
laggport: vr0 flags=1c<ACTIVE,COLLECTING,DISTRIBUTING>
vlan1: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
ether 00:1c:f0:cb:07:94
inet 192.168.10.7 netmask 0xffffff00 broadcast 192.168.10.255
media: Ethernet autoselect
status: active
vlan: 1 parent interface: lagg0
vlan2: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
ether 00:1c:f0:cb:07:94
inet 192.168.1.1 netmask 0xffffff00 broadcast 192.168.1.255
media: Ethernet autoselect
status: active
vlan: 2 parent interface: lagg0
Тест
Сервер(FreeBSD) ip 192.168.10.7
С сервера пингуем 2 машины в этом же бродкаст домене
большими пакетами с маленьким интервалом
/home/admin/>ping -i 0.001 -s 20000 192.168.10.4
PING 192.168.10.4 (192.168.10.4): 20000 data bytes
20008 bytes from 192.168.10.4: icmp_seq=11162 ttl=128 time=50.798 ms
20008 bytes from 192.168.10.4: icmp_seq=11163 ttl=128 time=51.071 ms
20008 bytes from 192.168.10.4: icmp_seq=11164 ttl=128 time=51.344 ms
20008 bytes from 192.168.10.4: icmp_seq=11165 ttl=128 time=51.644 ms
20008 bytes from 192.168.10.4: icmp_seq=11166 ttl=128 time=51.937 ms
20008 bytes from 192.168.10.4: icmp_seq=11167 ttl=128 time=51.942 ms
20008 bytes from 192.168.10.4: icmp_seq=11168 ttl=128 time=53.448 ms
20008 bytes from 192.168.10.4: icmp_seq=11169 ttl=128 time=54.478 ms
20008 bytes from 192.168.10.4: icmp_seq=11172 ttl=128 time=51.203 ms
20008 bytes from 192.168.10.4: icmp_seq=11174 ttl=128 time=53.836 ms
20008 bytes from 192.168.10.4: icmp_seq=11177 ttl=128 time=52.304 ms
20008 bytes from 192.168.10.4: icmp_seq=11178 ttl=128 time=52.801 ms
20008 bytes from 192.168.10.4: icmp_seq=11179 ttl=128 time=53.102 ms
.................................................
/home/admin/>ping -i 0.001 -s 10000 192.168.10.222
10008 bytes from 192.168.10.222: icmp_seq=3950 ttl=64 time=2.067 ms
10008 bytes from 192.168.10.222: icmp_seq=3951 ttl=64 time=2.068 ms
10008 bytes from 192.168.10.222: icmp_seq=3952 ttl=64 time=2.069 ms
10008 bytes from 192.168.10.222: icmp_seq=3953 ttl=64 time=2.071 ms
10008 bytes from 192.168.10.222: icmp_seq=3954 ttl=64 time=2.067 ms
10008 bytes from 192.168.10.222: icmp_seq=3955 ttl=64 time=2.068 ms
10008 bytes from 192.168.10.222: icmp_seq=3956 ttl=64 time=2.067 ms
10008 bytes from 192.168.10.222: icmp_seq=3957 ttl=64 time=2.071 ms
10008 bytes from 192.168.10.222: icmp_seq=3958 ttl=64 time=2.065 ms
10008 bytes from 192.168.10.222: icmp_seq=3959 ttl=64 time=2.068 ms
......................................................................................................
Смотрим статистику на интерфейсах сервера
/home/admin/>ifstat
vr0 vr1 lagg0 vlan1
KB/s in KB/s out KB/s in KB/s out KB/s in KB/s out KB/s in KB/s out
1986.11 5025.68 7.90 5044.40 1994.01 10069.83 1988.17 10042.00
1989.49 4807.40 1.11 5280.02 1990.60 10087.17 1985.12 10059.65
2000.56 5069.86 4.44 4979.56 2004.76 10049.18 1999.08 10021.53
1989.04 4898.92 13.33 5189.75 2002.37 10088.43 1996.24 10060.17
1992.25 5180.44 5.45 4893.03 1997.69 10073.23 1991.97 10045.54
1998.34 5231.69 4.03 4833.03 2002.37 10064.48 1996.70 10036.79
1987.47 5022.29 12.15 5104.61 1999.62 10126.66 1993.55 10098.44
1996.48 4913.08 3.77 5185.48 2000.25 10098.32 1994.60 10070.57
2230.51 4537.93 306.99 4204.73 2537.50 8742.42 2530.17 8718.18
1972.95 3490.88 763.99 3738.28 2736.94 7228.92 2729.11 7208.67
1997.40 2110.81 6.59 1799.88 2003.99 3910.45 1998.12 3899.08
1751.95 4807.16 465.17 4966.26 2217.11 9773.17 2210.64 9745.90
1982.72 5013.33 1.01 5108.59 1983.73 10121.68 1978.26 10094.06
1985.08 5163.85 6.50 4929.15 1991.58 10092.75 1985.82 10064.89
|