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…
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?
Because nobody wants to manage forty-eleven DHCP servers. It's much easier to manage one DHCP server that serves forty-eleven subnets.
While I can understand your point, I cannot see how does it relate to the question, or why you decided to bring back someone's 8 months old post....
how does it relate to the question
It was an answer to your question:
Wouldn't it be easier to have a DHCP server on the 10.0.10.0 network? to which the answer is no. Nobody wants to manage more than one DHCP server.
As you can see in my message, it was a direct reply:
to your message and your question, not the topic.
why you decided to bring back someone's 8 months old post....
I was just answering your unanswered question.