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

[do-not-merge] backend/vxlan: Remove local broadcast route for network #569

Closed
wants to merge 1 commit into from

Conversation

aaronlevy
Copy link
Contributor

Fixes #533
Fixes #535

This change will remove the broadcast route added to the local route table when the vxlan interface is setup. By removing the route entry, the node will be able to properly route traffic meant for the host assigned the network address within the in flannel network (see issue/533 for more info).

While this may seem a bit heavy-handed - if flannel is restarted, the broadcast routes will not be re-created anyway.

/cc @tomdee @philips

@aaronlevy
Copy link
Contributor Author

/cc also @bison

@philips
Copy link
Contributor

philips commented Dec 10, 2016

Posted to netdev asking about why the Kernel does this: http://marc.info/?l=linux-netdev&m=148132848222491&w=2

@@ -28,6 +28,8 @@ import (
"github.com/coreos/flannel/pkg/ip"
)

const RTN_BROADCAST = 3
Copy link
Contributor

@steveej steveej Dec 12, 2016

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the syscall package defines this constant

@aaronlevy aaronlevy changed the title backend/vxlan: Remove local broadcast route for network [do-not-merge] backend/vxlan: Remove local broadcast route for network Dec 13, 2016
@aaronlevy
Copy link
Contributor Author

Issue this PR was trying to address was resolved by: #576

@aaronlevy aaronlevy closed this Dec 15, 2016
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.

4 participants