Pfsense

I have a normal switch connected to vlan11 there we have the laptop connected to the normal switch. It worked before (different try)
Is the unmanaged switch connected to one of the 5 ports you showed screenshots of? In that case the port that connects to your switch should be set to untagged vlan11 too.
The WAN has to be DHCP client to get the IP of the bridged ISP modem
What I have done before is just using the the one virtio nic. for example vtnet0 to be the WAN port
And vtnet0.11 to be the LAN port
Sorry wrote crap. Should be "For WAN it sound like you then want to setup vtnet0.100 as a DHCP client and vtnet0.11 as a DHCP server," not "For WAN it sound like you then want to setup vtnet0 as a DHCP client and vtnet1 as a DHCP server,"
 
Is the unmanaged switch connected to one of the 5 ports you showed screenshots of? In that case the port that connects to your switch should be set to untagged vlan11 too.
Yes it is connected to I think port 3. Port 3-5 are already assigned as untagged vlan11's. with the PVID?
Sorry wrote crap. Should be "For WAN it sound like you then want to setup vtnet0.100 as a DHCP client and vtnet0.11 as a DHCP server," not "For WAN it sound like you then want to setup vtnet0 as a DHCP client and vtnet1 as a DHCP server,"
I tried vtnet0.100 as WAN (should be dhcp client) and vtnet0.11 as LAN (dhcp server x.x.x.100 - 245) I made these settings a bunch of times in pfsense
 
If you have two network interfaces why not just use one as LAN and the other as WAN with pfSense between them? No need for vlans at all
 
If you have two network interfaces why not just use one as LAN and the other as WAN with pfSense between them? No need for vlans at all
I read somewhere that the adapters can get hot if used for pfsense they do not recommend to use usb adapters and certainly not this one that I have
 
Nics get hot when used...no matter what uses it. But a NIC should be build to handle that.
 
It is a ziggo connect box. it just gives random IP's it and is bridged and I think not a vlan. Not sure what you mean there.
It looks identical to the Virginmedia ISP routers we get here in the UK.

Q1: Is the Ziggo box running with 'normal' settings - or have you disabled the wifi and dhcp functions (called 'Modem Mode' here in the UK)?
Q2: Have you considered how your home wifi is going to work afterwards?
 
It looks identical to the Virginmedia ISP routers we get here in the UK.

Q1: Is the Ziggo box running with 'normal' settings - or have you disabled the wifi and dhcp functions (called 'Modem Mode' here in the UK)?
Q2: Have you considered how your home wifi is going to work afterwards?
Q1: The ziggo modem is just passing through (bridgemode) of 4 switch port only port 1 is active now and wifi disabled by ISP
Q2: Yes it has been working with pfSense but the main problem was. Yes pfsense working like in the link.

in addition:
I had truenas scale running and in the vm pfsense. It was working but the problem always has been internet ok. Even able to see storage of truenas.
but unable to reach truenas without a cable (so not over the wifi)
so I moved all to proxmox aim for better control since all run in vm's but now same problem.
Internet can work fine with the link used. But then no more acces to maintain proxmox besides a cable.
 
So I got this going perhaps we can work from here to achieve my goals
I started back from this link which includes my vlan switch (smaller version)
https://getlabsdone.com/turn-your-old-pc-into-a-pfsense-firewall/

tl-sg105e

1659048996699.png
1659049016158.png
1659049045564.png
In proxmox
1659049114344.png

1659049147693.png
1659049177845.png

In pfsense
If asked for setup vlan say (y)
vtnet0
in my case vlan is 11 so enter 11
skip the rest by pressing enter.

Setup WAN -> vtnet0
Setup LAN -> vtnet0.11
Setup your LAN IP with option 2

I only have sometimes DCHP issues with this ISP modem and Ziggo modem in bridge mode.
Not sure what causes it the vlan switch which is checking for dhcp as well or pfsense or the ISP modem.
I think for what I tried sofar it is best to have everything connected and on disconnect cable from ISP
Reboot ISP plug in cable after it is finished booting.

Will test more about that,


Now I am back to the same old problem. (but wife of my back for a while :) )
I have internet through the house.
I have this setup.

ISP->vlan switch->
P1 = ISP vlan 1 (untagged)
P2 = to 1 NIC PC(server) (vlan11 tagged)
P3-5= switched (vlan11 untagged)

p1-p5= vlan1(all untagged) perhaps this causes problems?

Anyways I would like to reach everything over the wifi.
Proxmox (working with cable in normal switch)
truenas webgui (working with cable in normal switch)
pfsense webgui (working)

please help me further
 

Attachments

  • 1659048883493.png
    1659048883493.png
    16.9 KB · Views: 5
I still would like to get access to proxmox.
I have this vlan11 and tested this with truenas vm which is working but why is my connection refusing proxmox? I can only reach it with cable on vmbr0.

The pfsense is on vmbr1. Lan aware
Which is split into vtnet0 WAN
And vtnet0.11 LAN

I can post the config later.
 
Code:
auto lo
iface lo inet loopback

iface enx0050b611d7af inet manual

iface enp5s0 inet manual

iface wlp6s0 inet manual

auto vmbr0
iface vmbr0 inet static
        address X.X.11.3/24
        gateway X.X.11.1
        bridge-ports enx0050b611d7af
        bridge-stp off
        bridge-fd 0
        bridge-vlan-aware yes
        bridge-vids 2-4094

auto vmbr1
iface vmbr1 inet manual
        bridge-ports enp5s0
        bridge-stp off
        bridge-fd 0
        bridge-vlan-aware yes
        bridge-vids 2-4094
 
How to change this so proxmox can be reached from pfsense LAN which is from vmbr1
vmbr1 (Vlanaware) = WAN/LAN inside pfsense -> WAN is vtnet0 & the LAN is vtnet0.11
 
how can I change that? yesterday I locked myself out.
I didn't understand :S Sorry.
Thanks for your help all the way
 
You should create a VLAN interface called "vmbr1.11" and assign it an IP of your LANs subnet.

So something like
Code:
auto vmbr1.11
iface vmbr1.11 inet static
        address A.FREE.LAN.IP/24
 
Last edited:
Yes I tried so yesterday. But it didn't work out so well. Can you please adjust this code how it should be. In regards with pfsense?

As it is now pfsense and all vms are working behind pfsense.

Where the pfsense vm only has the vmbr1
Vlan is configured on pfsense side.

What I do not understand is this.
Isp -> vlan switch p1
Vlan switch p2 (vlan11 and WAN) -> proxmox (enp5s0 (vmbr1 BRIDGE VLAN AWARE) )
Pfsense VM has vmbr1 -> pfsense config vtnet0 WAN, vtnet0.11 LAN
Truenas VM has vmbr1.11

P3 vlan switch (vlan11) -> normal switch -> enx0050b611d7af eth adapter
So would proxmox not be physically connected to the vlan11?
 

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!