OPNsense Forum

English Forums => General Discussion => Topic started by: TParker31 on April 30, 2020, 10:16:41 PM

Title: Help with DHCP Static Mappings
Post by: TParker31 on April 30, 2020, 10:16:41 PM
Can anyone help out with this situation?

Created VLAN2 on the LAN interface, Setup DHCP for VLAN2, and added DHCP Static Mappings. DHCP leases update to the correct static mappings under leases, but not on the systems themselves. The obvious release/renew commands have been run on various systems with different operations systems, what am I missing? Are there additional firewall or NAT rules required to make this work? Any help would be appreciated.
Title: Re: Help with DHCP Static Mappings
Post by: ehoitinga on May 02, 2020, 03:36:50 PM
Can relaying (http://infomory.com/what-is/what-is-dhcp-relay/) be the solution for your problem?

Erik
Title: Re: Help with DHCP Static Mappings
Post by: Mitheor on May 02, 2020, 04:04:32 PM
Maybe you can explain how is your LAN interface configured.

Are we talking about a trunk with two vlans?
Title: Re: Help with DHCP Static Mappings
Post by: TParker31 on May 02, 2020, 07:35:40 PM
Was able to figure this out. It was a configuration on my switches, not the router. Had all my switches configured to be on a management vlan. In this example that would have been VLAN2. Ended up having to toggle that management vlan to LAN, swap in the new opnsense router, then I was able to switch it back. At that point the proper static mappings were handed out.