In my previous post I covered deployment of pfSense virtual router, now in this post I will continue with the basic configuration which is needed for our nested lab to function as a real datacenter.
pfSense is a software-based routing solution that enables multiple virtual networks to be created on a single physical network. To configure a virtual router using pfsense, a popular open-source firewall platform, you can use the pfsense firewall GUI to create virtual network interfaces and assign them to different nested VLANs. This allows for the creation of distinct subnets with their own IP ranges and routing tables. Pfsense also supports gateway firewall functionality, which allows for fine-grained control over traffic flow between virtual networks and the Internet. Additionally, dynamic routing protocol BGP can be configured on pfsense to automate network topology discovery and route selection.
Assign management or WAN address.
After successfully deploying the pfSense virtual router virtual appliance its time we add a management address, as my environment has a DHCP running, this appliance received an IP.
Choose option 2. and press enter/return key.
Assign LAN Interfaces.
interfaces from each vlan we are going to use, as per our plan we laid down in our post Home Lab Step-by-Step Part-3-Networking.
Login to ESXi host and navigate to virtual machine view.
Configure LAN Interfaces.
Once done open browser and access the public interface of the PFsense router which we configured initially on this blog post and Login.
Now here you can change description of the network which will help you identify the interface and its network. Along with make sure you enable the interface.
Scroll down to configure static IP of the interface, which will be your gateway for this network. Once configured, save configuration.
Once you apply changes this interface is enabled and packets are routed with other enabled interfaces. Make sure you have configured all added interfaces to route traffic between them.
Please be aware once you enable LAN your management firewall rule will shift to LAN interface, hence access the GUI with LAN interface IP.
I have added an any any rule for WAN interface.
I hope I was able to add value, if your answer is yes, then don't forget to share and follow. 😊
If you want me to write on specific content or you have any feedback on this post, kindly comment below.
If you want, you can connect with me on Linkedin, and please like and subscribe my YouTube channel VMwareNSXCloud for step by step technical videos.
No comments:
Post a Comment