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

[BUG] netlab capture does not work with vrnetlab containers #1380

Closed
ipspace opened this issue Oct 16, 2024 · 0 comments
Closed

[BUG] netlab capture does not work with vrnetlab containers #1380

ipspace opened this issue Oct 16, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@ipspace
Copy link
Owner

ipspace commented Oct 16, 2024

The vrnetlab containers do not use the device interface names in the container network namespace. The container network namespace has the traditional ethx devices that are then mapped into the VM interfaces.

netlab capture checks the specified interface name, so you cannot specify ethx as the capture interface name, and tcpdump fails if you specify (for example) GigabitEthernet2 as the interface name.

Expected behavior

netlab capture has to treat the vrnetlab containers differently. It should recognize a vrnetlab container based on its container image name, allow ethx names (as in "the user knows what they're doing") or map the specified interface name into ethx based on interface ifindex.

@ipspace ipspace added the bug Something isn't working label Oct 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant