Created
October 23, 2025 09:16
-
-
Save Alex4386/ccd2934be012a91737b74dd9681fc0f1 to your computer and use it in GitHub Desktop.
Fix the different NIC responding to other NIC's network if both of them are on the same subnet
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| net.ipv4.conf.all.arp_ignore=1 | |
| net.ipv4.conf.all.arp_announce=2 | |
| net.ipv4.conf.all.rp_filter=2 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
curl https://gist.githubusercontent.com/Alex4386/ccd2934be012a91737b74dd9681fc0f1/raw/99-sysctl-same-lan-fix-arp.conf | sudo tee /etc/sysctl/99-sysctl-same-lan-fix-arp.conf