Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I have read the canonical question Can I have multiple DHCP servers on one network?, and have a follow up question.

A simplified explanation of my setup...

client1 ----- router1 ----------------- router2 ----- client2

Essentially, I would like client1 to get an address from router1 (& client2 from router2). These clients download firmware from a TFTP server on the router they're connected directly to (TFTP address is same as default gateway address), so I don't want client1 getting firmware from router2 when it is connected directly to router1.

The reason for this logic is that if router2 were to fail, client2 could be connected directly to router1, and would then get it's firmware from router1 without any further configuration. Vice versa if router1 failed. I want DHCP for this reason. (There are also more than 2 routers in reality)

Can anyone suggest how I could implement this please. If there is a far more straightforward way to accomplish the same, please advise.

Many thanks.

share|improve this question
1  
routers are interconnected via ethernet –  Ian Sep 25 '12 at 10:36
add comment

1 Answer

up vote 2 down vote accepted

Just make each router provide DHCP services locally, by default Client2 couldn't get an address from Router1 or vice versa, they clients will only get addresses from their local routers.

share|improve this answer
    
Hi, thanks for reply. I have set up these routers, but my devices are getting IP addresses from a router other than the one it's directly physically connected to. –  Ian Sep 27 '12 at 7:48
    
I got this working when I set up routing between my routers, rather than linking with a switch. Thanks for your answer. –  Ian Oct 11 '12 at 13:24
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.