On Mon, 14 Apr 1997, Benedikt Eric Heinen wrote:

> The new setup should look like:
> 
>       ISP             My systems
> 
>       lisa.thenet.ch  icemark.thenet.ch       firefranc.thenet.ch
>                  <--- ppp0 --->          <--- eth0 --->
>       193.135.252.75  193.135.252.47          193.135.252.179

Assuming you in reality have more than 1 IP address being routed to you,
it's easy.  You can't have the ppp0 and eth0 interfaces on icemark use the
same IP.

However, if you isp is willing to route you a /30, you'll be cool.  Here's
how you should be set up (assuming your ISP is sending you
193.135.252.177/30 aka 193.135.252.177 - .180, and the IP addr of your
ppp0 is 193.135.252.47):

icemark:
ifconfig eth0 193.135.252.178 broadcast 193.135.252.180 netmask 255.255.255.252
route add -net 193.135.252.0 netmask 255.255.255.252
now bring up your ppp0 and set it to be the default route.  Make sure your
kernel on icemark has IP forward turned ON.

firefranc:
ifconfig eth0 193.135.252.179 broadcast 193.135.252.180 netmask 255.255.255.252
route add -net 193.135.252.0 netmask 255.255.255.252
route add default gw 193.135.252.178

If this is not the case, use a /24 from 192.168.0.0/16 for the ethernet
interfaces on the boxes and use IP_Masquerade...

Jason Costomiris                 | Finger for PGP 2.6.2 Public Key
[EMAIL PROTECTED]                 | "There is a fine line between idiocy
My employers like me, but not    | and genius.  We aim to erase that line"
enough to let me speak for them. |                      --Unknown

                        http://www.jasons.org/~jcostom

Reply via email to