#20919: Mac address should not change during boot on bridge interfaces.
-----------------------------------+------------------------
 Reporter:  hanipouspilot@…        |      Owner:  developers
     Type:  defect                 |     Status:  new
 Priority:  normal                 |  Milestone:
Component:  packages               |    Version:  Trunk
 Keywords:  netifd macaddr bridge  |
-----------------------------------+------------------------
 I have a DIR825b1. It has two interfaces eth1 (wan) and eth0 connected to
 switch. Eth1 and eth0 have different mac addresses.

 I bridged eth1 with a switch port (eth0.2).

 The problem is that during boot process eth1 goes up and starts sending
 dhcp requests with eth1 mac address, after that the bridge goes up and
 another mac address is set for 'br-wan' interface.

 That confuses the ISP dhcp server.

 A workaround is to set wan interface (bridge) to noauto and do ifup wan in
 /etc/rc.local. In this case dhcp requests are sent after the bridge is
 already up.

 Another workaround is to manually setup mac address in /etc/config/network
 for the bridge interface that matches the eth1 original mac. In this case
 it does not change.

 There is no such problem in old AA Openwrt without netifd.

--
Ticket URL: <https://dev.openwrt.org/ticket/20919>
OpenWrt <http://openwrt.org>
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-tickets

Reply via email to