Linux - Networking This 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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
|
12-19-2007, 05:02 PM
|
#1
|
Member
Registered: Nov 2003
Location: Huntsville, AL
Distribution: RHEL, Solaris, OSX, SuSE
Posts: 419
Rep:
|
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.
|
|
|
12-19-2007, 05:40 PM
|
#2
|
Member
Registered: Nov 2007
Location: Carson City, NV USA
Distribution: Various, but always Debian based
Posts: 70
Rep:
|
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
|
|
|
12-19-2007, 09:34 PM
|
#3
|
Member
Registered: Nov 2003
Location: Huntsville, AL
Distribution: RHEL, Solaris, OSX, SuSE
Posts: 419
Original Poster
Rep:
|
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.
|
|
|
All times are GMT -5. The time now is 11:02 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|