Swapping cables to eth0 & eth1 on the same machine still works. Why?
Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Swapping cables to eth0 & eth1 on the same machine still works. Why?
I seem to have a problem in my Redhat 7.1 network. I have 2 linux machines with 2 network cards of the same kind configured into each machine.
With the cables connected from eth0 of machine1 to eth0 of machine2, eth1 of machine1 to eth1 of machine2, I can perform ping to each other(naturally of couse).
However, if I connect eth0 of machine1 to eth1 of machine2, eth1 of machine1 to eth0 of machine2, I can STILL PERFORM ping to each other. This might seem like a good feature because there is no need to worry about connecting the wrong cable to the wrong card. But I have noticed that if one link is physically down, the other link would be down too even though it is still connected. With the same setup except one machine is now configured into Windows, I could not get both the machine to ping each other when the cables are connected wrongly.
If seems like it only occur when there are two linux machine connected to each other using dual ethernet would have this problem. Anyone encounter the same situation as me and any solution to disable this "feature" or any explanation?
Thanks!
p.s. I have just tried using a different type of network card and the problem still exist. The initial network cards that I was using is a 100baseFx(PCnet32 drivers) whereas the other network card that I am using is 100baseTx (EEpro100 drivers).
Maybe, depending on your exact setup, ip addresses, routing tabels, dns servers and gateway configuration you _might_ have a problem,
but you gave absolutly no info about these importand "details"
Opps, sorry, cos I was expecting some confirmation if anyone experience the same problem as me and any answer to it? I tried looking up the faq and couldn't figure out why it is happening. Are you able to point out to me which section is it documented in?
Nevertheless, here are the information which I can provide...
Running ifconfig,
eth0 Link encap:Ethernet HWaddr 00:C0:F2:00:C5:B4
inet addr:148.88.88.208 Bcast:148.88.255.255 Mask:255.255.0.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:261 dropped:0 overruns:0 carrier:261
collisions:0 txqueuelen:100
Interrupt:15 Base address:0xc800
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.