[plug] does anyone know how to set a mac address on a dummy net interface?

Bill Kenworthy billk at iinet.net.au
Fri Sep 5 13:57:53 WST 2003


does anyone know how to set a mac address on a dummy net interface?

> modprobe dummy

> ifconfig dummy0
dummy0    Link encap:Ethernet  HWaddr 00:00:00:00:00:00
          inet addr:10.10.10.10  Bcast:10.255.255.255  Mask:255.0.0.0
          UP BROADCAST RUNNING NOARP  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)

 > ifconfig dummy0 10.10.10.10 hw ether 11:22:33:44:55:66 
SIOCSIFHWADDR: Device or resource busy




More information about the plug mailing list