Date: Sun, 21 May 2017 16:14:58 -0700 From: Kurt Buff <kurt.buff@gmail.com> To: freebsd-net@freebsd.org Subject: Re: How to bring up interface without address? Message-ID: <CADy1Ce6vUWXp9yZvV-HmR5OoP0BsSubrJhMRHmwF6ArEdi5cYA@mail.gmail.com> In-Reply-To: <13310414754.20170522020524@serebryakov.spb.ru> References: <13310414754.20170522020524@serebryakov.spb.ru>
next in thread | previous in thread | raw e-mail | index | archive | help
Your first line has a typo - it should be:
ifconfig_em1=""
but I've used this in /etc/rc.conf
ifconfig_em1="up"
to ensure that it's available.
Kurt
On Sun, May 21, 2017 at 4:05 PM, Lev Serebryakov <lev@freebsd.org> wrote:
> Hello Freebsd-net,
>
> I have "em1" interface which is container for several vlans, but it doesn't
> need any special configuration and it doesn't need IPv4 or IPv6 address.
>
> If I write this in /etc/rc.conf:
>
> ifconifg_em1=""
> vlans_em1="isp1 isp2"
> create_args_isp1="vlan 10"
> create_args_isp2="vlan 20"
>
> ifconfig_isp1="DHCP"
> ifconfig_isp2="DHCP"
>
>
> Startup script will not bring em1 UP automatically. So, I need some no-op
> option for ifconifg_em1 variable. What should I use?
>
> --
> Best regards,
> Lev mailto:lev@FreeBSD.org
>
> _______________________________________________
> freebsd-net@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-net
> To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CADy1Ce6vUWXp9yZvV-HmR5OoP0BsSubrJhMRHmwF6ArEdi5cYA>
