VLAN Setup

Configuring VLAN's

Once OPNsense boots up after the install enter root for the user and your password. If you didn't change the default password it is opnsense. I highly suggest changing the password.

After logging in choose Option 1, Assign interfaces.

“Do you want to configure LAGGs now?” n

“Do you want to configure VLANs now?” n

“Enter the WAN interface name or ‘a’ for auto-detection:” vtnet0

“Enter the LAN interface name or ‘a’ for auto-detection:” vtnet1

“Enter the Optional interface 2 name or ‘a’ for auto-detection:” vtnet2

“Enter the Optional interface 3 name or ‘a’ for auto-detection:” vtnet3

Press Enter. We don't have an Optional interface 3
press 'y' and Enter
Yours should look similar

LAN

We now need to setup IP and dhcp for our interfaces.

enter option 2

1 for LAN

no to DHCP

then enter 10.0.0.1 and 24 for the subnet

Press enter on “For a WAN, enter the new LAN IPv4 upstream gateway address.”

n and N for IPv6 and hit enter for “Enter the new LAN IPv6 address.”

Enter your start and end range.

Then hit enter 3 times.

OPT1

We will do the same for OPT1 only difference being the start and end range.

10.6.6.1 for OPT1 IP Address

Start address will be 10.6.6.11

End 10.6.6.243

Press Enter 3 times

OPT2

For OPT3 we will use 10.80.80.1 This will be for our AD-LAB.

You should have something similar.

If everything looks good press 6 and y to reboot.

Last updated

Was this helpful?