[<<][openwrt][>>][..]
Sun Jul 1 10:32:01 EDT 2012

HW ether


eth0.0    Link encap:Ethernet  HWaddr 94:44:52:A6:E2:9C  
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:10364 errors:0 dropped:0 overruns:0 frame:0
          TX packets:17000 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:631126 (616.3 KiB)  TX bytes:3161914 (3.0 MiB)

eth0.1    Link encap:Ethernet  HWaddr 94:44:52:A6:E2:9C  
          inet addr:192.168.7.172  Bcast:192.168.7.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:3580 errors:0 dropped:62 overruns:0 frame:0
          TX packets:2509 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:582324 (568.6 KiB)  TX bytes:428037 (418.0 KiB)


Need to set ethernet MAC to keep my old "fixed" IP.  I don't remember
how to do this properly.  Should it be on eth0 or eth0.1 ?  On zoo I
have this:

ifconfig eth0.1 hw ether xx:xx:xx:xx:xx:xx

Maybe best to use OpenWRT default config[1]:

#### WAN configuration
config interface        wan
        option ifname   "eth0.1"
        option proto    dhcp
        option hwaddr   "xx:xx:xx:xx:xx:xx"

The above is not correct. It seems that "hwaddr" changed to "macaddr".

[1] https://dev.openwrt.org/ticket/1014



[Reply][About]
[<<][openwrt][>>][..]