Help with Turris Omnia DSA switch config

It does change the outcome. The bridge command runs without error. Unfortunatly, it also doesn't solve the issue ( the OEM router getting an IP and working ).

On a positive note, I did manage to get this thing running. The correct configuration should have been the one suggested by @moeller0 because in the end it was what I did, albeit manually.

This is the configuration @moeller0 suggested:

config interface 'iptv'
        option proto 'none'
        option type 'bridge'
        option ifname 'eth2.12 lan4.12'

The above configuration puts the latest trunk in boot loop mode because of a kernel crash. If using OpenWRT 18.06 the router doesn't crash and the configuration is accepted ( the bridge is created with those two interfaces ) but still, the OEM router doesn't get an IP address from the ISP.

So what I did was ( on latest trunk ):

Start with this config:

config interface 'lan'
        option type 'bridge'
        option proto 'static'
        option netmask '255.255.255.0'
        option ip6assign '60'
        option delegate '0'
        option ipaddr '192.168.88.254'
        option ifname 'lan0 lan1 lan2 lan3'

config interface 'wan'
        option proto 'dhcp'
        option broadcast '1'
        option peerdns '0'
        option delegate '0'
        list dns '8.8.4.4'
        list dns '8.8.8.8'
        option ifname 'eth2.12'

config interface 'iptv'
        option proto 'none'
        option ifname 'lan4.12'

and then manually create a bridge and add lan4.12 and eth2.12 to it with the following commands:

ip link add name iptvbridge type bridge
root@gateway:~# ip link set iptvbridge  up
root@gateway:~# ip link set eth2.12 master iptvbridge
root@gateway:~# ip link set lan4.12 master iptvbridge

and it works!! Omnia gets a public IP address on eth2.12 wan port and the OEM router also gets a public IP address.

I see absolutely no difference between these manual commands and @moeller0 suggestion, so for sure this is a bug somewhere in netifd or kernel or whatever.

1 Like