Hi,

The network configuration migration in the 21.02 branch results in a broken network configuration.

When I start with the following old network configuration:
-------------------------------------------------------------
config interface 'lan'
        option type 'bridge'
        option ifname 'lan0 lan1'
        option proto 'static'
        option ipaddr '192.168.1.1'
        option netmask '255.255.255.0'
        option ip6assign '60'
-------------------------------------------------------------

It gets migrated to this configuration:
-------------------------------------------------------------
config interface 'lan'
        option proto 'static'
        option ipaddr '192.168.1.1'
        option netmask '255.255.255.0'
        option ip6assign '60'
        option device 'lan0 lan1'

config device
        option name 'br-lan'
        option type 'bridge'
        list ports 'lan0'
        list ports 'lan1'
-------------------------------------------------------------

Here the bridge is not created by netifd and the lan network is not working any more.
Instead of this line:
        option device 'lan0 lan1'
the following line should be added:
        option device 'br-lan'

I didn't tag 21.02.0-rc2 because of this problem.

Hauke

Attachment: OpenPGP_0x93DD20630910B515.asc
Description: OpenPGP public key

Attachment: OpenPGP_signature
Description: OpenPGP digital signature

_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to