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 12-19-2007, 05:02 PM   #1
mijohnst
Member
 
Registered: Nov 2003
Location: Huntsville, AL
Distribution: RHEL, Solaris, OSX, SuSE
Posts: 419

Rep: Reputation: 31
Bond problem


I have a server with two build-in NIC ports as well as a duel port NIC PCI card. I had took the two ports in the card and bound them together and it works great! So, I added another duel port NIC card in and added both its ports into my ifcfg-bind0 config. Now, it's really slow and I'm not sure why... It's kind of intermittent and the network seems to work but with lots of latency.

I'm wondering if when I installed the new board it moved the built-in NIC adapters to eth4 and eth5 which means I configured the bond with the wrong adapters. Is there a way to tell which alias (eth0, eth1, etc) is mapped to which physical port? As always, thanks again!

Last edited by mijohnst; 12-19-2007 at 05:03 PM.
 
Old 12-19-2007, 05:40 PM   #2
kzutter
Member
 
Registered: Nov 2007
Location: Carson City, NV USA
Distribution: Various, but always Debian based
Posts: 70

Rep: Reputation: 15
ifconfig will give you the hardware addresses (MAC) of each listed interface.

Code:
ken@u2:~$ sudo /sbin/ifconfig
eth0      Link encap:Ethernet  HWaddr 00:11:D8:14:87:C5
          inet addr:192.168.1.2  Bcast:192.168.1.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:3175959 errors:0 dropped:0 overruns:0 frame:0
          TX packets:5539015 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:454114067 (433.0 MiB)  TX bytes:3618655898 (3.3 GiB)
          Interrupt:177 Base address:0xc000
 
Old 12-19-2007, 09:34 PM   #3
mijohnst
Member
 
Registered: Nov 2003
Location: Huntsville, AL
Distribution: RHEL, Solaris, OSX, SuSE
Posts: 419

Original Poster
Rep: Reputation: 31
Yup... I looked at that, but how do you know which NIC has which MAC?

What I've kind of come up with (I could be wrong) is looking at the interrupt for each port... since I have two duel port NIC cards, I assume they have to have the same interrupt. So it looks like this for me:

eth0 irq 118
eth2 irq 118
eth3 irq 127
eth5 irq 127

I don't understand how installing a new card could divide the two built-in NIC cards to eth1 and eth4.

I should also add that when I look in the modprobe.conf file, all the cards show up using the same driver...So it looks like I have 6 identical cards even though two are build-in and the other four are on PCI cards.

Last edited by mijohnst; 12-19-2007 at 09:39 PM.
 
  


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
bond always in 10Half-Duplex? PhillipHuang Linux - Networking 11 07-31-2008 09:32 PM
eth channel bond issues bmeckle Linux - Networking 0 12-03-2007 01:43 PM
Breaking the gui bond!! inspiron_Droid Linux - General 2 03-26-2007 10:37 AM
LXer: New MA Governor Proposes New – and Smaller – IT Bond Bill LXer Syndicated Linux News 0 03-16-2007 07:31 AM
bond 3 NICs into 1 produces a lot of tcpdump Winanjaya Linux - Networking 1 03-15-2007 09:59 AM

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

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