Linux martian source error message

If you get below message on the console, when you try to get access server/app (192.168.77.6). Especially, from different network ( in this cse 192.168.88.x/24)

 

June 23 11:45:33 xxxx kernel: martian source 192.168.77.6 from 192.168.88.104, on dev eth0
June 23 11:45:33 xxxx kernel: ll header: xx.xx.xx.xx.xx:00:78:0a:6f:09:a1:08:33

 

It might be default gateway is missing on your destination server( in this case, 192.168.77.6)

Try ‘route’ or ‘ifconfig’ to see if default gw is missing.

If so, add it " route add default gw 192.168.77.1 eth0 ; in this case, 192.168.77.1, but default-gw can be different

Good luck

Leave a Reply