Geekzone: technology news, blogs, forums
Guest
Welcome Guest.
You haven't logged in yet. If you don't have an account you can register now.


waikariboy

902 posts

Ultimate Geek

ID Verified
Trusted

#206067 8-Dec-2016 16:10
Send private message

So I have a small ESXi machine, and wanting to setup pfsense on it for my spark fibre connection. I have everything setup, but nothing happening on my WAN port.

 

ESXi - PFSense - LAN/STATIC, WAN/VLAN10/PPPoE,

 

I have read other posts here, but it seems like people are running it a barebones machine and not virtual.

 

Anyone here doing the same thing?





Balm its gone!


Filter this topic showing only the reply marked as answer View this topic in a long page with up to 500 replies per page Create new topic
 1 | 2
mcraenz
1140 posts

Uber Geek


  #1684911 8-Dec-2016 20:44
Send private message

How is the esxi box connected to ONT? How many nics in the esxi box? Add what kind?






 

Help me build a better way of doing politics in Aotearoa New Zealand

 

 

 




sparkz25
750 posts

Ultimate Geek
Inactive user


  #1685449 9-Dec-2016 18:30
Send private message

you may need to allocate a particular port in esxi to the vm so like eth0 is directly allocated to pf sense in esxi settings as the wan port of the virtual machine, i have a friend that runs sophos in a vm and it works fine but he had to do this to make it work


danfaulknor
939 posts

Ultimate Geek

Trusted
Prodigi

  #1685454 9-Dec-2016 18:49
Send private message

You can use VLAN10 to your advantage and only need one physical network card.

 

 

 

Plug the ONT into your switch. If it's managed you'll need to tag VLAN 10 through to your ESX host, if not, most dumb switches will allow VLAN tags to pass without an issue.

 

Create a new VM network, set the VLAN to 10 and give pfsense that network as it's WAN.

 

Then don't use a VLAN inside pfsense, just dial the PPPoE directly on the interface.





they/them

 

Prodigi - Optimised IT Solutions
WebOps/DevOps, Managed IT, Hosting and Internet/WAN.




macuser
2120 posts

Uber Geek


  #1685458 9-Dec-2016 19:08
Send private message

Don't know why you've set the IP config to static. Try automatic/DHCP from isp.

Unless of course you do have a static IP (but then usually a static IP is assigned by DHCP by most ISPs anyway)

Intravix
110 posts

Master Geek


  #1685469 9-Dec-2016 19:40
Send private message

I'm using pfsense on Bigpipe fibre.  Try the above ^


waikariboy

902 posts

Ultimate Geek

ID Verified
Trusted

  #1685537 9-Dec-2016 21:59
Send private message

mcraenz: How is the esxi box connected to ONT? How many nics in the esxi box? Add what kind?

 

4 Port Intel NIC. Have setup one PORT as WAN and another one as LAN with a third PORT as Management.

 

WAN Port connected to ONT. LAN Port connected to switch as with Management Port.





Balm its gone!


waikariboy

902 posts

Ultimate Geek

ID Verified
Trusted

  #1685538 9-Dec-2016 22:00
Send private message

sparkz25:

 

you may need to allocate a particular port in esxi to the vm so like eth0 is directly allocated to pf sense in esxi settings as the wan port of the virtual machine, i have a friend that runs sophos in a vm and it works fine but he had to do this to make it work

 

 

Have done this, One port of Management, One port for WAN and one port for LAN. Still not getting DHCP settings from Spark.





Balm its gone!


 
 
 

Move to New Zealand's best fibre broadband service (affiliate link). Free setup code: R587125ERQ6VE. Note that to use Quic Broadband you must be comfortable with configuring your own router.
waikariboy

902 posts

Ultimate Geek

ID Verified
Trusted

  #1685539 9-Dec-2016 22:00
Send private message

macuser: Don't know why you've set the IP config to static. Try automatic/DHCP from isp.

Unless of course you do have a static IP (but then usually a static IP is assigned by DHCP by most ISPs anyway)

 

 

 

LAN port has STATIC, WAN port has DHCP.





Balm its gone!


waikariboy

902 posts

Ultimate Geek

ID Verified
Trusted

  #1685540 9-Dec-2016 22:02
Send private message

danielfaulknor:

 

You can use VLAN10 to your advantage and only need one physical network card.

 

 

 

Plug the ONT into your switch. If it's managed you'll need to tag VLAN 10 through to your ESX host, if not, most dumb switches will allow VLAN tags to pass without an issue.

 

Create a new VM network, set the VLAN to 10 and give pfsense that network as it's WAN.

 

Then don't use a VLAN inside pfsense, just dial the PPPoE directly on the interface.

 

 

 

 

Interesting, I have a switch that can do this. So leave out the VLAN within PFSENSE, setup VLAN on WAN Virtual Port within ESXi and on Switch and I should be good to go? Will I have to worry about any security issues on the switch, due to it being on the WAN? PFSENSE WAN Port --> SWITCH --> OTA --> Internet





Balm its gone!


sparkz25
750 posts

Ultimate Geek
Inactive user


  #1685546 9-Dec-2016 22:32
Send private message

so for the wan port you need to assign it directly to the vm in these settings in esxi

 

 

and as every one else has said in the pf sense side of thing you need to set a vlan10 and so on and then assign a virtual nic to the pf sense vm and make that the lan port for the v switch, then its just configuring a port on the nic to act as a port from the v switch for the lan

 

 

 

 

 

i would start by working my way through and getting the nic assigned to the vm first and making sure i can connect to the internet within the console of the vm and slowely work my way around to the v switch or the lan port


waikariboy

902 posts

Ultimate Geek

ID Verified
Trusted

  #1685591 10-Dec-2016 08:29
Send private message

sparkz25:

 

so for the wan port you need to assign it directly to the vm in these settings in esxi

 

 

and as every one else has said in the pf sense side of thing you need to set a vlan10 and so on and then assign a virtual nic to the pf sense vm and make that the lan port for the v switch, then its just configuring a port on the nic to act as a port from the v switch for the lan

 

 

 

 

 

i would start by working my way through and getting the nic assigned to the vm first and making sure i can connect to the internet within the console of the vm and slowely work my way around to the v switch or the lan port

 

 

Thanks for this, I understand how ESXi works and what I need to do. Going to test it with the VLAN setup on the ESXi side of it and no VLAN within PFSENSE.





Balm its gone!


macuser
2120 posts

Uber Geek


  #1685600 10-Dec-2016 09:20
Send private message

If you don't end up liking PFsense, I'm using Sophos UTM for my Bigpipe Gigabit connection and it works great.

 

I have server 2016 as my hypervisor though and it multi roles as a media server


hio77
12999 posts

Uber Geek

ID Verified
Trusted
Lizard Networks

  #1685623 10-Dec-2016 10:12
Send private message

Set your VLAN tag in esxi for the interface port in the vSwitch to 4095 (ALL)

 

 

 

 

 

 

This will allow you to pass any VLAN traffic from a VM inside ESXi to the Physical network.

 

Very handy to do it this way, as if you ever need to expand your network across VLANs, you can just do it in the one place (PfSense) and it is happy.





#include <std_disclaimer>

 

Any comments made are personal opinion and do not reflect directly on the position my current or past employers may have.

 

 


waikariboy

902 posts

Ultimate Geek

ID Verified
Trusted

  #1685691 10-Dec-2016 13:18
Send private message

macuser:

 

If you don't end up liking PFsense, I'm using Sophos UTM for my Bigpipe Gigabit connection and it works great.

 

I have server 2016 as my hypervisor though and it multi roles as a media server

 

 

 

 

Thanks, have just installed this and it work straight away, I did setup VLAN not he ESXI side of the things and not the VM side. I think ill give it ago, but there is a lot of learning with this.





Balm its gone!


waikariboy

902 posts

Ultimate Geek

ID Verified
Trusted

  #1685692 10-Dec-2016 13:19
Send private message

hio77:

 

Set your VLAN tag in esxi for the interface port in the vSwitch to 4095 (ALL)

 

 

 

 

 

 

This will allow you to pass any VLAN traffic from a VM inside ESXi to the Physical network.

 

Very handy to do it this way, as if you ever need to expand your network across VLANs, you can just do it in the one place (PfSense) and it is happy.

 

 

 

 

Thank you, ill try this out.





Balm its gone!


 1 | 2
Filter this topic showing only the reply marked as answer View this topic in a long page with up to 500 replies per page Create new topic





News and reviews »

Air New Zealand Starts AI adoption with OpenAI
Posted 24-Jul-2025 16:00


eero Pro 7 Review
Posted 23-Jul-2025 12:07


BeeStation Plus Review
Posted 21-Jul-2025 14:21


eero Unveils New Wi-Fi 7 Products in New Zealand
Posted 21-Jul-2025 00:01


WiZ Introduces HDMI Sync Box and other Light Devices
Posted 20-Jul-2025 17:32


RedShield Enhances DDoS and Bot Attack Protection
Posted 20-Jul-2025 17:26


Seagate Ships 30TB Drives
Posted 17-Jul-2025 11:24


Oclean AirPump A10 Water Flosser Review
Posted 13-Jul-2025 11:05


Samsung Galaxy Z Fold7: Raising the Bar for Smartphones
Posted 10-Jul-2025 02:01


Samsung Galaxy Z Flip7 Brings New Edge-To-Edge FlexWindow
Posted 10-Jul-2025 02:01


Epson Launches New AM-C550Z WorkForce Enterprise printer
Posted 9-Jul-2025 18:22


Samsung Releases Smart Monitor M9
Posted 9-Jul-2025 17:46


Nearly Half of Older Kiwis Still Write their Passwords on Paper
Posted 9-Jul-2025 08:42


D-Link 4G+ Cat6 Wi-Fi 6 DWR-933M Mobile Hotspot Review
Posted 1-Jul-2025 11:34


Oppo A5 Series Launches With New Levels of Durability
Posted 30-Jun-2025 10:15









Geekzone Live »

Try automatic live updates from Geekzone directly in your browser, without refreshing the page, with Geekzone Live now.



Are you subscribed to our RSS feed? You can download the latest headlines and summaries from our stories directly to your computer or smartphone by using a feed reader.