I'am a trainee in IT and building a Testlab. I have to Networks:
Server Network 10.0.100.0 /24
Client Network 10.0.10.0 /24 Client network
How i manage that the Clients will get their Info from the DHCP Server sitting at 10.0.100.100? Open WRt version is : 22.03.3
I browsed the web but din't found anything matches. Thx for your answer!
Your DHCP server should have an interface on the network you want it to serve DHCP address.
Just thought I'd give an update to say I've managed to get this working.
I updated to the latest OpenWRT build prior to doing all of this, as I'd read somewhere that DHCP Relay wasnt working in DNSMasq until a really recent version. I was on 19.07.2 previously, so it was a year old.
At first I couldn't get this working via DNSMasq, and I even tried the isc-dhcp-delay package, I could see the discovers and offers coming into the DHCP server on the subnet at the other end of the site to site VP…
March 13, 2023, 11:47am
Don't use .0 as IP address. Start from .1 instead.
thx for your replies i try this out later
This is a bit confusing... Why do you need to have clients on the 10.0.10.0 network to use a DHCP server on the 10.0.100.0 network? Wouldn't it be easier to have a DHCP server on the 10.0.10.0 network? Is the DHCP server aware of the two networks, and configured properly?