NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.

Forum Discussion

OneMist8k's avatar
OneMist8k
Aspirant
Mar 10, 2016
Solved

Trying to understand router settings for DHCP & DNS server (noob question) WNR3500L

We have an external DHCP and DNS server.  The Netgear router has DHCP turned off.  The clients are all Windows machines.   Using the IPCONFIG /ALL  on the command line of a windows client on the ne...
  • TheEther's avatar
    Mar 11, 2016

    OneMist8k wrote:

    We have an external DHCP and DNS server.  The Netgear router has DHCP turned off.  The clients are all Windows machines.

     

    Using the IPCONFIG /ALL  on the command line of a windows client on the network, everything is working as (I think) it should. 

     

    Default Gateway...: 192.168.0.1

    DHCP Server.......: 192.168.0.5

    DNS Servers.......: 192.168.0.5

     

    All good.  Now I'm trying to understand why!

     

    Under menu Basic->Network, the "IP Address" shows 192.168.0.1, which is where the Gateway IP address is coming from.  My question is: How does the router know the IP address of the DHCP & DNS

     

    The router doesn't need to know.  When you disable the DHCP server on the router, this relinquishes the router from the responsibility of assigning IP addresses to clients as well as providing the default gateway and DNS server addresses to those same clients.  The local DHCP server on your network assumes those responsibilities.

     


    Under menu option Basic->DDNS, the "Dynamic DNS" drop-down menu is selected to "Use External IP address Checker (every 10 minutes)".  No IP address is listed.  "Dynamic DNS 1" and "Dynamic DNS 2" are both set to "None". 

     

    Can you provide a screenshot?  I don't see this mentioned anywhere in the documentation.  You can either upload a screenshot by clicking on the little icon that looks like a mountain with a moon in the sky or upload it to an image hosting site, like imgur.com, and including a link.



    Under menu option Advanced->DHCP DNS, the "Use Internal DNS" is checked, "Prevent DNS-rebind attacks" is checked.  That is all.  No IP addresses listed anywhere.

     

    Can you include a screenshot of this, too?

    Finally, I thought maybe it was getting it from menu "Advanced->Routing" where the Static Routing Table is set up as:

     

    Destination...: 192.168.0.5

    Gateway........ 192.168.1.1

    Subnet Mask.... 255.255.255.0

    Metric......... 1

    Interface...... LAN

    Description.... SBS2003

     

    Since the IP address of the destination is the DHCP / DNS server (192.168.0.5), one would think that is how the router is getting the DNS/DHCP IP address, right?  But wait... the IP address of the Gateway is incorrect.  It says 192.168.1.1 but I know the Gateway should be (and is verified by the NSLOOKUP) 192.168.0.1.  The IP address in Basic->Network->LAN is in conflict with the setting here in Advanced->Routing->Gateway.

     

    So what gives?  Is the value of the "Gateway" setting here ignored?  Is the whole section ignored, including "Destination"?

     

    This static route is entirely unusable because the gateway address, 192.168.1.1, is not even in the subnet of your router's LAN.


     

    If so, then how is the DHCP server discovered?

    As I mentioned above, the router doesn't need to know the address of the DHCP server.  It just routes (and NATs, too).  Clients will find the DHCP server without the assistance of the router by broadcasting DHCP requests.  The DHCP server will see and respond to these requests.