[SOLVED] VLAN SETUP ASSISTANCE

TheTechDev

New Member
Jul 11, 2023
14
0
1
Hello,
I can not get VLANs to work with pfsense using a 2nd ethernet port to handle VLANs.

Network layout PFSENSE with vlan10 set > Layer 3 Cisco switch with port 4 having vlan and port 8 being reg. Both 4 and 8 go to proxmox via ethernet. ENO4 is port 8 no vlan, ENO3 is vlan port 4.

Vlan is confirmed working when plugging a normal computer directly into port 4. Proxmox will not give a connection over VLAN. can't ping Google, or other internal servers example 192.168.1.1. vlan IP is 192.168.10.1

Let me know if you need more information and what info you need. Yes, proxmox can access the internet normally just not over vlan.

https://prnt.sc/hZC8LfAzYbdw

My network layout is

pfsense main: 192.168.1.0/24
pfsense vlan: 192.168.10.0/24

Pfsense fiberoptic NIC --> 24port Cisco Layer 3 switch

Port 8 --> 192.168.1.0/24 -- > Proxmox ENO4
Port 4 --> 192.168.10.0/24 -- > Proxmox ENO3

Proxmox My company stuff is hosted on 192.168.1.0/24
I am trying to create VMS for another company of mine under vlan 192.168.10.0/24
All my VM's use ubuntu 22.04

I tested with a laptop directly plugged into port 4 of the switch and I get the 192.168.10.0/24 address and it can access internet and other internal resources like I want it to. Proxmox cant for some reason.

Notes: I use static IPs with macaddress programming. I do not use DHCP on my VLANS. only 1 IP address is available for DHCP, 192.168.10.253

Any ideas how to allow some VMs to use 192.168.10.0/24 vlan and some VMs to use 192.168.1.0/24?

Regards,

PFsense, Switch, Proxmox settings:
Screenshot_1.pngScreenshot_2.pngScreenshot_3.pngScreenshot_4.pngScreenshot_5.pngScreenshot_6.pngScreenshot_31.pngScreenshot_11.png

VM Settings + Response

Screenshot_9.pngScreenshot_10.png
 
Last edited:
A rudimentary network diagram showing the flow from WAN/Internet to pfSense to the switch, etc. would help.

When I did this, I dedicated two hardware NICs to pfsense as a pass through device, and I had a third NIC for managing proxmox and connecting to VMs. The flow I used was Internet/WAN-->dedicated NIC mapped to WAN port on pfsense. Then the other dedicated NIC was mapped to the LAN side of pfsense which flowed to the switch: psfense LAN port-->managed switch tagged port-->tagged and untagged ports on the switch-->tagged port to proxmox and tagged port to my WAP. and untagged ports to various devices like my synology

I no longer virtualize pfsense, as I bought standalone device to run it on. But the network flow is still basically the same. There's no VLAN between the cable modem and the pfsense box. Between pfsense and the managed switch, the ports are tagged (aka trunked ports). Between my switch and proxmox, the ports are also tagged, and I have my proxmox NIC/bridge set up to pass VLANs
 
A rudimentary network diagram showing the flow from WAN/Internet to pfSense to the switch, etc. would help.

When I did this, I dedicated two hardware NICs to pfsense as a pass through device, and I had a third NIC for managing proxmox and connecting to VMs. The flow I used was Internet/WAN-->dedicated NIC mapped to WAN port on pfsense. Then the other dedicated NIC was mapped to the LAN side of pfsense which flowed to the switch: psfense LAN port-->managed switch tagged port-->tagged and untagged ports on the switch-->tagged port to proxmox and tagged port to my WAP. and untagged ports to various devices like my synology

I no longer virtualize pfsense, as I bought standalone device to run it on. But the network flow is still basically the same. There's no VLAN between the cable modem and the pfsense box. Between pfsense and the managed switch, the ports are tagged (aka trunked ports). Between my switch and proxmox, the ports are also tagged, and I have my proxmox NIC/bridge set up to pass VLANs
I Updated my post
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!