2

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.

Ian
  • 165
  • 5

1 Answers1

3

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.

Chopper3
  • 100,240
  • 9
  • 106
  • 238
  • 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 07: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