LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 04-04-2014, 01:47 AM   #1
pcCoder
LQ Newbie
 
Registered: Apr 2014
Posts: 24

Rep: Reputation: Disabled
Problem getting multiple NICs working


System: Debian Wheezy
Kernel: 3.13 (from Debian Backports)
Motherboard NIC: Realtek 8138 driver
Addon card NIC: Syba SD-PEX24033 Realtek 8111E (Uses the 8138 driver)

The addon card's interface comes up, and I seem to receive traffic in wireshark, but I notice that traffic never seems to get out. The interface shows received frames with few to no errors, but very few received transmitted with very high error. This is the case on both ports. I've tried the drivers that come with Debian, as well as the manufacture drivers from the website. Is this likely a driver problem or a hardware problem? I'm about to give up and RMA

ifconfig eth1
Code:
eth1      Link encap:Ethernet  HWaddr 00:13:3b:0e:8d:7d  
          inet addr:192.168.2.20  Bcast:0.0.0.0  Mask:255.255.255.0
          inet6 addr: fe80::213:3bff:fe0e:8d7d/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:31 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:399 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:2465 (2.4 KiB)  TX bytes:0 (0.0 B)
          Interrupt:76 Base address:0x4000
 
Old 04-04-2014, 07:13 AM   #2
allend
LQ 5k Club
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware64-15.0
Posts: 6,488

Rep: Reputation: 2809Reputation: 2809Reputation: 2809Reputation: 2809Reputation: 2809Reputation: 2809Reputation: 2809Reputation: 2809Reputation: 2809Reputation: 2809Reputation: 2809
Quote:
inet addr:192.168.2.20 Bcast:0.0.0.0 Mask:255.255.255.0
That broadcast address is unusual - 192.168.2.255 would be usual. I mention this because it suggests you are doing a manual configuration.
Are your outgoing packets being routed to a default gateway? Have a look at the output of 'route'.
 
Old 04-04-2014, 10:55 AM   #3
pcCoder
LQ Newbie
 
Registered: Apr 2014
Posts: 24

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by allend View Post
That broadcast address is unusual - 192.168.2.255 would be usual. I mention this because it suggests you are doing a manual configuration.
Are your outgoing packets being routed to a default gateway? Have a look at the output of 'route'.
I've checked several things so I probably posted the output of a time I didn't give it a correct address with prefix. I use the 'ip addr' and 'ip link' commands to bring it up. Here is my latest:

Code:
eth1      Link encap:Ethernet  HWaddr 00:13:3b:0e:8d:7d  
          inet addr:192.168.2.100  Bcast:192.168.2.255  Mask:255.255.255.0
          inet6 addr: fe80::213:3bff:fe0e:8d7d/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:362 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:500 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:31698 (30.9 KiB)  TX bytes:0 (0.0 B)
          Interrupt:76 Base address:0xe000
To test it out, I've hooked both my onboard NIC and a port of the addon card to a switch, ensure they are in the same VLAN, and clear the switch mac address table. I set their addresses to two different networks and then ping a dummy host on each network. When I ping a host on the network of the onboard NIC "ping -I eth0 192.168.1.199" Wireshark shows traffic on both interfaces, so the ARP is going out eth0 and back in eth1. When I "ping -I eth1 192.168.2.199", Wireshark only shows traffic on the eth1 interface going out, but not on the eth0 interface. This seems to suggest that wireshark is capturing the outbound packets before it hits the hardware, but then the hardware drops the packets and so it doesn't get broadcast through the switch and back into eth0. This is also what the output shows, 0 sent packets, 500 dropped sent packets. I've tested out known good cables and ports on the switch.

Edit: I don't have a default gateway configured right now. I'm just using it for local traffic. Here is 'ip route show':

Code:
192.168.1.0/24 dev eth0  proto kernel  scope link  src 192.168.1.100 
192.168.2.0/24 dev eth1  proto kernel  scope link  src 192.168.2.100

Last edited by pcCoder; 04-04-2014 at 10:59 AM.
 
Old 04-04-2014, 12:00 PM   #4
allend
LQ 5k Club
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware64-15.0
Posts: 6,488

Rep: Reputation: 2809Reputation: 2809Reputation: 2809Reputation: 2809Reputation: 2809Reputation: 2809Reputation: 2809Reputation: 2809Reputation: 2809Reputation: 2809Reputation: 2809
My apologies to you. I have fallen into the classic LQ trap of teaching my grandmother to suck eggs based on a profile with a low post count.
Digging a bit deeper, there are reports of the Realtek 8111E being problematic. Perhaps try the Realtek driver. http://www.realtek.com/downloads/dow...etDown=false#2

[Edit]My bad - Just reread the initial post and saw that you have already tried that.[/Edit]

Last edited by allend; 04-05-2014 at 07:37 AM.
 
Old 04-05-2014, 12:16 PM   #5
pcCoder
LQ Newbie
 
Registered: Apr 2014
Posts: 24

Original Poster
Rep: Reputation: Disabled
I downloaded and installed the 8.0.38 driver on that page but still have the same problem. I booted into kernel 3.2 to see if it would work and still get the same problem. Another purchaser review mentions that it works perfectly fine in Debian Wheezy, so I'm assuming it is just a bad card. I'm probably going to return it and just get an external USB3 adapter or so since I only planned on using it for some hobbies and practice labs.
 
Old 04-05-2014, 04:42 PM   #6
jefro
Moderator
 
Registered: Mar 2008
Posts: 22,237

Rep: Reputation: 3654Reputation: 3654Reputation: 3654Reputation: 3654Reputation: 3654Reputation: 3654Reputation: 3654Reputation: 3654Reputation: 3654Reputation: 3654Reputation: 3654
I'd consider network cables too and any other associated device in path.

Do a loopback and see what happens maybe.
 
  


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
Suse 10.1 multiple NICS problem deep_jyotsingh Linux - Hardware 1 11-20-2006 08:06 AM
Running bind off of multiple NICs (aka another multi-nic problem) vrillusions Linux - Networking 1 02-21-2006 06:54 PM
Problem with multiple NICs luky2k Linux - Networking 4 11-21-2003 11:24 AM
Multiple NICs Ping problem xblade Linux - Networking 3 07-01-2003 09:10 PM
Multiple NICS Problem sam0010 Linux - General 3 06-27-2003 11:10 PM

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

All times are GMT -5. The time now is 07:49 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