Setting up pfsense ...
 
Notifications
Clear all

Setting up pfsense on proxmox with only two nics on my dell t420 server

10 Posts
2 Users
0 Reactions
880 Views
Posts: 5
Topic starter
(@tolx_)
Active Member
Joined: 9 months ago

hi Guys so this is my dilemma i have i have a server which has only two nics one already has been used for proxmox management, the other is free and i would like to use pfsense for my internal router , i have seen videos online where i could do this but my issue is that i have only one available nic left for me to do this because pf sense would need a wan and lan port which is two nics and i only have one left , what can i do to fixs this up and can i create a internal lan network in my proxmox to simulate a lan ... i will need your help guys

Topic Tags
9 Replies
Brandon Lee
Posts: 398
Admin
(@brandon-lee)
Member
Joined: 14 years ago

@tolx_ Welcome to the VHT forums! Great to have you here in the community. This should be doable using VLANs. With VLANs, you can carve up an existing single physical adapter so that it appears like multiple adapters that can be used for various purposes. Below is a crude drawing of what you could do:

image

With VLANs the number of physical uplinks is no longer limiting since you can present virtual interfaces to VMs, devices, etc. Let me know if this makes since or helps?

Reply
Posts: 5
Topic starter
(@tolx_)
Active Member
Joined: 9 months ago

thank you, i have a netgear gs308e switch and i am trying to see how to add two vlans in one port and its not workingย 

Reply
1 Reply
Brandon Lee
Admin
(@brandon-lee)
Joined: 14 years ago

Member
Posts: 398

@tolx_ it looks like the gs308e is VLAN capable just from a few searches I have done. Saw here that for most, you will find what you need under VLAN -> 802.1Q -> Advanced only. You will want to add VLAN tags to your ports where you uplink your second NIC from your Proxmox server with the VLANs you choose to use for WAN and LAN/other. Let me know if you see the VLAN, 802.1q, Advanced only menu in there.

Reply
Posts: 5
Topic starter
(@tolx_)
Active Member
Joined: 9 months ago

so i did all that you said and maybe i made a mistake in one of the stepsย 

i went to my Netgear switch and enabled vlan with 802.1q and for the port membership the first port is what is connected to my router and also the secondย 

image

i also played around with the pvid and made it thisย 

image

in my proxmox server, this was the setting i usedย  for enabling the vlansย 

image

i tried pinging my host network and its not still working could you pls look at my configuration and let me know where i went wrongย 

Reply
1 Reply
Brandon Lee
Admin
(@brandon-lee)
Joined: 14 years ago

Member
Posts: 398

@tolx_ Just at a glance, there may be a problem with tagged vs untagged traffic on your switch. Can you also post your configuration shown in /etc/network/interfacesย on your Proxmox server? That will help give some more detail on what is being sent exactly on the Proxmox side.

Reply
Posts: 5
Topic starter
(@tolx_)
Active Member
Joined: 9 months ago

this is what i haveย 

image
Reply
1 Reply
Brandon Lee
Admin
(@brandon-lee)
Joined: 14 years ago

Member
Posts: 398

@tolx_ Just looking at your screenshot. So the 192.168.20.21 IP address is your management IP that you are attempting to connect to for management right? Also, what VLAN are you expecting this IP to reside on and which switch port are you connecting it to?

Reply
Page 1 / 2