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



In article <1180256578.345257.44170@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>,
<keanewoon@xxxxxxxxx> wrote:
Dear all gurus out there,

I am newbie to Linux and networking.

I have a Red hat linux that used as a Database machine, oracle.

I have 2 network cards that I wish to set to 192.168.0.10 and
192.168.0.11 respectively, the default gw is 192.168.0.1. The
connection of the two IPs coming from 2 different switches (still from
the same router).

My purpose is that : if one of the switches is down, my connection
still up with the other side.

I know switch is hardly "down", but i wish to have full redundancy.

What I did is, I jus set the 2 network cards with the two IPs and I
switch off one of the switches, "poof" the whole network
down..........so, how can it be done ?

Or any other alternatives ?


Thanks.


Google bonding network interfaces...

You need to have one ip address that is on both switches and will move
from a primary to a seconday NIC.

Intel had it's own IANS software on the older Linux versions but is now
supporting standard bonding. On the 2.4 the Intel stuff was nice but
required at least one Intel NIC per bonded pair.

Bill

--
"When I think back on all the crap I learned in Vax school
It's a wonder I fixed anything at all." (to the tune of Kodachrome)
pechter-at-gmail.com
.



Relevant Pages

  • Network interrupts
    ... I am a newbie trying to bring up a board on MontaVista Linux. ... board has an Intel IOP321 processor with an ARM core. ... the interface was configured correctly. ... IntelPRO/1000 Network Driver - version 5.0.43 ...
    (comp.os.linux.embedded)
  • Re: How to set my Linux machine to have two network cards with two IPs
    ... I have a Red hat linux that used as a Database machine, ... if one of the switches is down, ... I jus set the 2 network cards with the two IPs and I ... switch infrastructure and I've never come across link aggregation working ...
    (comp.os.linux.networking)
  • Re: Big security/question
    ... > switches. ... We are part of a bigger network, ... Should I just forget Linux and buy some pretty ... A dedicated machine is always better. ...
    (comp.security.firewalls)
  • Re: Single domain two IP subnets
    ... hardware or any of the complexities of "network hardward ... I never criticize anyone's typing as long as the words can ... Cisco ISL VLANS are history. ... Newer Cisco switches don't even support ISL ...
    (microsoft.public.win2000.dns)
  • Re: new switching technologies
    ... mixed with stackable switches. ... i havent used these kit versions, but this is maybe the 5th or 6th iteration ... of a fix looking for a problem for L2 network resilience / load balancing. ... optimal one is what routing protocols were designed for and what they are ...
    (comp.dcom.lans.ethernet)