LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 12-12-2016, 10:05 PM   #1
anctop
Member
 
Registered: Feb 2010
Posts: 99

Rep: Reputation: Disabled
eth0 & eth1 have same MAC address


Hi,

Recently we acquired a "Gigabyte X99-Ultra Gaming" mainboard.

The O.S. is Slackware64-14.2.

The mainboard has two NICs (Intel and Atheros), but they appear to have the same MAC address.

The BIOS shows only the MAC of the Intel chip, which matches that reported by the O.S.

HDT also detects two ethernet devices, but without MAC info.

The "dmesg" output reads :

Code:
> :
> :
> alx 0000:0b:00.0 eth0: Qualcomm Atheros AR816x/AR817x Ethernet [1c:1b:0d:09:34:d2]
> e1000: Intel(R) PRO/1000 Network Driver - version 7.3.21-k8-NAPI
> e1000: Copyright (c) 1999-2006 Intel Corporation.
> e1000e: Intel(R) PRO/1000 Network Driver - 3.2.6-k
> e1000e: Copyright(c) 1999 - 2015 Intel Corporation.
> e1000e 0000:00:19.0: Interrupt Throttling Rate (ints/sec) set to dynamic conservative mode
> e1000e 0000:00:19.0 0000:00:19.0 (uninitialized): registered PHC clock
> e1000e 0000:00:19.0 eth1: (PCI Express:2.5GT/s:Width x1) 1c:1b:0d:09:34:d2
> e1000e 0000:00:19.0 eth1: Intel(R) PRO/1000 Network Connection
> e1000e 0000:00:19.0 eth1: MAC: 11, PHY: 12, PBA No: FFFFFF-0FF
> :
> :
> alx 0000:0b:00.0 eth0: NIC Up: 1 Gbps Full
> e1000e: eth1 NIC Link is Up 1000 Mbps Full Duplex, Flow Control: None
> :
> :
Both interfaces are usable and working as usual, but they're reported to have the same MAC address "1c:1b:0d:09:34:d2".

Is this abnormality harmful ?
 
Old 12-13-2016, 12:20 AM   #2
c0wb0y
Member
 
Registered: Jan 2012
Location: Inside the oven
Distribution: Windows
Posts: 421

Rep: Reputation: 74
Don't worry about that. The real gospel is revealed here:
Code:
ip link
 
Old 12-13-2016, 02:30 AM   #3
anctop
Member
 
Registered: Feb 2010
Posts: 99

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by c0wb0y View Post
Don't worry about that. The real gospel is revealed here:
Code:
ip link
Thank you for your suggestion, but I'm sorry to report that there's no difference.
The output of "ip link" reads :

Code:
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue qlen 1
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast qlen 1000
    link/ether 1c:1b:0d:09:34:d2 brd ff:ff:ff:ff:ff:ff
3: eth1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast qlen 1000
    link/ether 1c:1b:0d:09:34:d2 brd ff:ff:ff:ff:ff:ff
 
Old 12-13-2016, 07:52 AM   #4
onebuck
Moderator
 
Registered: Jan 2005
Location: Central Florida 20 minutes from Disney World
Distribution: Slackware®
Posts: 13,925
Blog Entries: 44

Rep: Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159
Member response

Hi,

Delete the file; /etc/udev/rules.d/70-persistent-net.rules

Then reboot the system to regenerate that file. After the regeneration, what do you see for the network devices?

Hope this helps.
Have fun & enjoy!
 
Old 12-13-2016, 02:23 PM   #5
Fat_Elvis
Member
 
Registered: Oct 2016
Distribution: FreeDOS 1.2
Posts: 309

Rep: Reputation: 92
Eh... just a quick and dirty solution if you need different mac addresses in the least fiddly way: https://github.com/alobbs/macchanger

Not a permanent fix, obviously.
 
Old 12-13-2016, 02:37 PM   #6
c0wb0y
Member
 
Registered: Jan 2012
Location: Inside the oven
Distribution: Windows
Posts: 421

Rep: Reputation: 74
I don't think deleting the udev rules would make any difference. Gigabyte is doing some funky stuff at PHY level. So, it's like at chip-level there's an internal arp/rarp table.
 
Old 12-13-2016, 02:38 PM   #7
tramsch
Member
 
Registered: May 2014
Distribution: Gentoo, RHEL, Mint
Posts: 35

Rep: Reputation: 6
Hi anctop,

have you searched the BIOS for strange settings (somewhere deep :-) ) for the NICs?

But you should try the udev reset onebuck suggested first.
Is this a fresh installation?

br
Florian
 
Old 12-13-2016, 02:46 PM   #8
Fat_Elvis
Member
 
Registered: Oct 2016
Distribution: FreeDOS 1.2
Posts: 309

Rep: Reputation: 92
Quote:
Originally Posted by c0wb0y View Post
I don't think deleting the udev rules would make any difference. Gigabyte is doing some funky stuff at PHY level. So, it's like at chip-level there's an internal arp/rarp table.
You mean fiddling with the MAC address on one card would affect the both of them?

Not sure how MAC addresses are assigned.
 
Old 12-13-2016, 03:01 PM   #9
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,992

Rep: Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628
"Not sure how MAC addresses are assigned." It used to be that a chip on the board had been burned with the company id and then sequential number and could repeat in use. You could order them by number. After that the chip was programmable but various means. Then you can modify some by software.

Kind of looks like the ports are teamed by intel or the bios. Might be an intel program to check it.

Could be a goofy setup by board maker. Some oddity of uefi setting.

I'd at least boot to some other clean distro to double check.

Last edited by jefro; 12-13-2016 at 03:03 PM.
 
Old 12-13-2016, 05:54 PM   #10
anctop
Member
 
Registered: Feb 2010
Posts: 99

Original Poster
Rep: Reputation: Disabled
Thank you for all the advices.

I've traversed the whole BIOS menu tree to look for NIC-related stuff. The only finding has already been mentioned in my original post : "The BIOS shows only the MAC of the Intel chip, which matches that reported by the O.S."

Deleting "/etc/udev/rules.d/70-persistent-net.rules" has no effect at all. I do agree with the view that it is likely a hardware/BIOS issue.

Moreover, I notice that the mainboard manual says explicitly "Teaming is not supported". This creates another confusion. If that is the case, then it is natural to expect seeing two distinct MAC addresses rather than a somehow "merged" one.
 
Old 12-13-2016, 06:06 PM   #11
c0wb0y
Member
 
Registered: Jan 2012
Location: Inside the oven
Distribution: Windows
Posts: 421

Rep: Reputation: 74
If you lookup the MAC address '1c:1b:0d:09:34:d2', it would show that its Gigabyte's.

It's so no surprise teaming would not work there.
 
Old 12-13-2016, 07:19 PM   #12
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,992

Rep: Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628
" Killer™ E2400 Gaming Network / Intel® Gigabit LAN with cFosSpeed
Killer™ E2400 is a high-performance, adaptive gigabit Ethernet controller that offers better online gaming and media performance compared to standard solutions. Intel® Gigabit LAN networking, a popular choice with gamers, delivers several performance-enhancing features such as advanced interrupt handling to help reduce CPU overhead and Jumbo Frame support for extra large data packets"

Sure looks like intel product along with all the other chips in it. http://www.gigabyte.com/products/pro...px?pid=5809#ov

UEFI can present hardware to the OS as part of the specification. I'd still run some other distro or two on it to see what happens. Try Ubuntu 16 LTS first. It tends to better support uefi.

I get the feeling we did see some problem with this killer nic before on LQ.

Maybe it is the cFosSpeed doing this? Pretty sure slack or linux won't have support directly as far as I know.

Last edited by jefro; 12-13-2016 at 07:24 PM.
 
Old 12-13-2016, 08:40 PM   #13
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware, MX 18
Posts: 9,484
Blog Entries: 15

Rep: Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176
Quote:
I get the feeling we did see some problem with this killer nic before on LQ.
Yes I helped with one of them on an Alienware laptop last year.
If my memory serves me correctly the ath10k driver is needed and should be in the newer kernel.

http://askubuntu.com/questions/76982...n-ubuntu-16-04

I agree; Ubuntu and Mint are much more user friendly with the UEFI interface.
 
Old 12-13-2016, 08:48 PM   #14
anctop
Member
 
Registered: Feb 2010
Posts: 99

Original Poster
Rep: Reputation: Disabled
Just finished booting with Ubuntu-16.04.1-LTS installation media.

In the live system, the two NICs cannot be turned ON simultaneously, only one at a time.

The "dmesg" output reads :

Code:
> :
> :
> alx 0000:0b:00.0 eth0: Qualcomm Atheros AR816x/AR817x Ethernet [1c:1b:0d:09:34:d2]
> alx 0000:0b:00.0 enp11s0: renamed from eth0
> :
> :
> e1000e 0000:00:19.0 eth0: registered PHC clock
> e1000e 0000:00:19.0 eth0: (PCI Express:2.5GT/s:Width x1) 1c:1b:0d:09:34:d2
> e1000e 0000:00:19.0 eth0: Intel(R) PRO/1000 Network Connection
> e1000e 0000:00:19.0 eth0: MAC: 11, PHY: 12, PBA No: FFFFFF-0FF
> e1000e 0000:00:19.0 eno1: renamed from eth0
> :
> :
On my Slackware installation, both NICs are detected and usable.
I'm just feeling uncomfortable about the MAC address abnormality.
 
Old 12-13-2016, 08:52 PM   #15
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware, MX 18
Posts: 9,484
Blog Entries: 15

Rep: Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176
After a short online search the only distribution that I found that supports any of the killer network interface cards is Ubuntu. And that's only some of those cards.

I don't think Slackware works with that card.
 
  


Reply



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
Error with RHEL: bringing up interface eth1: Device eth0 has different MAC address JockVSJock Linux - Networking 1 10-18-2014 04:07 AM
how to permanent spoof "fake" mac address for eth0 & eth1? in NEW linux distro"s... vastvet Linux - Newbie 22 02-02-2013 12:40 AM
Unable to activate eth1 - device eth1 has different MAC address than expected. wkk1020@gmail.com Linux - Networking 18 10-29-2012 07:09 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 06:44 AM.

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