OPNsense Forum

English Forums => Tutorials and FAQs => Topic started by: emilwojcik93 on August 10, 2018, 05:35:54 pm

Title: OpnSense VLANs and DHCP Relay
Post by: emilwojcik93 on August 10, 2018, 05:35:54 pm
Hello everyone, first I would like to describe my hardware config:

MB:Asrock H110M-ITX/ac
CPU:Intel Core i5-7400 3.00GHz
SSD:Samsung 840 EVO 500GB SATA
RAM:Kingston HyperX FURY 16GB DDR4 2133MHz 14CL hx421c14fb/16
PCIe:Broadcom BCM53125M (4x1Gbps NIC)

Ok, I just started configuring OpnSense but I've problems with VLANs.

First I tried to create bridge for all interfaces from Broadcom NIC, then add VLAN with same ID on each physical interfaces and create next bridge from these VLANs. I start DHCP server for physical interfaces bridge and for VLANs interfaces bridge but when I was connected to one of physical interface automatically I received IP address from DHCP server of physical interface bridge but when I tried to change my address from Windows 10 NIC properties I can't connect with server same issues when I tried using Realtek - Ethernet Diagnostic Utility to change my VLAN ID. I saw that I received IP address and gateway of interface I was connected to but I can't ping gateway or others hosts in network. Also when I change VLAN ID from Realtek Utility I saw my computer with IP address form this VLAN network on ARP Table in OpnSense.

One of VLANs have separated DHCP server, so I've to create VLAN with DHCP relay and others VLAN with DHCP server.

How can I setup all VLANs and DHCP Relay?

Current VLANs


Can I use OpnSense in star topology with OpnSense in center of tihis network or I've to use CoreSwitch to menage of VLANs?

Now my network looks like this and I would like to change Cisco Router with OpnSense (with 3 NIC 4x1Gbps for all connections)


In final version I would like to separate WAN network from LAN network.