Port 7 i have no clew what it is , but port 6 could be considered the bridge between the 2 vlans , i think .
My current network config on network file is :
config interface 'loopback'
option ifname 'lo'
option proto 'static'
option ipaddr '127.0.0.1'
option netmask '255.0.0.0'
config globals 'globals'
option ula_prefix 'ffff:ffff:ffff::/48'
config interface 'lan'
option ifname 'eth0.1'
option force_link '1'
option macaddr 'xx:xx:xx:xx:xx:xx'
option type 'bridge'
option proto 'static'
option ip6assign '60'
option ipaddr '1.1.1.1'
option netmask '255.255.0.0'
config interface 'wan'
option ifname 'eth0.2'
option force_link '1'
option proto 'dhcp'
option delegate '0'
option peerdns '0'
option dns '208.67.220.220 208.67.222.222'
option macaddr 'xx:xx:xx:xx:xx:xx'
config switch
option name 'switch0'
option reset '1'
option enable_vlan '1'
option enable_vlan4k '1'
option max_length '3'
config switch_vlan
option device 'switch0'
option vlan '1'
option ports '1 2 3 4 6t'
config switch_vlan
option device 'switch0'
option vlan '2'
option ports '0 6t'
On this previous post Port 1 is untagged , wich means that is connected to vlan and it is providing a lan dhcp release .
But if i turn port 1 off like in the image above , i get this difference on the config :
config switch_vlan
option device 'switch0'
option vlan '1'
option ports '2 3 4 6t'
Now what i need is that port 1 have its own macaddress and create a transparent bridge to wan .
(Last edited by pedropt on 6 Dec 2017, 10:45)