-
Notifications
You must be signed in to change notification settings - Fork 32
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
IVS seems to fail with multiple switches in Mininet #42
Comments
This seems to be a race condition during switch startup. It works reliably up to 16 switches but starts failing at 17. If I put a I noticed that the netlink messages the switch uses to find about new ports aren't arriving on the broken IVS instances. Raising the rx buffer size didn't help. I'll keep investigating. |
Using --innamespace is another workaround. |
* submodules/switchlight-common 2318ad4...6b1204b (4): > Merge into master from pull request floodlight#43: arpa: look for ARP flag in the packet-in metadata instead of the reason (floodlight/switchlight-common#43) > Merge into master from pull request floodlight#42: icmpa: support multiple pktin-reasons (floodlight/switchlight-common#42) > Add ARP Response Agent. > Merge into master from pull request floodlight#41: Update switchlight-common and fix module utests (floodlight/switchlight-common#41)
Update from public repository (https://github.com/bigswitch/ivs/pull/42)
* submodules/bigcode 3a17679...73f6383 (2): > Merge into master from pull request floodlight#42: add build_udp_header api signature (floodlight/bigcode#42) > Merge into master from pull request floodlight#39: Udp header api (floodlight/bigcode#39)
* submodules/infra ab2a04f...ed664b3 (1): > Merge into master from pull request floodlight#42: Fix AIM_BITMAP_ITER. (floodlight/infra#42)
* submodules/switchlight-common b1d2588...e585348 (3): > Merge into master from pull request floodlight#42: add queue priority for agents sending packets directly out a port (https://github.com/bigswitch/switchlight-common/pull/42) > Merge into master from pull request floodlight#41: arpa: add arp_vlan_reply table (https://github.com/bigswitch/switchlight-common/pull/41) > Merge into master from pull request floodlight#40: PAN-1348: pass icmp echo replies to the controller (https://github.com/bigswitch/switchlight-common/pull/40)
I accepted Rich Lane's pull request to integrate IVS support into Mininet, but I am having trouble getting IVS to work correctly with reasonable numbers of switches.
For example, with this configuration,
This is a topology consisting of a string of 20 switches, each of which has a single host connected to it.
I wait for all of the hosts to connect to the controller, but
pingall
still fails. It's puzzling since the control traffic looks OK - I'm seeing a PACKET_IN and a PACKET_OUT for the ARP request, but it doesn't seem to be reaching the destination hosts.If I use static ARP, then I see the PACKET_IN and PACKET_OUT (which is flooded because of the learning switch algorithm) for the ICMP request, but I think I am not seeing the reply, so it may not be reaching the destination host.
I am testing this on Ubuntu 12.04 with the
Linux ubuntu1 3.2.0-31-generic #50-Ubuntu SMP Fri Sep 7 16:16:45 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux
kernelWith smaller numbers of switches, it works fine:
Open vSwitch and the OpenFlow reference switch also work fine. (Note there is currently a race condition with
--pingall
since it can fail if all the switches don't connect - that's why I also ran the test manually and made sure that all of the switches had connected.)The text was updated successfully, but these errors were encountered: