Hello Jay,

This is covered in the LARTC and there has been a recent article in debian-administration detailing it again under debian:

http://www.debian-administration.org/articles/377

You basically have two gateways because of two uplinks wherein both act as one default gateway via load balancing.


-Paul Patrick C. Prantilla

Jay Jesus D. Amorin wrote:
hi,

is it posible to have 2 default gateway? like my eth0 gateway is set to 192.168.1.1 and my eth1 gateway is set to 192.168.2.1.

here's my recent configuration;
btw im using gentoo linux and ip aliasing.

iface_eth0="192.168.0.2 netmask 255.255.255.0 broadcast 192.168.0.255"
gateway="eth0/192.168.0.1"

alias_eth0=( "192.168.0.2" )
broadcast_eth0=( "192.168.0.255" )
netmask_eth0=( "255.255.255.0" )


iface_eth1="192.168.1.2 netmask 255.255.255.0 broadcast 192.168.1.255"
gateway="eth1/192.168.1.1"

alias_eth1=( "192.168.1.2" )
broadcast_eth1=( "192.168.1.255" )
netmask_eth1=( "255.255.255.0" )


any suggestions?

how do u do it on other linux distro?



thanks,
--jay--

_________________________________________________
Philippine Linux Users' Group (PLUG) Mailing List
[email protected] (#PLUG @ irc.free.net.ph)
Read the Guidelines: http://linux.org.ph/lists
Searchable Archives: http://archives.free.net.ph

_________________________________________________
Philippine Linux Users' Group (PLUG) Mailing List
[email protected] (#PLUG @ irc.free.net.ph)
Read the Guidelines: http://linux.org.ph/lists
Searchable Archives: http://archives.free.net.ph

Reply via email to