Geekzone: technology news, blogs, forums
Welcome Guest.
You haven't logged in yet. If you don't have an account you can register now.

82 posts

Master Geek


Topic # 151770 4-Sep-2014 15:16
Send private message

Hello, if I have a bunch of printers with static IP addresses, and I establish a new DHCP server, how does the DHCP server realise that those static IP's are already in use ?
Does the DHCP server send out a query on the network before it allocates addresses ?

Thanks for any info.

Create new topic
142 posts

Master Geek
+1 received by user: 8

  Reply # 1121904 4-Sep-2014 15:19
One person supports this post
Send private message


Nope, the DHCP server will not take any notice - you will need to reserve those addresses from the new DHCP scope otherwise you'll get dupe IP issues.


2413 posts

Uber Geek
+1 received by user: 704

Lifetime subscriber

  Reply # 1121907 4-Sep-2014 15:20
Send private message

If you are using the same operating system and DHCP software, you should be able to export and import the settings.

Some DHCP Servers can be configured to test (ping) an IP address before handing it out.

Otherwise, just enter these static IP addresses as a Reservation or an Exclusion manually into your DHCP software.

"4 wheels move the body.  2 wheels move the soul."

“Don't believe anything you read on the net. Except this. Well, including this, I suppose.” Douglas Adams

Doesn't know what he doin
2881 posts

Uber Geek
+1 received by user: 374


  Reply # 1121908 4-Sep-2014 15:21
One person supports this post
Send private message

We've just covered DHCP servers in one of my lectures this week actually :D

You'd simply add the range of static IPs currently issued, into an Exclusion on the DHCP server. That way it won't issue those IPs to anything. You do the same thing to ensure servers and the like have a static IP.

Bachelor of Computing Systems (2015)




Late 2013 MacBook Pro with Retina Display (4GB/2.4GHz i5/128GB SSD) - HP DV6 (8GB/2.8GHz i7/120GB SSD + 750GB HDD)
iPhone 6S + (64GB/Gold/Vodafone NZ) - Xperia Z C6603 (16GB/White/Spark NZ)

Sam, Auckland 

18 posts

+1 received by user: 2

  Reply # 1121946 4-Sep-2014 15:48
One person supports this post
Send private message

initially the dhcp server wont know that the ip addresses have been assigned statically to a device. it will offer the address to the client that that is requesting an address. the client should then test this address and if it finds it is in use it will send a DHCPDECLINE message back to the dhcp server. the client will then start the request for an ip address again. the dhcp server should then mark the declined ip address as a bad address and not try and give it out anymore

this is how it should work in theory.

you could make life simpler by setting the start of range of the addresses being handed out above the ip addresses of the printers. this will also allow you to manually assign other ip addresses in the low range you know is always available

4025 posts

Uber Geek
+1 received by user: 1076


  Reply # 1122051 4-Sep-2014 18:20
Send private message

Either put your static devices outside of the DHCP scope (but still within the subnet), or create reservations. Nice thing about reservations is that if you reset the configuration on those printers, itll just jump straight back on the right IP.

658 posts

Ultimate Geek
+1 received by user: 28

  Reply # 1122063 4-Sep-2014 18:42
Send private message

If you have to use static IP's for your printers it's probably better that you set them up in your DHCP server (mapping via mac address) instead of hard-coding on each individual printer.
Otherwise, would be a wee bit of an administrative nightmare I would've thought.

4956 posts

Uber Geek
+1 received by user: 1318


  Reply # 1122112 4-Sep-2014 19:53
Send private message

some DHCP servers have the option to test if an address is already in use before it hands out an address that would conflict.  Windows Server DHCP comes to mind.

834 posts

Ultimate Geek
+1 received by user: 260


  Reply # 1122130 4-Sep-2014 20:36
Send private message

nathan: some DHCP servers have the option to test if an address is already in use before it hands out an address that would conflict.  Windows Server DHCP comes to mind.

Circa Windows Server 2008 yes :-)

Create new topic

Twitter »

Follow us to receive Twitter updates when new discussions are posted in our forums:

Follow us to receive Twitter updates when news items and blogs are posted in our frontpage:

Follow us to receive Twitter updates when tech item prices are listed in our price comparison site:

News »

Intel introduces new NUC kits and NUC mini PCs
Posted 16-Aug-2018 11:03

The Warehouse leaps into the AI future with Google
Posted 15-Aug-2018 17:56

Targus set sights on enterprise and consumer growth in New Zealand
Posted 13-Aug-2018 13:47

Huawei to distribute nova 3i in New Zealand
Posted 9-Aug-2018 16:23

Home robot Vector to be available in New Zealand stores
Posted 9-Aug-2018 14:47

Panasonic announces new 2018 OLED TV line up
Posted 7-Aug-2018 16:38

Kordia completes first live 4K TV broadcast
Posted 1-Aug-2018 13:00

Schools get safer and smarter internet with Managed Network Upgrade
Posted 30-Jul-2018 20:01

DNC wants a safer .nz in the coming year
Posted 26-Jul-2018 16:08

Auldhouse becomes an AWS Authorised Training Delivery Partner in New Zealand
Posted 26-Jul-2018 15:55

Rakuten Kobo launches Kobo Clara HD entry level reader
Posted 26-Jul-2018 15:44

Kiwi team reaches semi-finals at the Microsoft Imagine Cup
Posted 26-Jul-2018 15:38

KidsCan App to Help Kiwi Children in Need
Posted 26-Jul-2018 15:32

FUJIFILM announces new high-performance lenses
Posted 24-Jul-2018 14:57

New FUJIFILM XF10 introduces square mode for Instagram sharing
Posted 24-Jul-2018 14:44

Geekzone Live »

Try automatic live updates from Geekzone directly in your browser, without refreshing the page, with Geekzone Live now.

Are you subscribed to our RSS feed? You can download the latest headlines and summaries from our stories directly to your computer or smartphone by using a feed reader.

Alternatively, you can receive a daily email with Geekzone updates.