CentOS 7/8 多網卡單路由無法連線問題
在CentOS 7/8之下, 多網卡,多IP多埠會影響只能用一個IP正常上網,主因為rp_filter影響。 此時使用指令 $ sysctl -w net.ipv4.conf.all.rp_filter=2 或是編輯 /etc/sysctl.conf 編輯 /usr/lib/sysctl.d/50-default.conf $ sysctl -p References https://www.kernel.org/doc/html/latest/networking/ip-sysctl.html https://forums.centos.org/viewtopic.php?t=54394 https://access.redhat.com/solutions/53031