netdsa/dsatest

Improve bridge tests

Opened this issue · 1 comments

The following tests would make sense to be done:

  • create a bridge interface on the target for each link (e.g: br0 for lan1, br1 for lan2 etc.) and assign it an IP address, e.g: 192.168.1x.2/24 and make sure the host can ping each bridge from each of its host link, we should make sure there is no cross talk from br0 received on br1 and others

  • create a global bridge: br0, add all target links, assign the bridge an IP address, then iterate over the host links and make sure we can ping the bridge IP address from each host link. The bridge will typically need to learn the host MAC addresses in that case, so we may have to way for a specific forwarding delay before attempting a successful ping (or send dummy packets)

First item is now resolved with a74fb19