Re: How to set my Linux machine to have two network cards with two IPs



On Sun, 27 May 2007 02:02:58 -0700, keanewoon wrote:

[link failover]

Or any other alternatives ?

Try the 'bonding' driver:
http://linux-net.osdl.org/index.php/Bonding

And use an interface alias if you still need the second IP adress, e.g.:
ifconfig bond0:1 <ipadress> ...

--
-Menno.

.



Relevant Pages

  • ip addr add vs. interface alias
    ... Just wondering what the differences between using "ip addr add ..." ... and defining an interface alias with "ifconfig eth0:0 ..." ...
    (comp.os.linux.networking)
  • Getting eth0 ip address
    ... Can anyone tell me howto read the external ip adress of i.e. eth0? ... And no I don't want to use ifconfig for it. ...
    (comp.os.linux.development.apps)