Closed xivamar closed 7 years ago
Hi.
OpenSwitch needs Linux bonding driver loaded in order to create LAGs (http://www.openswitch.net/documents/user/link_aggregation_design)
Please try loading the driver on the host OS by using command "modprobe bonding" before starting the test case.
Hi,
Should user load bonding driver himself? Is it correct behaver?
root@switch:~# modprobe bonding
root@switch:~#
root@switch:~# lsmod | grep bonding
root@switch:~#
root@switch:~# modinfo bonding
modinfo: ERROR: Module alias bonding not found.
root@switch:~#
The test result is as in issue.
Hi,
The command should be used on the host OS (i.e. Ubuntu) since the docker container uses host OS kernel.
Hi,
marina@ubuntu:~$ sudo modprobe bonding
[sudo] password for marina:
marina@ubuntu:~$
marina@ubuntu:~$ lsmod | grep bonding
bonding 139264 0
marina@ubuntu:~$
Now ping is present in both cases (L2 or L3 lag). And ifconfig output contains lag entries:
root@switch:~#ip netns exec swns ifconfig
.......(missed).......
lag12 Link encap:Ethernet HWaddr 70:72:CF:AF:66:07
inet addr:10.0.0.1 Bcast:0.0.0.0 Mask:255.255.255.0
UP BROADCAST RUNNING MASTER MULTICAST MTU:1500 Metric:1
RX packets:23 errors:0 dropped:0 overruns:0 frame:0
TX packets:25 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:2382 TX bytes:2568
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:65536 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:1
RX bytes:0 TX bytes:0
root@switch:~#
Issue has been fixed including some additional matter
Problem Description:
Ping is absent when interfaces are configured as L2 or L3 lag
OpenSwitch version:
OpenSwitch 0.4.0 (Build: appliance-ops-0.4.0-master-20161007085740-dev) OpenSwitch 1.0.0 (Build: appliance-ops-1.0.0-rel/dill-20161003142541-dev)
Test Topology:
Steps to reproduce the problem:
Check adjacency via
show lacp interfaces
on DUT2:Ping is absent
LAG_config.txt