Skip to content
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

Improve bridge tests #24

Open
ffainelli opened this issue Jan 3, 2018 · 1 comment
Open

Improve bridge tests #24

ffainelli opened this issue Jan 3, 2018 · 1 comment

Comments

@ffainelli
Copy link
Contributor

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)

@ffainelli
Copy link
Contributor Author

First item is now resolved with a74fb19

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant