Date: Tue, 27 Oct 2015 18:17:22 +0700 From: Eugene Grosbein <eugen@grosbein.net> To: Piotr Kubaj <pkubaj@riseup.net>, freebsd-mips@freebsd.org Cc: Adrian Chadd <adrian.chadd@gmail.com> Subject: Re: arge1 on TL WDR3600 Message-ID: <562F5D42.9010804@grosbein.net> In-Reply-To: <562F5AE2.8010301@riseup.net> References: <CAJ-VmonRt6OVOQDGLZBx-4OxbGgzcetuKtBf3eB-6yn3m-EEsQ@mail.gmail.com> <562F5AE2.8010301@riseup.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On 27.10.2015 18:07, Piotr Kubaj wrote: > Thanks Adrian, that also helped me with my 1043ND. At first I thought > that since arge0 works for LAN, arge1 must be WAN, but reading your > email made me realize I was wrong. I think you should put this into wiki > (that arge1 may be a dumb NIC and how to configure embedded switch to > use the WAN port). > > Also, it would be quite useful to have some way of automatically loading > etherswitch configuration at boot time. For now the only way is to use > rc.local. I know that your scripts make it possible, but with stock > FreeBSD (which is what I use on my 1043ND for now) it's not really possible. It is possible using /etc/start_if.switch0. Use this line in the /etc/rc.conf: network_interfaces="switch0 arge0" Then create shell script /etc/start_if.switch0 and put etherswitchcfg configuration there. Standard rcNG will setup switch using this script before arge0 configuration then.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?562F5D42.9010804>