LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Unable to activate eth1 - device eth1 has different MAC address than expected. (https://www.linuxquestions.org/questions/linux-networking-3/unable-to-activate-eth1-device-eth1-has-different-mac-address-than-expected-906295/)

fukawi1 10-05-2011 10:58 PM

A remote admin eth port (such as a HP iLO), (in my experience) wouldnt show up in lspci, as its completely independent from the motherboard.

Have you tried installing the proprietary drivers from the manufacturer?

http://www.broadcom.com/support/ethe...eme_server.php

YellowBull 10-06-2011 04:36 AM

Hi,

Do a:

cat /etc/udev/rules.d/70-persistent-net.rules
# This file was automatically generated by the /lib/udev/write_net_rules
# program, run by the persistent-net-generator.rules rules file.
#
# You can modify it, as long as you keep each rule on a single
# line, and change only the value of the NAME= key.

# PCI device 0x8086:0x1004 (e1000)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="08:00:27:b3:f0:08", ATTR{type}=="1", KERNEL=="eth*", NAME="eth1"

# PCI device 0x8086:0x1004 (e1000)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="08:00:27:88:60:3b", ATTR{type}=="1", KERNEL=="eth*", NAME="eth0"


Remove any references/lines to the network devices in "/etc/udev/rules.d/70-persistent-net.rules"
(in this case remove the 4 last non empty lines)

Then recreate it:

echo add > /sys/class/net/eth0/uevent
echo add > /sys/class/net/eth1/uevent

restart network:

service network restart

Cheers,

Pieter

emadwari 11-27-2011 03:35 PM

Hello Guys

I've been facing the same issue due to replacing a stock motherboard into my linux machine.

the problem was that even the motherboard is the same one, for sure it has a different Mac address on the build In Ethernet Card.

the fastest solution that worked for me was by modifying the ifcfg-eth[variable0-1-2-3-] on /etc/sysconfig/network-scripts/

simply vi the ifcfg-eth[the interface that has the conflict], and remove the entire Mac address line and save the changes.

then do "service network restart"

ps: if you got another conflict into another Ethernet interface, just do the same to the effected eth[].

hope that helps.

with regards.

Emad Alwari
Dsteck

suresh.k 10-29-2012 07:09 AM

Quote:

Originally Posted by wkk1020@gmail.com (Post 4489361)
Hi all, I have a red hat linux server with 2 network interfaces. Lately I'm trying to activate the 2nd network interface (eth1) but I encountered following errors: -
#service network status
Configured devices:
lo eth0 eth1
Currently active devices:
lo eth0

#ifup eth1
Device eth1 has different MAC address than expected, ignoring.

# cat /etc/sysconfig/network-scripts/ifcfg-eth1
DEVICE=eth1
BOOTPROTO=none
HWADDR=00:17:08:5D:6E:66
ONBOOT=no
TYPE=Ethernet
IPADDR=168.232.90.174
NETMASK=255.255.255.0
USERCTL=no
PEERDNS=no
IPV6INIT=no

Appreciate if anyone can help me to resolve this? Following are some other output from the server: -

# lsmod
Module Size Used by
8021q 23249 0
sg 42489 0
cpqci 41576 3
mptctl 73736 0
parport_pc 29185 0
lp 15089 0
parport 43981 2 parport_pc,lp
lpfcdfc 197716 6
autofs4 23241 0
i2c_dev 13633 0
i2c_core 28481 1 i2c_dev
sunrpc 170425 1
ds 21449 0
yenta_socket 22977 0
pcmcia_core 69329 2 ds,yenta_socket
dm_mirror 28889 0
dm_multipath 22097 0
dm_mod 66433 2 dm_mirror,dm_multipath
button 9057 0
battery 11209 0
ac 6729 0
md5 5697 1
ipv6 282657 22
uhci_hcd 34665 0
ehci_hcd 33349 0
hw_random 7137 0
tg3 133124 0
ext3 137681 3
jbd 68849 1 ext3
mptspi 12556 0
mptsas 23960 0
mptscsih 44944 2 mptspi,mptsas
qla2xxx 1012256 0
qla2xxx_conf 303240 1
lpfc 203524 1 lpfcdfc
scsi_transport_fc 11201 2 lpfcdfc,lpfc
cciss 75848 7
sd_mod 19393 0
scsi_mod 140177 10 sg,lpfcdfc,mptspi,mptsas,mptscsih,qla2xxx,lpfc,scsi_transport_fc,cciss,sd_mod
mptbase 70560 4 mptctl,mptspi,mptsas,mptscsih

# more /etc/modprobe.conf
alias eth0 tg3
alias eth1 tg3
alias scsi_hostadapter cciss
alias usb-controller ehci-hcd
alias usb-controller1 uhci-hcd
alias scsi_hostadapter1 lpfc
options lpfc lpfc_nodev_tmo=30 lpfc_lun_queue_depth=16 lpfc_discovery_threads=32
alias scsi_hostadapter2 qla2xxx_conf
alias scsi_hostadapter3 qla2xxx
options qla2xxx ql2xmaxqdepth=16 qlport_down_retry=30 ql2xloginretrycount=30 ql2xfailover=1 ql2xlbType=1 ql2xautorestore=0xa0 ConfigRequire
d=0
remove qla2xxx /sbin/modprobe -r --first-time --ignore-remove qla2xxx && { /sbin/modprobe -r --ignore-remove qla2xxx_conf; }
#Added by HP rpm installer
alias scsi_hostadapter_mptbase_module mptbase
#Added by HP rpm installer
alias scsi_hostadapter_mptscsih_module mptscsih
#Added by HP rpm installer
alias scsi_hostadapter_mptspi_module mptspi
#Added by HP rpm installer
alias scsi_hostadapter_mptsas_module mptsas

# lspci -vv|grep -i eth
pcilib: Resource 0 in /sys/bus/pci/devices/0000:03:01.1/resource has a 64-bit address, ignoring
pcilib: Resource 5 in /sys/bus/pci/devices/0000:00:1f.1/resource has a 64-bit address, ignoring
03:01.0 Ethernet controller: Broadcom Corporation NetXtreme BCM5704 Gigabit Ethernet (rev 10)
03:01.1 Ethernet controller: Broadcom Corporation NetXtreme BCM5704 Gigabit Ethernet (rev 10)


Hi,
I have faced same problem in centos,
I looked into your thread also, but no luck,
Finally i just replaced NIC card with new one,
It work's fine now

Thanks
Suresh


All times are GMT -5. The time now is 03:48 PM.