-
Notifications
You must be signed in to change notification settings - Fork 93
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
direction decision using eni mac/ip not the vni alone #351
Comments
Mircea to send packet captures and diagrams as this could be a bug possibly. (All packets were being tagged...) Discussion from DASH Comm Meeting: Guohan: we use VNI + MAC address |
SAI config showing multiple ENIs each using a different VNI for inbound and outbound. taking it further beyond what DASH SAI allows bellow config is a valid VxLAN scenario that allows the reuse of the same VNI over multiple tunnels. vxlan RFC https://datatracker.ietf.org/doc/rfc7348/ RFC 7348 page 16, shows also 2 VMs using same VNI, now with the DPU acting as "a bump in the wire" it should be possible to have 2 tunnels using same VNI, it should be up to the user to make the decision if they want to keep the traffic under same VNI or change the VNI ID., use of same VNI inbound and outbound is not allowed in SAI, since direction lookup is based on VNI alone. { |
we have the ENI (that ENI has an ENI_IP, an ENI_MAC, and some tunnel IDs)
now this IP/MAC can be transported over vxlan, over nvgre, over ipsec or something else.
now if the packet has SRC_IP == ENI_IP and SCR_MAC == ENI_MAC and tunnel_id that is an outbound packet
now if the packet has DST_IP == ENI_IP and DST_MAC == ENI_MAC and tunnel_ids that is an inbound packet
i see a few advantages to this approach:
The text was updated successfully, but these errors were encountered: