Router with no internet - DHCP clients don't get IP's

Post new topic   This topic is locked: you cannot edit posts or make replies.    DD-WRT Forum Index -> General Questions
Author Message
jordanthompson
DD-WRT Novice


Joined: 16 Nov 2011
Posts: 22

PostPosted: Thu Jun 30, 2016 17:47    Post subject: Router with no internet - DHCP clients don't get IP's Reply with quote
Hi all,
I am running "DD-WRT v24-sp2 (04/17/14) mega" on a Netgear WNDR3400v2.

I have multiple virtual machines on my host that are running DHCP.

Everything works fine when it is connected to the internet via the WAN port.

The problem is that I often need to get this system to work with no internet connection. When the router is not connected to the internet, it does not seem to serve up IP addresses (or maybe the clients see it is not connected and don't bother asking for them?)

Any help would be most appreciated.
Sponsor
mrjcd
DD-WRT Guru


Joined: 31 Jan 2015
Posts: 6268
Location: Texas

PostPosted: Fri Jul 01, 2016 2:28    Post subject: Reply with quote
main setup page try:
gateway - same as router local IP
set 'Local DNS' same as router local IP
DHCP server is Enabled ... yes????
set static DNS 1 same as local DNS/router IP (shouldn't have to do this but try if else fails)
check 'Use DNSMasq for DHCP'
check 'Use DNSMasq for DNS'
check 'DHCP-Authoritative'

shouldn't have to do other but ---¬
Services page/Services
Used Domain set 'LAN & WLAN'
LAN Domain -- name whatever you want like 'foolan'
you can then access router by http://routername.foolan
you should set your devices to get static leases
mac addy - hostname - IP - lease time

DNSMasq - Enable
Local DNS - Enable
No DNS Rebind - Enable
Query DNS in Strict Order - Enable

reboot router, reboot other devices

if that don't work post in broadcom forum and you
might want to look at anothet dd-wrt build
jordanthompson
DD-WRT Novice


Joined: 16 Nov 2011
Posts: 22

PostPosted: Fri Jul 01, 2016 3:53    Post subject: Reply with quote
Thanks mrjcd! All I needed to do was:
gateway - same as router local IP
set 'Local DNS' same as router local IP

These were already set:
DHCP server is Enabled ... yes????
check 'Use DNSMasq for DHCP'
check 'Use DNSMasq for DNS'
check 'DHCP-Authoritative'

Didn't have to do this:
set static DNS 1 same as local DNS/router IP (shouldn't have to do this but try if else fails)
Display posts from previous:    Page 1 of 1
Post new topic   This topic is locked: you cannot edit posts or make replies.    DD-WRT Forum Index -> General Questions All times are GMT

Navigation

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum