Re: LAN to Internet gateway problem
On Mon, 25 Feb 2002 17:36:31 +0100, Stephan Hachinger wrote:
>I'm trying to configure one of my machines as a router to the
>internet, so that I can access the internet from my LAN. My second
>computer in my lan is 192.168.90.5 (pentiumdioxid), this machine I
>want to configure as router is 192.168.90.95 (stephan). Stephan has a
>second network card inside (192.168.37.95) and connects to the
Shouldn't this card (eth1?) have a WAN address rather than a reserved
block address? If your DSL ISP assigns dynamic addresses,
/etc/network/interfaces should probably contain:
iface eth1 inet dhcp
As I understand it, if you have
iface eth1 inet static
then the internet (WAN) cannot see your address as it is reserved for
>internet over this card and dsl (pppoE). Now, this is what I've
>-Modifying the route table on pentiumdioxid (see attached route
>output)-Installing dnrd, a dns forwarder, on stephan (dns resulution
>seems to work without problems now)-setting ip_forward to "yes" in
>/etc/network/options on stephan
>I've also attached hosts.allow and hosts.deny.
Due to acute attacks of paranoia, I am unable to open your
non-plain-text attachments. Your default gateway in pentiumdioxid's
route should be 192.168.90.95.
At this point, my hardware router/switch/gateway/firewall takes over and
I can add nothing.
>The problem is, when I try to ping www.debian.org from pentiumdioxid,
>pentiumdioxid gets the ip adress of debian.org (188.8.131.52) but
>it doesn't get any packages back.
>I'd be very glad if anyoune can help me.
>P.S.: Into which file can I put the routing table modifications so
>that the modified routing table is automatically loadad at startup?
Yes I fear I am living beyond my mental means--Nash