Click to See Complete Forum and Search --> : Mandrake Linux 9.0 won't respond to ping-request


hbien
10-12-2002, 05:11 PM
I am running Mandrake 9.0 as a router for my internal LAN. Using iptables and shorewall, I have setup a firewall and enabled IP MASQ. However, for some strange reason, no matter what I try, I cannot ping the Mandrake box. I can receive ping-replies but my box will never respond. I have even tried stopping Shorewall (including shorewall clear) to make sure iptables is empty, and I cannot ping using my local address. Furthermore, I cannot ping localhost or 127.0.0.1

It's as if the kernel is not responding to the ping requests. There are no messages in the message logs (via dmesg). All I get are "timeout" errors when I try to ping either from outside the firewall, inside my lan, or even on the box itself.

Thanks for any help on this matter.

bascule
10-12-2002, 07:21 PM
You may need to add a loopback address on the box

ifconfig lo 127.0.0.1

route add -net 127.0.0.0 or 127.0.0.1

might just work, my printer couldn't connect to it's own box!!

lpd@localhost network unreachable

but that sorted it out. I haven't got much of an idea about networking, but that sounds to me like a similar sort of problem.
Remember to add it into

/etc/rc.d/rc.local

if it works :)

hbien
10-12-2002, 11:56 PM
Thanks for the tip, but I don't think that's the issue here. I can telnet/ssh localhost or 127.0.0.1 fine, it's just the kernel is not responding to ping requests. Has anyone else ever had this problem? BTW, forgot to mention, running Mandrake Linux 9.0 with the "secure" kernel.