routing..

hai all,
      i have a system with 2 NIC, both are in the same network.
(192.168.2.4, 192.168.2.68) when i issue route command,
it shows
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.201     0.0.0.0     UG   0      0        0 eth0

why there is 2 entries for eth1?  

my ifcfg-eth1 looks like this,

DEVICE='eth1'
NETMASK='255.255.255.0'
IPADDR='192.168.2.4'
GATEWAY='192.168.2.201'
BROADCAST='192.168.2.255'
ONBOOT='yes'

my ifcfg-eth0 looks like this,~
DEVICE=eth0'
NETMASK='255.255.255.0'
IPADDR='192.168.2.68'
GATEWAY='192.168.2.201'
NETWORK=192.168.2.0
BROADCAST='192.168.2.255'
ONBOOT='yes'


umamaheswariAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

liormmmCommented:
I think it's because they are on the same subnet. Maybe if you changed one of the IPs to 192.168.3.201 for example (make it be on a different network), route will show you different networks on different devices.

HIH.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
mbarbosCommented:
That's because you have to NICs in the same network, which usually doesn't make much sense, (unless it's a special case :-). But what distribution are you using (and what kernel) since the routing table shouldn't have duplicate entries
0
umamaheswariAuthor Commented:
i am using redhat linux kernel 2.4.18-3
0
CleanupPingCommented:
umamaheswari:
This old question needs to be finalized -- accept an answer, split points, or get a refund.  For information on your options, please click here-> http:/help/closing.jsp#1 
EXPERTS:
Post your closing recommendations!  No comment means you don't care.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Linux Networking

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.