解决 martian source

第一步:/etc/sysctl.conf 最后面添加:

net.ipv4.conf.default.log_martians = 0

net.ipv4.conf.all.log_martians = 0

 
sysctl -p
 
 
第二步:/etc/rc.d/rc.local 最后面添加:
echo 0 > /proc/sys/net/ipv4/conf/eth0/rp_filter
echo 0 > /proc/sys/net/ipv4/conf/eth1/rp_filter
echo 0 > /proc/sys/net/ipv4/conf/eth2/rp_filter