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



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.

.



Relevant Pages

  • Configuring MicroVAX 3100 Ethernet (Stupid Network-Hardware Questions)
    ... all of the switches at are gigibit ... settings for "Speed and Duplex" on the network cards should be set to ... What are these transceiver settings and how should they be set (mostly ... Why do I even need transceivers? ...
    (comp.os.vms)
  • Re: Switch (hardware) issue - somewhat OT
    ... Is this likely to be one or both switches faulty and needing ... > Try replacing it with an old hub to see if the problem goes away. ... or maybe it doesn't like the network cards the other ... two switches not liking one another any more - all the machines on a ...
    (uk.comp.os.linux)
  • Which device is which?
    ... If I have several devices of a particular kind (e.g., network cards), how do ... I tell which name/number Red Hat Linux 9 assigns to which device? ... card is eth0 and the bottom-most one is eth2. ...
    (comp.os.linux.networking)
  • DHCP on multi homed host!
    ... Just had a question on multi homed host. ... I want to have two network cards and two IPs. ... send the line "unsubscribe linux-kernel" in ...
    (Linux-Kernel)
  • Re: Bridging connections
    ... Computer with Windows XP Pro that has two Network cards configured with IPs ... that are Not on the same Subnet can be Bridged. ... so they should be able to bridge. ...
    (microsoft.public.windowsxp.network_web)