Home
Help
Search
Login
Register
OPNsense Forum
»
English Forums
»
General Discussion
»
DHCP client with bridged NIC
« previous
next »
Print
Pages: [
1
]
Author
Topic: DHCP client with bridged NIC (Read 1348 times)
mauro
Newbie
Posts: 22
Karma: 0
DHCP client with bridged NIC
«
on:
March 08, 2023, 12:58:48 pm »
Dear all,
I'm strugleing to figure out how to make this work.
I have a modem/router with Openwrt with 3 LANs (LAN, DMZ, DMZ_2), and for all of these there is a DHCP server.
I want to change the router/firewall from zeroshell used in DMZ to opnsense used in DMZ_2
Opnsense run on APU2c4.
I have 2 NICs bridged configured with DHCP client. opnsense receive the IP from the DHCP server when connected to the Openwrt main router.
the issue is that if I plug a pc to the second NIC of the bridge, the pc doesn't receive the IP. In other terms the bridge in Opnsense doesn't forward the DHCP server information.
Can I have some hints?
I've tried also to reverse the setting with DHCP server on Opnsense and Openwrt as client but with this I get really confused with routes and gateway and I can't figure out how to access the open internet from DMZ_2 machines...
To be honest I don't know which is the best or correct way of doing it. I have the actual configuration with Openwrt in charge of al DHCP server and works so far and it make sense to me
cheers
Logged
Patrick M. Hausen
Hero Member
Posts: 6848
Karma: 575
Re: DHCP client with bridged NIC
«
Reply #1 on:
March 08, 2023, 01:00:40 pm »
Did you set the two tunables as in the OPNsense documentation?
https://docs.opnsense.org/manual/how-tos/lan_bridge.html
Logged
Deciso DEC750
People who think they know everything are a great annoyance to those of us who do.
(Isaac Asimov)
mauro
Newbie
Posts: 22
Karma: 0
Re: DHCP client with bridged NIC [SOLVED]
«
Reply #2 on:
March 16, 2023, 12:17:20 am »
Dear all, thanks for help.
After few more tries and a further study I managed to get the following configuration working with DHCP server on Opnsense and openwrt as client.
To get access to internet from the DMZ I created a static route with destination o.o.o.o/o and gateway the DMZ interface
I hope this will help someone else
regards
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
English Forums
»
General Discussion
»
DHCP client with bridged NIC