How to bring up interface without address?

Michael Pounov misho at elwix.org
Mon May 22 08:02:45 UTC 2017


Hi Lev

Try to put this into your rc.conf

ifconfig_em1="up"


On Mon, 22 May 2017 02:05:24 +0300
Lev Serebryakov <lev at 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 at FreeBSD.org
> 
> _______________________________________________
> freebsd-net at freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-net
> To unsubscribe, send any mail to "freebsd-net-unsubscribe at freebsd.org"


-- 
Michael Pounov <misho at elwix.org>


More information about the freebsd-net mailing list