eth0 works great, eth1 not working
Ok, so eth0 is up and working great. eth1, however, comes up with a link light, however the packet counters in ifconfig remain at 0. Appears that eth1 isn't working. Here's my setup:
-Dell latitude CPi laptop with 2 PCMCIA network cards and no built-in ethernet. -Slackware v11 -eth0 is connected inside my router on my 192 network. Static address with good connectivity -eth1 is connected on the other side of my router in promiscuous mode in order to listen to the traffic coming into my network. Troubleshooting so far: I have switched the pcmcia cards between slots and regardless of which card is in eth0 or eth1, eth0 works and eth1 does not. I have also switched the card dongle between cards as well as the ethernet cabling between the cards. With any of the combinations eth0 works like a champ but eth1 does not, so I think I've ruled out hardware problems. At this point I think it's a configuration problem with the eth1 interface but I don't know where to start to diagnose the problem. Sure would appreciate any ideas from the group. Thanks. |
Quote:
|
Interface is indeed up. Shows 'up' on ifconfig. interface is also set for static, not dhcp,and the ip address also shows up on ifconfig. Everything I can see from ifconfig and the physical HW indicates that it's up, but it just doesn't see the traffic (of which there is a lot...verified with wireshark on seperate computer).
I can also successfully ping the address on eth1 from the console. Here is the output from ifconfig -a Code:
eth0 Link encap:Ethernet HWaddr 00:50:8B:59:A4:01 |
Some more troubleshooting...
I can ping the eth1 interface from the console. When I connect another laptop to the same hub (not switch) as the eth1 laptop I am unable to ping the eth1 interface, nor can the eth1 interface ping the other laptop (both addresses are on the same subnet (10.1.0.x). So I attached wireshark to the hub to see the traffic. When I initiate the ping from the laptop I see the arp request go on the line but there is no arp reply. So I removed the "noarp" setting from eth1. No change. Then I tried to ping the laptop from eth1. wireshark sees the arp request from eth1 and the arp reply from the laptop, however the eth1 interface sends out another arp request as if it never received the arp response from the laptop. So I checked the arp table on eth1 laptop. For the 10.1.0.x address the arp entry does not have a mac address. Rather under HWaddress it has (incomplete). I can flush the entries and try again but each time it comes back as (incomplete). Sounds to me like eth1 is not receiving any data from the network, but can send data out. This is the case regardless of the network card as I have swapped the two PCMCIA cards and eth1 (now on the other card) has the same problem. So the problem sticks with eth1, not the card. I hope that someone out there can offer some suggestions.... |
Looks like you have some strange problem. Not related to OS or Hardware. I suggest you to change the network cable and try it again. If possible try to connect machine back to back with cross cable and ping each other. If it's working, then put it back on the hub you have and check the same.
|
Are you sure that eth1 IP address 10.1.1.2 is correct?
Because in post #4 you mention 2 times the 10.1.0.x subnet. |
Good catch, bathory. In fact, I have been switching the IP address around as I troubleshoot, but to answer your question, the addresses are correct. The latest ones were 10.1.1 subnet.
Here's the latest. I think I've narrowed it down to some sort of configuration error, however I have no idea where to make the changes. The specific problem is that eth1 won't receive ANY packets, however it CAN transmit packets. I've verified this with both tcpdump and wireshark. My test setup follows: Both eth0 and eth1 on the same network - eth0 192.168.1.10 / eth1 192.168.1.11(Kaushalpatel1982, I also tried to ping each interface from the other interface (eth0 to eth1 and vice versa). Pinging each interface without specifying the outbound interface (no -I option) each responds successfully. BUT when I specify the outbound interface with the -I option to send packets from eth0 over the wire to eth1 I get the same destination not reachable error.) I downed eth0 and attempted the ping from eth1 just for grins and still saw no reply to eth1. As mentioned before I've swapped out the pcmcia card, dongle, cables, and switch ports and the problem remains with eth1, not with the hardware. Therefore my conclusion is that the problem lies in the configuration of eth1. Additionally, both cards use the same driver: xirc2ps_cs. Any hints on the files I can access to modify the eth1 configuration (slackware 11)? Sure would appreciate any hints as this is getting rather frustrating... Gene |
You can edit /etc/rc.d/rc.inet1.conf and configure eth1.
|
I think I've pretty much exhausted the options in /rc.d/eth1.conf. Do you think it would make a difference if the module was compiled INTO the kernel vice loaded during boot? I hesitate to recompile the kernel just to test this theory so some advice would be welcome. Thanks.
|
Hi,
No, I don't think that compiling the driver into kernel will help. What happens if you swap IPs instead of cards? I.e assign 192.168.1.10to eth1 and whatever IP to eth0 Also you can use mii-tool to play with eth1 settings |
Quote:
1) Bad driver or cards, that can't handle two cards at the same time. But then I have very little knowledge about the xirc2ps_cs driver. 2) I have seen this problem when running virtual machines that had somehow gotten the same MAC address on two machines. This causes some conflicts which causes the switch to send packets to the wrong machine. 3) Bad cables or a bad hub in your case. Sometimes these laptops with their PCMCIA cards cannot handle the voltage drops when connecting with low quality cables and hubs. Try connecting with high quality cables and to a real switch. |
bathory - I swapped IPs between the two interfaces and there was no change. eth0 still had a successful ping and eth1 did not. I've not heard of the mii tool so I'll check that out.
matpe - Thanks for the suggestions. Here are the results: 1. I'll look around for a different xirc2ps_cs driver. The one I'm using is the one that came with the distro. Maybe it's bad??? 2. Not running on a VM, but I verified that each card has a separate MAC address, both through ifconfig and by looking at packets with wireshark. 3. Switched out the cable with a short, high quality cable to a switched port on my wireless router. Unfortunately there was no change. I'll try the mii-tool and changing the driver. Hope I can get this working. |
I have the same problem ! and still have not find the solution
|
I have also facing the same problem on VM with two interfaces eth1, not responding, and same happen arp request shows incomplete entry, i verified the mac addresses but found no duplication/confilct, can any one got the solution yet of this problem ? Please suggest.
Thanks Muzi. |
I actually had a very similar problem on a computer with dual LAN ports (built in). It turned out that LAN2 in the BIOS had somehow been disabled. There were other issues that problem precipitated that but aren't relevant in your case I don't think. Is there an option in the BIOS to disable a PCMCIA slot? If so perhaps the one is disabled.
|
All times are GMT -5. The time now is 09:26 PM. |