Step 9: At this point of the installation, you should know and have already decided what Ethernet port to use with your WAN and LAN connection. So you need to designate a specific device (Ethernet Card) for your Internet and LAN connection.
You’ll be prompted to enter the WAN interface name, in my case, it is
em0 . So I should type
em0 and then
Next prompt should be asking you to enter your LAN interface name, in my case, it is
em1 . So I type in
em1 and then
Another prompt will ask you to enter an Optional interface, you may skip this for now. We only need at least 2 network interfaces for this basic pfSense installation. So just press
Enter to continue.
If You Dont Know Your Interface Names Are, Read Below:
< In my case, I got two identical Ethernet card installed in my machine. They are both
Intel PRO/1000 model. I need to know first their corresponding interface names, since they’re both identical, before assigning them either as a WAN interface or LAN interface.
In my machine, they are identified as
em1 . But I don’t know which is which.
So what I did was, I used the installer’s auto-detection option.
To initiate this option, disconnect all your cables from your Ethernet cards.
Enter key. You’ll be prompted to connect the WAN interface first, make sure the link is up and working when you do this. So plugin your cable to any of your available Ethernet card and wait for it to be detected by the installer.
It should show you the interface name, like so:
em0: link state changed to UP
In my case, my first Ethernet card was detected as
em0 . This is the card that is attached to the first PCI slot of my motherboard (counting from top). Now, this is going to be my WAN interface (Internet connection).
Now that your interface is detected, press
ENTER key to assign it as your WAN interface.
Next, you’ll be prompted again to enter
a to auto-detect your LAN interface name. So, connect your cable to your second Ethernet card, wait for a few seconds and it should be detected. In my case, it was detected as
Enter key again as soon as your interface is detected.