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

Reverse path filtering must be globally disabled #14

Open
yoelcaspersen opened this issue Nov 11, 2021 · 1 comment
Open

Reverse path filtering must be globally disabled #14

yoelcaspersen opened this issue Nov 11, 2021 · 1 comment

Comments

@yoelcaspersen
Copy link
Contributor

To receive and forward a DHCP packet arriving on an unnumbered VLAN interface, reverse path filtering (RPF) must be globally disabled:

echo 0 > /proc/sys/net/ipv4/conf/all/rp_filter

Disabling RPF on individual interfaces doesn't work - the packet is dropped and shows up in the martian log.

If an IPv4 address is added on the VLAN interface, disabling RPF on that single VLAN interface works, and the packet is forwarded - but that doesn't help us, as VLAN interfaces must be unnumbered if we want multiple customers to share the same IPv4 subnet and default gateway address (which is necessary to save IPv4 space).

Disabling RPF globally doesn't seem right - please let me know if you have any better ideas.

@tohojo
Copy link
Member

tohojo commented Nov 12, 2021 via email

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

No branches or pull requests

2 participants