Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 6 Jun 2020 09:32:50 +0200
From:      Andrea Venturoli <ml@netfence.it>
To:        freebsd-questions@freebsd.org, luzar722@gmail.com
Subject:   Re: Vlans setup using ifconfig command
Message-ID:  <9b160b89-0f14-0801-b317-6ea51533dc80@netfence.it>
In-Reply-To: <5EDAFD38.8080708@gmail.com>
References:  <5EDAFD38.8080708@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 2020-06-06 04:19, Ernie Luzar wrote:
> My host has a single dynamic ip address allocated this way
> 
> ifconfig_re0="DHCP"
> 
> I am trying to add & remove VLAN sub-interfaces to the re0 interface 
> using the ifconfig command but havening trouble with the command syntax.
> 
> I also need to find out how to keep the parent re0 interface being used 
> by the host as the primary connection to the public internet.

AFAIK you don't.
You'll have to define all the VLAN interfaces and leave re0 as "parent 
only", without an IP.
At least, that's how I'm using it, but I think it's the only way.



  bye
	av.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?9b160b89-0f14-0801-b317-6ea51533dc80>