Vlans setup using ifconfig command
ml at netfence.it
Sat Jun 6 07:32:58 UTC 2020
On 2020-06-06 04:19, Ernie Luzar wrote:
> My host has a single dynamic ip address allocated this way
> 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.
More information about the freebsd-questions