On Jul 23, 2017 11:28, "Nerijus Baliūnas" <neri...@users.sourceforge.net>
wrote:

2017-07-21 19:48, Nerijus Baliūnas via Lede-dev rašė:

> How do I configure vlan? Here I changed eth0 to eth0.1:
>
> config interface 'lan'
>         option type 'bridge'
>        option ifname 'eth0.1'
>        option proto 'static'
>        option ipaddr '192.168.1.1'
>        option netmask '255.255.255.0'
>        option ip6assign '60'
>

I tried
config 'switch' 'eth0'
   option 'enable'      '1'
   option 'enable_vlan' '1'
   option 'reset'       '1'

config 'switch_vlan'
   option 'vlan'       '1'
   option 'device'     'eth0'
   option 'ports'      '1 2 3 4 5t'

config 'switch_vlan'
   option 'vlan'       '2'
   option 'device'     'eth0'
   option 'ports'      '0 5t'

Does not work. Do I need to have swconfig installed in order to
get the switch working? Because by default it is not installed.


Yes, it is necessary with this switch driver to have swconfig installed,
otherwise nothing would push CLEAN configurations to the mv88e6060 switch.
_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

Reply via email to