router: ifconfig: disable linux arp proxy behavior by default
By default, Linux will respond to ARP requests that belong to other interfaces. Normally this isn't a problem, but it causes issues since my WAN and LAN20 are technically bridged.
This commit is contained in:
parent
02bab65de8
commit
49278204a4
@ -46,6 +46,12 @@ let
|
|||||||
};
|
};
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
|
# By default, Linux will respond to ARP requests that belong to other interfaces.
|
||||||
|
# Normally this isn't a problem, but it causes issues
|
||||||
|
# since my WAN and LAN20 are technically bridged.
|
||||||
|
# https://networkengineering.stackexchange.com/questions/83071/why-linux-answers-arp-requests-for-ips-that-belong-to-different-network-interfac
|
||||||
|
boot.kernel.sysctl."net.ipv4.conf.default.arp_filter" = 1;
|
||||||
|
|
||||||
# It is impossible to do multiple prefix requests with networkd,
|
# It is impossible to do multiple prefix requests with networkd,
|
||||||
# so I use dhcpcd for this
|
# so I use dhcpcd for this
|
||||||
# https://github.com/systemd/systemd/issues/22571
|
# https://github.com/systemd/systemd/issues/22571
|
||||||
|
Loading…
x
Reference in New Issue
Block a user