On Fri, Jun 07, 2024 at 03:04:54AM +0000, Martin wrote:
Are you supposed to "bridge" the vlan with the physical interface?
I have:
$ cat /etc/hostname.em0
up
$ cat /etc/hostname.vlan101
vnetid 101 parent em0
inet autoconf
You can leave off the 'up' here. I like to put everything on a new line
such as:
$ cat /etc/hostname.vlan101
description EGRESS
vnetid 101
parent em0
I suggest turning PF off and test your networking first. Then you would
know there is something amiss in your PF ruleset or not. Not sure about
your network layout, so difficult to help you troubleshoot.
- Ampie
up
In /etc/pf.conf I have replaced em0 with vlan101 for ext_if.
I get "No route to host" if I try to ping something, etc.
But if add:
$ cat /etc/hostname.bridge0
add vlan101
add em0
up
Then it works.
Was the bridge part missed in the previous emails about how to use
VLAN-tagging or am I missing something?