• May 23, 2025, 02:07:15 PM
  • Welcome, Guest
Please login or register.

Login with username, password and session length
Advanced search  

News:

This Forum Beta is ONLY for registered owners of D-Link products in the USA for which we have created boards at this time.

Author Topic: DHCP and static IP assignment - is a hybrid of this ok?  (Read 6113 times)

marklyn

  • Level 1 Member
  • *
  • Posts: 16
DHCP and static IP assignment - is a hybrid of this ok?
« on: September 09, 2009, 04:03:05 PM »

I have all of my computers, cameras, tivos', etc. set to static IP addresses so I'm not using DHCP on my router; however, if I were to turn on DHCP on the router, would my existing devices/workstations continue to work?  Also, would this mean that if I connect a laptop that has DHCP set, it would then get an IP and work as well?

My issue stems from the 1.32NA firmware update where DNS relay needs to be turned off.  If I turn DNS relay off, I'm thinking I can turn on DHCP on the router and type in my ISP's primary/secondary DNS addresses into the router... does this sound right?
Logged

lizzi555

  • Level 5 Member
  • *****
  • Posts: 605
Re: DHCP and static IP assignment - is a hybrid of this ok?
« Reply #1 on: September 09, 2009, 08:05:27 PM »

My issue stems from the 1.32NA firmware update where DNS relay needs to be turned off.  If I turn DNS relay off, I'm thinking I can turn on DHCP on the router and type in my ISP's primary/secondary DNS addresses into the router... does this sound right?
Yes, but more important is to type your ISP's DNS into each machine with a static IP address because the router's IP will no longer work.
But it is not a must to insert your ISP's DNS into the router. It will receive them automatically or use the given OpenDNS servers if set to "Advanced DNS".
If you change the DHCP range so that it does not overlap with your static addresses, there will be no problem.
Logged

marklyn

  • Level 1 Member
  • *
  • Posts: 16
Re: DHCP and static IP assignment - is a hybrid of this ok?
« Reply #2 on: September 11, 2009, 06:10:27 AM »

Yes, but more important is to type your ISP's DNS into each machine with a static IP address because the router's IP will no longer work.
But it is not a must to insert your ISP's DNS into the router. It will receive them automatically or use the given OpenDNS servers if set to "Advanced DNS".
If you change the DHCP range so that it does not overlap with your static addresses, there will be no problem.
My goal was to not have to change the DNS addresses on each pc or IP device connected to my router.  I was hoping to just be able to plug in the DNS addresses in the router either in the DHCP screen or the manual internet setup screen, reboot router and connected devices.
Logged

smlunatick

  • Level 5 Member
  • *****
  • Posts: 625
Re: DHCP and static IP assignment - is a hybrid of this ok?
« Reply #3 on: September 11, 2009, 06:44:10 AM »

If you do not want to manually assign the DNS server IP addresses onto the static IP address devices, you need to consider using the DHCP reservation section.  The DNS reservation will constantly assign the "assigned" IP address based on the device's network adapter MAC id.

As yes the DNS Relay appears to not work well across the DIR router range.
Logged

TallCool1

  • Level 1 Member
  • *
  • Posts: 15
Re: DHCP and static IP assignment - is a hybrid of this ok?
« Reply #4 on: September 11, 2009, 11:23:18 AM »

I have all of my computers, cameras, tivos', etc. set to static IP addresses so I'm not using DHCP on my router; however, if I were to turn on DHCP on the router, would my existing devices/workstations continue to work?  Also, would this mean that if I connect a laptop that has DHCP set, it would then get an IP and work as well?

My issue stems from the 1.32NA firmware update where DNS relay needs to be turned off.  If I turn DNS relay off, I'm thinking I can turn on DHCP on the router and type in my ISP's primary/secondary DNS addresses into the router... does this sound right?

Leave your router's address out of the range of your DHCP IP address range and it will work fine.  You don't have to define DNS addresses leave that to your ISP to manage.  My current (functional) config
DNS Relay off, DHCP Server on, router IP 192.168.2.1, DHCP Server IP range 192.168.2.2 to 192.168.2.100, DHCP Reservation on and I have 15 clients inside the DHCPserver address range (eg 192.168.2.2, 192,168,2,3 etc) manually assigned.  My internect connection type is dynamic and my ISP assinges DNS.  Or you can assign DNS if you prefer.  Your choice but if I can understand your post I believe the short answser is yes.  (Overlap not an issue on my config...)
« Last Edit: September 11, 2009, 11:38:33 AM by TallCool1 »
Logged