[plug] Still not able to route to adsl

Matt Kemner zombie at penguincare.com.au
Sat May 1 19:18:11 WST 2004


On Sat, 1 May 2004, quoth bob:

> Ok, some success ! :). I can ping 192.168.1/24 from 192.168.0/24 (but still
> can't see out when I set the ADSL as the default route)

It's a good start :)

> This is now sort of behaving like it can't resolve IPs outside the LAN (once
> I change the default route to gw via 192.168.1.1). Some thing I should
> mention is that I'm running a DNS on the gateway. Is there any config-fu I
> should know ?

Can you ping IPs? That will tell you if it's a DNS issue or something
else.

eg try pinging 202.72.177.62 (spark.plug.linux.org.au) from a .0.x host

It may also be worth running "tcpdump -lnfi eth1 icmp" on your gateway to
check the packets are going where they should. The same for eth0 and ppp0
may help too, if the packets aren't going where you expect :)

> Interesting... although I can ping 192.168.1.1  from 192.168.0/24 I can't
> access the web config.

That may be a security feature on the router - only allow access to the
config from "local" hosts. "It's a feature, not a bug!" :)

> 'Sok. :). I'd still like to know how to definitively check for
> masquerading/SNAT. Would doing both routing and SNAT be bad?

iptables -t nat -vnxL
look for -j SNAT or -j MASQUERADE

Regards,

 - Matt





More information about the plug mailing list