#18488: Override mac address doesn't work on wan
--------------------------+----------------------------------
Reporter: anonymous | Owner: developers
Type: defect | Status: new
Priority: normal | Milestone: Chaos Calmer (trunk)
Component: packages | Version: Trunk
Keywords: Override mac |
--------------------------+----------------------------------
Hi. Using latest trunk on my router (WDR4900v2 WR741N WHR-1166D) I can't
no longer override the wan mac address, as for WDR4900v2 board the mac is
hardcoded as D8:14:6D:FE:32:8C. On lan interface it gets overriden.
Here's the config:
{{{
config interface 'wan'
option ifname 'eth0'
option proto 'static'
option ipaddr '192.168.1.22'
option netmask '255.255.255.0'
option gateway '192.168.1.1'
option dns '8.8.8.8'
option delegate '0'
option macaddr '15:AA:69:44:B2:17'
root@OpenWrt:~# ifconfig eth0
eth0 Link encap:Ethernet HWaddr D8:14:6D:FE:32:8C
inet addr:192.168.1.22 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::da15:dff:fefe:322b/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:8750142 errors:0 dropped:609 overruns:0 frame:0
TX packets:5168786 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:2975322119 (2.7 GiB) TX bytes:550739622 (525.2 MiB)
Interrupt:4
root@OpenWrt:~# cat /etc/openwrt_version
r43514
root@OpenWrt:~# uci show network.wan
network.wan=interface
network.wan.ifname=eth0
network.wan.proto=static
network.wan.ipaddr=192.168.1.22
network.wan.netmask=255.255.255.0
network.wan.gateway=192.168.1.1
network.wan.dns=8.8.8.8
network.wan.macaddr=15:AA:69:44:B2:17
root@OpenWrt:~# ip address show dev eth0
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state
UP group default qlen 1000
link/ether d8:14:6d:fe:32:8c brd ff:ff:ff:ff:ff:ff
inet 192.168.1.22/24 brd 192.168.1.255 scope global eth0
valid_lft forever preferred_lft forever
inet6 fe80::da15:dff:fefe:322b/64 scope link
valid_lft forever preferred_lft forever
}}}
--
Ticket URL: <https://dev.openwrt.org/ticket/18488>
OpenWrt <http://openwrt.org>
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-tickets