though not a linux distro but in openbsd, just use:

route add default 192.168.1.1
route add -mpath default 192.168.2.1
route add -mpath default <3rd gateway (if any)>
...and so on and so forth

you can specify as multiple gateway as you want.

> 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
>


_________________________________________________
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