Network Configuration - eversinxe/Webmin-Guide GitHub Wiki
The network configuration for the pfsense machine is relatively easy, and is a good way to revisit the basics of configuring machines.
Step One: Network Adapters
- Whether you are configuring this network over vSphere or vmWare, the first step is to set two network adapters, one for the WAN and one for the LAN.
- In vSphere configure the settings so they look like the screenshot below (figure 1.1).
- In vmWare, the settings will look like the following (figure 1.2).
Step Two: Assign Interfaces
- Boot up the machine, and you should be greeted with the following interface (figure 1.3).
- In the interface, type the number 1 and hit enter, and this will bring you to the Assign Interfaces setup. In here you will assign the interfaces to the correct adapters.
- At first, it will ask if you want to setup VLANs and our response is going to be NO.
- This will bring you to the WAN interface name in which we will put em0, since the Network Adapter 1 (see figure 1.1) is dedicated for the WAN, and likewise for the LAN segment (figure 1.4).
- After this the system will take a couple minutes to assign the interfaces and on the default interface, you will see the interfaces that are set.
Step Three: Set Interfaces IP Addresses
- When on the default interface, you will select option number 2, in order to set the IP addresses. In this case, we are just going with the bare minimal. For the WAN interface, we will be setting up DHCP for IPv4 in order to create a DHCP pool for the other machines. IPv6 and HTTP is not required for this network, as it is just a minimalist setup.
- When the configuration is set like the screenshot below (figure 1.5) hit enter and continue.
- When configuring the WAN, make sure the IP address that you input is on same outward facing network as the default machine.
- Setting up the LAN is the same configuration, except we do not need to set up DHCP, so you can put a NO for this part. We will be assigning each machine's IP addresses manually.
- For this specific network, we are going to use 192.168.100.1/24 for the network and subnet.
Conclusion
- The network configuration is setup for now for the network, and for the machines to be able to reach outside the network.