Re: The VLAN awareness of veb, VM's and what you can do wrong

Stuart Henderson <[email protected]>
Newsgroups gmane.os.openbsd.misc
Message-ID <[email protected]>
On 2026-05-29, [email protected] <[email protected]> wrote:
> $ cat /etc/hostname.veb0
> add em0
> -untagged em0
> tagged em0 40,50
> add vport40
> untagged vport40 40
> tagged vport40 40
> add vport50
> add tap0
> untagged tap0 40
> tagged tap0 40
> add tap1
> untagged tap1 40
> tagged tap1 40
> untagged vport50 50
> tagged vport50 50
> up

you don't want to have the same vlan on the same port as both tagged
& untagged. i guess you might want something like this.

-----
$ cat /etc/hostname.veb0
add em0
-untagged em0
tagged em0 40,50

add vport40
untagged vport40 40

add vport50
untagged vport50 50

add tap0
untagged tap0 40

add tap1
untagged tap1 40

up
-----

>
> $ cat /etc/hostname.vport40
> lladdr 90:fb:a6:46:db:e1
> inet autoconf
> up
>
> $ cat /etc/hostname.vio0
> inet autoconf
> up
>
> I hope this helps, and if anything is wrong or can be done better, 
> please correct me.
>
> Cheers
> Jochen
>
>
>


-- 
Please keep replies on the mailing list.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.