Re: Seting a Gateway
Helber,
Your setup seems correct. Just two things to do.
1 On the Intranet, set up all machines' TCP/IP to use 172.16.0.10 as a
"gateway". For win9x machines, use the
"Network_Neighbourhood->Properties->TCP->Gateway". For Unix machines, add a
route, or edit /etc/defaultroute, or whatever.
2 On your Linux box, enable "IP Forwarding". You may need to recompile
the kernel, and in 2.1.late / 2.2, you also need to do a
echo 1 > /proc/net/some_place_which_I_don't_recall
But you are on the right track.
----- Original Message -----
From: Helber <helber@netnauta.com.br>
To: <debian-isp@lists.debian.org>
Sent: Tuesday, May 09, 2000 8:05 AM
Subject: Seting a Gateway
> Hi all,
>
> I´m having a hard time trying to understand routing or buildind agate
> between two networks
>
> I need that a machine with two lan interfaces eth0 and eth1, each one
> connected to a different net worked like a gateway, Conecting the nets.
>
> At eth0 I have an ip from internet and at eth1 I have an ip from intranet
> 172.16.0.10.
> From the internet I can access the server at eth0, and from the internet I
> can access the same server but now at eth1.
> What must I do to have access to the internet from a host in the intranet?
>
> The router table is as followed:
>
> Destination Router Genmask
> Flags MSS Windown irtt Iface
> 200.255.205.138 * 255.255.255.255 UH
> 0 0 0 eth0
> 172.16.0.10 * 255.255.255.255
UH
> 0 0 0 eth1
> 200.255.205.128 200.255.205.138 255.255.255.192 UG 0
> 0 0 eth0
> 200.255.205.128 * 255.255.255.192 U
> 0 0 0 eth0
> 172.16.0.0 172.16.0.10 255.255.255.192 UG
> 0 0 0 eth1
> 172.16.0.0 * 255.255.255.192
U
> 0 0 0 eth1
> 127.0.0.0 * 255.0.0.0
> U 0 0 0 lo
> default 0.0.0.0
> UG 0 0 0 eth0
>
>
> thanx for any advice.
>
>
> --
> To UNSUBSCRIBE, email to debian-isp-request@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact
listmaster@lists.debian.org
>
>
Reply to: