-
Notifications
You must be signed in to change notification settings - Fork 388
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
Enhance Traceflow to Support Secondary Interface #6974
Comments
Any idea on how this could be implemented? |
Although traceflow could continue to exhibit default functionality using default settings. IMO It could be implemented similar to primary ovs bridge, We could add options to provide bridge name, pod interface name and secondary interface name on the host ( SRIOV case would have to be excluded ? ) Although We will have to keep traceflow limited to connectivity checks only as it needs secondary bridge to be available and secondary interface on node must be attached to the secondary bridge, as righty pointed there is no feature support( like network policies etc) than connectivity to pod via secondary network. Largely it would be used to support network connectivity checks only ! On Pod
On Node
Secondary bridge
|
Describe the problem/challenge you have
Currently, Antrea's Traceflow feature allows users to trace network packets originating from a Pod by specifying the Pod name. However, the moment a Pod name is provided, Traceflow automatically selects the Pod IP, which is always assigned to the primary interface (eth0). As a result, there is no option to specify or trace packets originating from a secondary interface attached to the same Pod.
Perform a traceflow operation with pod which is also having a secondary interface
antctl traceflow -S sample-pod-1 -D 216.58.196.174
Currently traceflow uses pod ip ( primary interface ip ) as src ip
Describe the solution you'd like
Modify the antctl traceflow command to include an optional --interface flag
antctl traceflow -S sample-pod-1 --interface eth1 -D 216.58.196.174
Anything else you would like to add?
The text was updated successfully, but these errors were encountered: