Skip to content

Reverse path filtering must be globally disabled #14

@yoelcaspersen

Description

@yoelcaspersen

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions