
Explore how dhcp automatically assigns ip configuration from a server to clients. Understand the dora sequence (discover, offer, request, ack) and the role of scopes on an OpenSense router.
Explore two OpenSense DHCP options: ISC DHCP, legacy and end of life, and KEA DHCP, the modern, API-driven solution; use KEA DHCP for future-proof, scalable networks.
Configure the ISC DHCP server on OpenSense in a lab, set the 192.168.1.0/24 scope, define the gateway and DNS, and verify leases and static MAC-to-IP mappings.
Explore ARP basics and secure your network with OPNsense by configuring static ARP entries. Learn ARP request and reply, IP-to-MAC binding, and the reply-only whitelisting approach.
Configure a static dhcp mapping and enable a static arp entry on OPNsense to secure the network. Verify arp tables and ping tests to confirm only known devices can communicate.
Configure KEA DHCP on OPNsense, disable ISC, and verify configured LAN scope 192.168.1.0/24 with IP pool 192.168.1.100–200, ensuring PC and microtech router obtain addresses and internet access.
Reserve a KEA DHCP IP for a MAC address on OpenSense to keep a device’s IP fixed, then reinitiate the DORA process and verify DNS settings update.
Understand how vlan creates separate broadcast domains with network IDs, boosting security, and how trunk and access ports tag traffic across switches to support dhcp on opnsense.
configure vlan 10 and vlan 20 on OPNsense, enable KEA DHCP, assign IP addresses 10.10.10.1/24 and 10.20.20.1/24, and test with a MikroTik trunk and access ports.
Configure the MikroTik switch for VLAN 10 and 20 by creating a bridge and making Ethernet 2 and 3 access ports for these VLANs, with Ethernet 1 as trunk.
Verify devices obtain ip from dhcp on vlan 10 and vlan 20 using opnsense and switch, and test connectivity by pinging between a 10.10.10.x host and a 10.20.20.x router.
Block inter-VLAN communication using the OPNsense firewall to prevent traffic between VLAN 10 and VLAN 20 before routing; test with pings and ensure internet access remains.
This course provides a comprehensive and practical guide to implementing DHCP and VLANs using OPNsense.
It is designed for network engineers, system administrators, and IT professionals who want to build secure, scalable, and well-segmented networks using OPNsense in real-world environments.
You will learn how DHCP works from the ground up, including address allocation, lease management, and client behavior, before applying these concepts directly on OPNsense. The course covers both ISC DHCP and Kea DHCP, explaining their differences, use cases, and configuration approaches within OPNsense.
VLAN concepts are explained clearly and then implemented step-by-step, showing how to design segmented networks, bind DHCP services to VLAN interfaces, and apply appropriate firewall rules. Special attention is given to common pitfalls such as connectivity issues, ARP behavior, routing problems, and misconfigured firewall policies.
The course is hands-on and lab-driven, focusing on practical scenarios you may encounter in enterprise networks, ISPs, labs, and training environments. By the end of the course, you will be able to confidently deploy, troubleshoot, and maintain DHCP and VLAN configurations on OPNsense.
Additionally, the course emphasizes best practices, performance considerations, and security implications, helping you understand not only how to configure services, but also why specific design choices matter in production networks.