Auf meiner netra
Netra t1 (UltraSPARC-IIi 360MHz), No Keyboard
OpenBoot 3.10.25 ME, 1024 MB memory installed, Serial #12762264.
Ethernet address 8:0:20:c2:bc:98, Host ID: 80c2bc98.
netra:~# uname -a
Linux netra 2.6.18-6-sparc64 #1 Fri Jun 6 23:50:46 UTC 2008 sparc64 GNU/Linux
funktioniert local-mac-address?:
netra:~# prtconf -pv |grep local-mac-address
local-mac-address?: 'true'
local-mac-address: 080020c2.bc98
local-mac-address: 080020c2.bc99
Allerdings habe ich auch das Problem der gleichen MAC-Adressen:
sunhme.c:v3.00 June 23, 2006 David S. Miller (davem@davemloft.net)
eth0: HAPPY MEAL (PCI/CheerIO) 10/100BaseT Ethernet 08:00:20:c2:bc:98
eth1: HAPPY MEAL (PCI/CheerIO) 10/100BaseT Ethernet 08:00:20:c2:bc:98
netra:~# ip a | egrep '(ether|qlen)'
2: eth0: <BROADCAST,MULTICAST,UP,10000> mtu 1500 qdisc pfifo_fast qlen 1000
link/ether 08:00:20:c2:bc:98 brd ff:ff:ff:ff:ff:ff
3: eth1_rename_ren: <BROADCAST,MULTICAST,UP,10000> mtu 1500 qdisc pfifo_fast qlen 1000
link/ether 08:00:20:c2:bc:98 brd ff:ff:ff:ff:ff:ff
Wenn ich allerdings dem Modul einen Parameter mit übergebe, habe ich 2 verschiedene MAC:
netra:~# cat /etc/modprobe.d/sunhme.local
options sunhme macaddr=0x08,0x00,0x20,0xc2,0xbc,0x98
netra:~# rmmod sunhme
netra:~# modprobe -v sunhme
insmod /lib/modules/2.6.18-6-spasunhme.c:v3.00 June 23, 2006 David S. Miller (davem@davemloft.net)
rc64/kernel/driveth0: HAPPY MEAL (PCI/CheerIO) 10/100BaseT Ethernet ers/net/sunhme.k08:o macaddr=0x8
c2:bc:98
eth1: HAPPY MEAL (PCI/CheerIO) 10/100BaseT Ethernet 08:00:20:c2:bc:99
netra:~# ip a | egrep '(ether|qlen)'
5: eth0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop qlen 1000
link/ether 08:00:20:c2:bc:98 brd ff:ff:ff:ff:ff:ff
6: eth3: <BROADCAST,MULTICAST> mtu 1500 qdisc noop qlen 1000
link/ether 08:00:20:c2:bc:99 brd ff:ff:ff:ff:ff:ff
Allerdings funktioniert das nicht beim Booten, aber vielleicht ist das ein Ansatz.
Grüße, Andreas