[H-GEN] can't get IP forwarding/NAT working on new install

Michael Anthon michael at anthon.net
Tue Jun 6 07:10:23 EDT 2006


>
> Network Destination        Netmask      Gateway       Interface Metric
>            0.0.0.0  255.255.255.255  192.168.0.1     192.168.0.3      1
>

Certainly looks dodgy... this is mine

Network Destination        Netmask          Gateway       Interface  Metric
          0.0.0.0          0.0.0.0     192.168.10.1   192.168.10.99       20


Was that something set manually or via dhcp?  Try this command "ipconfig
/all", the should print out more info about the netwrok setting include dhcp
info if it is available.

WRT the other comments....

> > 192.168.1.1interface so it will try to send it via ppp0.
>
> The router is set up with masquerading and that is working.
>
> I believe the problem is with the dapper machine, since I can't ping it's
> external (eth0) interface from my internal network although I can ping
> it's
> internal (eth1) interface.


I'm confused, which machine is doing the masq?  The ADSL router or the
Ubuntu box?  If it's the router then I think my comment is correct still.
I'd certainly be trying to determine the internal ping issue first though.

Oooohh.. just checked my Kubuntu system...

bash> cat /proc/sys/net/ipv4/ip_forward
0

If memory serves me correctly, you need that set to 1 to make any sort of
network routing between interfaces functional.  Be worth checking that
directly rather than just looking the sysctl setup.  Also, is it a custom or
stock kernel... if it's custom, did you enable the options for that ?

Cheers,
Michael
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.humbug.org.au/pipermail/general/attachments/20060606/823e59f4/attachment.html>


More information about the General mailing list