Skip to content

Feature/virtual iFaces#20

Merged
integrii merged 19 commits into
masterfrom
feature/virtualIFs
Mar 30, 2021
Merged

Feature/virtual iFaces#20
integrii merged 19 commits into
masterfrom
feature/virtualIFs

Conversation

@abgordon

@abgordon abgordon commented Aug 20, 2020

Copy link
Copy Markdown
Collaborator

This PR enables jumbo frames (MTU of 9000) to Ravel.

Ravel previously added routes to a single local interface to advertise them. In the past, attempts were made to increase MTU on this interface to 9000. However, this eventually led to packet loss in production environments when the segment length of the incoming packet differed with the MTUs on local pods.

This led to the approach in this PR that leverages virtual interfaces. In this approach, there is a 1:1 parity between virtual interfaces and ip addresses for both IPV4 and IPV6. In this way, we can tune each interface to a desired MTU for incoming traffic. Ravel consumes the mtu and mtu6 fields of the configmap to determine what MTU to set on a local interface, if not 1500.

To implement this in a given environment, the pod interface must be set to 1500 as well. Within Comcast, this is implemented via a Kubernetes CNI plugin.

This MTU change does not affect the legacy ARP director mode. Jumbo frames will not be enabled there at the time of this change.

@integrii integrii merged commit 3687b92 into master Mar 30, 2021
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

Successfully merging this pull request may close these issues.

2 participants