Modify

Opened 6 years ago

Closed 6 years ago

Last modified 4 years ago

#11526 closed defect (fixed)

Override mac address doesn't work

Reported by: OviC Owned by: developers
Priority: normal Milestone: Barrier Breaker 14.07
Component: packages Version: Trunk
Keywords: Cc:

Description

Hi. Using latest trunk on DIR-600 rev B2 I can't no longer override the br-lan mac address, as for ramips target the mac is hardcoded as 11:22:33:44:55:66. On wan interface it gets overriden.
Here's the config:

root@OpenWrt:~# cat /etc/config/network

config 'interface' 'loopback'
        option 'ifname' 'lo'
        option 'proto' 'static'
        option 'ipaddr' '127.0.0.1'
        option 'netmask' '255.0.0.0'

config 'interface' 'lan'
        option 'type' 'bridge'
        option 'proto' 'static'
        option 'ifname' 'eth0.1'
        option 'ipaddr' '10.75.0.1'
        option 'netmask' '255.255.255.248'
        option 'macaddr' 'F0:7D:68:79:0B:92'

config 'interface' 'wan'
        option 'ifname' 'eth0.2'
        option 'proto' 'dhcp'
        option 'macaddr' 'F0:7D:68:79:0B:93'

root@OpenWrt:~# ifconfig br-lan
br-lan    Link encap:Ethernet  HWaddr 00:11:22:33:44:55
          inet addr:10.75.0.1  Bcast:15.75.0.1  Mask:255.255.255.248
          inet6 addr: fe80::211:22ff:fe33:4455/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:3171 errors:0 dropped:0 overruns:0 frame:0
          TX packets:3317 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:345999 (337.8 KiB)  TX bytes:2471058 (2.3 MiB)

Attachments (0)

Change History (4)

comment:1 Changed 6 years ago by nbd

  • Resolution set to fixed
  • Status changed from new to closed

fixed in r31857

comment:2 Changed 6 years ago by OviC

  • Resolution fixed deleted
  • Status changed from closed to reopened

Also the broadcast address seems to be broken, it should be 10.75.0.7 not 15.75.0.1

comment:3 Changed 6 years ago by nbd

  • Resolution set to fixed
  • Status changed from reopened to closed

fixed in r31858.

next time please don't reopen an existing ticket for an issue unrelated to the ticket's description, just make a new one.

comment:4 Changed 4 years ago by jow

  • Milestone changed from Attitude Adjustment 12.09 to Barrier Breaker 14.07

Milestone Attitude Adjustment 12.09 deleted

Add Comment

Modify Ticket

Action
as closed .
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.