[OpenWrt-Devel] [PATCH v2] gemini: Bring up DSA switches
Linus Walleij
linus.walleij at linaro.org
Sun Jul 14 17:11:58 EDT 2019
On Sun, Jul 14, 2019 at 10:46 PM Linus Walleij <linus.walleij at linaro.org> wrote:
> On Sun, Jul 14, 2019 at 5:15 PM Pawel Dembicki <paweldembicki at gmail.com> wrote:
>
> > > +storlink,gemini324)
> > > + # These are all connected to eth1 thru VSC7385
> > > + ucidef_set_interface "eth" ifname "eth1" protocol "none"
> > > + ucidef_set_interfaces_lan_wan "eth1 lan1 lan2 lan3 lan4" "eth0"
> > > + ;;
>
> Ooops I say I shall fix it then I don't. eth1 is still there.
>
> OK I fix a v3. The switch is working fine on the VSC7385 like
> this.
Or no it doesn't. I'm not smart today...
Keeping eth1 as "none" isn't working. I had to assign
a static address (the same) to eth1 as well, then it works.
In /etc/config/network it looks like this:
config interface 'eth'
option ifname 'eth1'
option proto 'static'
option ipaddr '169.254.1.2'
option netmask '255.255.255.0'
config interface 'lan'
option type 'bridge'
option ifname 'lan1 lan2 lan3 lan4'
option proto 'static'
option ipaddr '169.254.1.2'
option netmask '255.255.255.0'
option ip6assign '60'
I don't know if there is any better way to fix it?
Yours,
Linus Walleij
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel
More information about the openwrt-devel
mailing list