Re: vlan problem after upgrade.

Eivind Eide <[email protected]>
Newsgroups gmane.os.openbsd.misc
Message-ID <CA++wOri+V-1RPx+b_9ZWyTrJAws9Z5St3BA1SisZcMU998QPNA@mail.gmail.com>
søn. 31. mai 2026 kl. 13:35 skrev David Gwynne <[email protected]>:
> sure.
>
> you basically just have to add lines allowing vlan tags on specific
> interfaces. you say you want em1 and em2 to carry vlan 20 tagged
> packets, so you need to configure that like this:
>
>     tagged em1 20
>     tagged em2 20
>
> and then you want vport2 to interact with vlan 20:
>
>     untagged vport2 20
>

Great! Thanks! My setup works now with the following configuration:

cat /etc/hostname.veb0
  add em1
  tagged em1 20
  add em2
  tagged em2 20
  add vport0
  add vport1
  add vport2
  untagged vport2 20
  up



-- 



Eivind Eide

"ONLY THOSE WHO ATTEMPT THE IMPOSSIBLE WILL ACHIEVE THE ABSURD"
- Oceania Association of Autonomous Astronauts
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.