[CentOS] Configuring Multiple Gateways
Matthew Martz
mdmartz at gflug.net
Wed Nov 22 21:27:37 UTC 2006
On Wed, November 22, 2006 1:42 pm, Matthew Martz wrote:
> I'm in need of installing two NICs in a machine that are connected to 2
> different public networks and I need both IP addresses accessible from the
> outside. The IPs are part of two completely different subnets.
>
> For example:
> eth0
> IP - 10.10.10.2/30
> GW - 10.10.10.1
>
> eth1
> IP - 20.20.20.6/30
> GW - 20.20.20.5
>
> How can I configure 2 gateways on this server?
I should probably also mention that I want traffic that comes in over eth0
to go out over eth0 and traffic that comes in on eth1 to go out on eth1.
--
Matthew Martz
CentOS Mirror Admin
mdmartz at gflug.net
More information about the CentOS
mailing list