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

Re: [cobalt-users] Second Ethernet Gateway



Hehehe... Sounds cool... but how do I do that?

The IP I am using is 24.56.7x.x with gateway 24.56.7x.x however the cobalt
ETH0 is on a completely different network.

Thanks,

Jason

----- Original Message -----
From: "Rick Ewart" <cobalt@xxxxxxxxx>
To: <cobalt-users@xxxxxxxxxxxxxxx>
Sent: Wednesday, July 03, 2002 7:27 PM
Subject: Re: [cobalt-users] Second Ethernet Gateway


> Jason wrote:
> > How can I add a gateway for the second Ethernet port?  it is connected
to
> a
> > different router and I need to make sure that packets go there....
>
> Well, I have mine working via a static route. There might be a different
> way, but this works for me. Assuming the LAN ip inside the colo box is
> 10.1.1.X, with the gateway on 10.1.1.1, and the remote address you are
> trying to reach through this connection is 192.168.1.X. You would put the
> following in a script that starts every time you boot....
>
>     /sbin/route add -net 192.168.1.0 netmask 255.255.255.0 gw 10.1.1.1
>
> You could add additional route commands to reach other networks that you
> want this Eth connection to use.
>
> Keep in mind that if you are using a deny all policy in your IP chains
> configuration, you might have to open the second eth port up before it
works
> right.
>
> HTH.
> Rick Ewart
>
>