Problem with Multiple network cards on the same subnet.

This is a discussion on Problem with Multiple network cards on the same subnet. within the Linux Networking forums, part of the Linux Forums category; I am having problems configuring two network cards that are on the same subnet. Here are my configuration files. [root ...


Go Back   Usenet Forums > Linux Forums > Linux Networking

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 12-29-2003
Chris Tellor
 
Posts: n/a
Default Problem with Multiple network cards on the same subnet.

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 Search this Thread
Search this Thread:

Advanced Search
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 Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT +1. The time now is 08:56 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0