Subject: ifconfig & MAC addr?
To: None <port-sparc@netbsd.org, netbsd-help@netbsd.org>
From: Steve Tremblett <sjt@cisco.com>
List: netbsd-help
Date: 08/05/2002 15:16:14
Both ethernet interfaces on my Sparc 5 have the same MAC address after
boot.  I've been told that I can change the MAC address with "ifconfig
interface ether address" but it doesn't work at all for me, and isn't
documented in the manpg for ifconfig.  The source (1.5.3) has no
reference to "ether" as an address family.

Any suggestions?

# ifconfig -a
le0: flags=8863<UP,BROADCAST,NOTRAILERS,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        address: 08:00:20:72:38:f7
        media: Ethernet autoselect (10base5)
        status: no carrier
        inet 192.168.1.3 netmask 0xffff0000 broadcast 192.168.255.255
le1: flags=8863<UP,BROADCAST,NOTRAILERS,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        address: 08:00:20:72:38:f7
        media: Ethernet 10baseT
        status: active
        inet 10.0.0.1 netmask 0xff000000 broadcast 10.255.255.255
lo0: flags=8009<UP,LOOPBACK,MULTICAST> mtu 33228
        inet 127.0.0.1 netmask 0xff000000

# ifconfig le0 ether 08:00:20:72:38:f8
ifconfig: ether: bad value
# ifconfig le0 ether 0800207238f8      
ifconfig: ether: bad value

-- 
Steve Tremblett