[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

RE: Seting a Gateway



I think what you need is to set up IP masq since 172.16.*.* IPs are
non-routable and will be dropped by the first router (at your ISP) that they
reach.  Here's an excellent IP masquerading resource page:

http://members.home.net/ipmasq/

Regards,

Marcin Pacyna


-----Original Message-----
From: Helber [mailto:helber@netnauta.com.br]
Sent: Monday, May 08, 2000 8:05 PM
To: debian-isp@lists.debian.org
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: