[OpenWrt-Devel] [LEDE-DEV] MV88E6060 switch

Nerijus Baliunas nerijus at users.sourceforge.net
Mon Jul 24 18:28:35 EDT 2017


On Sun, 23 Jul 2017 11:38:02 -0700 Florian Fainelli <f.fainelli at gmail.com> wrote:

> > 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.

I added swconfig, but still no network with the above config.
Could you please give some hints if the above switch config is correct?

Regards,
Nerijus
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


More information about the openwrt-devel mailing list