LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 03-10-2014, 08:46 AM   #1
answerme
Member
 
Registered: Apr 2008
Posts: 97

Rep: Reputation: 24
simultaneously 2 Ethernet ports not working


Hi All
I am having fedora laptop & in that I am having two ethernet ports. These 2 ethernet ports (eth0 & eth1) are connect two different host machine's (with same class of IP's ,let us suppose eth0 11.1.29.60, eth1 11.1.29.70, HOSTA 11.1.29.1 ,HOSTB 11.1.29.2),

ETH0 HOSTA are physically connected to each other
ETH1 & HOSTB are physically connected to each other

But when I ping with ETH0 & HOSTA its pinging ,but surprisingly ETH1 & HOSTB is also pinging which does not have physical connectivity
whereas ETH1 & HOSTB are not pinging to each other .I though it was laptop problem but when I did with windows its working fine .

One more observation if I gave different class let us suppose eth0 10.1.1.10, eth1 11.1.29.70, HOSTA 10.1.1.100 ,HOSTB 11.1.29.2
both the ports are working perfectly . I wonder why it does not works with same class

Last edited by answerme; 03-10-2014 at 08:47 AM.
 
Old 03-10-2014, 10:40 AM   #2
Ser Olmy
Senior Member
 
Registered: Jan 2012
Distribution: Slackware
Posts: 3,348

Rep: Reputation: Disabled
Quote:
Originally Posted by answerme View Post
But when I ping with ETH0 & HOSTA its pinging ,but surprisingly ETH1 & HOSTB is also pinging which does not have physical connectivity
whereas ETH1 & HOSTB are not pinging to each other .
That sentence makes no sense. It sounds like you simultaneously can and cannot ping HOSTB, even with the cable disconnected. That sounds like something out of Hitchhiker's Guide to the Galaxy.

I'm going to assume this is what you actually mean: That you've set up two physically separate networks using the same IP network, and you're having connection issues. Is that correct? If so, that's to be expected.

Imagine being confronted with two doors, both carrying a sign saying "exit". One leads to the parking lot, the other to the back yard. You're told to go "outside" to meet someone. You pick a door at random since they both seem to lead to the same place, but when you go outside, that someone isn't there. But how could you have known that the other door was the correct choice?

You've told the computer that a certain IP network can be reached via two different NICs, but that isn't actually true, is it? The NICs do not lead to the same network, but to two different networks using the same address range. Whether or not such a scenario will work is anybody's guess, as different OSes may handle the situation differently.

You simply need to use different IP networks for different physical networks. If you really want these computers (HOSTA and HOSTB) to share the same network infrastructure, create a bridge between eth0 and eth1.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Ethernet internet and wireless adhoc printer connections simultaneously RVF16 Linux - Networking 4 11-18-2011 02:25 AM
Two ethernet don't work simultaneously ilp Linux - Networking 9 11-14-2007 11:39 AM
Ethernet ports not working on new system aaronvegh Linux - Networking 8 06-30-2006 07:18 AM
Ethernet and Wireless simultaneously? CelloJake Linux - Wireless Networking 2 08-18-2004 04:56 PM
Getting glidepoint and mouse working simultaneously cozye Slackware 5 11-24-2003 09:13 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 06:11 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration