Networking Forums

Networking Forums > Computer Networking > Linux Networking > Problem with Multiple network cards on the same subnet.

Reply
Thread Tools Display Modes

Problem with Multiple network cards on the same subnet.

 
 
Chris Tellor
Guest
Posts: n/a

 
      12-29-2003, 05:16 AM
I am having problems configuring two network cards that are on the same
subnet. Here are my configuration files.

[root localhost sysconfig]# cat network
NETWORKING=yes
HOSTNAME=localhost.localdomain

[root localhost network-scripts]# cat ifcfg-eth0
DEVICE=eth0
BOOTPROTO=static
IPADDR=192.168.2.101
NETMASK=255.255.255.0
GATEWAY=192.168.2.1

[root localhost network-scripts]# cat ifcfg-eth1
DEVICE=eth1
BOOTPROTO=static
IPADDR=192.168.2.102
NETMASK=255.255.255.0
GATEWAY=192.168.2.1

When I run route, both routes are created on the eth1 interface.

[root localhost network-scripts]# route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use
Iface
192.168.2.0 * 255.255.255.0 U 0 0 0 eth1
192.168.2.0 * 255.255.255.0 U 0 0 0 eth1
127.0.0.0 * 255.0.0.0 U 0 0 0 lo
default 192.168.2.1 0.0.0.0 UG 0 0 0 eth0

I would expect a route to be added for each network card to the
192.168.2.0 network.

The problem I have is when one network connection is down, both links
stop working. I expect the routing table has something to do with this
problem. Can anyone tell me if this routing table was created
correctly, and if it was not, how to fix the problem?

The reason we are trying to configure two network cards is so we can
keep the network traffic from backups seperate from regular system use.
Is there a better way to solve this problem? We do not have multiple
subnets available to move one IP address.
 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Using Multiple network cards IshmaelDS Windows Networking 2 07-18-2008 03:01 PM
How to host multiple SSL websites using multiple network cards rou DPL Windows Networking 3 08-01-2007 05:32 PM
Multiple network cards on a single PC Simon Finnigan Home Networking 9 10-26-2005 03:30 PM
multiple network cards in one subnet - possible? Tomasz Chmielewski Linux Networking 15 08-25-2005 08:46 AM
configuring Multiple network cards Siddharth S Malu Linux Networking 2 11-27-2003 06:00 PM



1 2 3 4 5 6 7 8 9 10 11