i have a cable from provider with two VLANs on it, VLAN1 for internet and VLAN50 for VoIP. I need to take VLAN50 to my server (PBX Panasonic TDE-600) on schema so it can connect to SIP server through VLAN50

I made two trunk tagged ports on upper switch (one leads to provider and other leads to freebsd router) and on lower switch tagged trunk port leading to router and access port leading to server (PBX)

But i don't know how to bring tagged traffic of VLAN50 through my FreeBSD server(router). Help me please. Thanks.



Per the FreeBSD handbook on VLANs you can simply create subinterfaces in /etc/rc.conf):


This assume VLAN 1 comes in untagged while VLAN 50 is tagged.

Next you will need to create a bridge on the FreeBSD server/router/firewall and bridge the traffic between em0.50 and em1.

  • You mean bridge between what interfaces? If i put in bridge em0 or em1 my freebsd server will stop working as default gateway for my local subnet, no? – Bobi K Jun 28 at 5:02
  • I made more detailed scheme here No need to do anything with Vlan1, it's default, i need to connect to SIP server which in VLAN50, provider gives me 3 ip from this subnet - I need that my PBX could connect to and i could connect to PBX from local subnet. – Bobi K Jun 28 at 5:40

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.