Prevent PC from getting DHCP from router

Discussion in 'Networking Issues' started by stormy, Apr 19, 2012.

  1. stormy

    stormy Networkin' Nut Member

    I have two routers + Tomato 1.28, connected together, the problem is that PCs (required to have DHCP) obtain the IP from each of the servers randomly. I would like to restrict PC1 to router1, and PC2 to router2. Both routers need to have DHCP enabled.. Even if PC1 is physically wired to router1, still it can obtain an IP from router2..

    Any ideas
  2. stormy

    stormy Networkin' Nut Member

    I think the fix has to come on the Router side, not on the PC side.
    The request is to have the ability to control which of the 2 dhcp servers will give the IP to the PCs.
    Assume two servers: S1, S2
    And 2 PCs, P1, P2

    now, the servers are connected to each other, on the same network, so S1 S2 are connected, assume one IP is and second is

    Both must run DHCP (probably on different ranges). At this point, PC P1 or P2 can get the DHCP serviced from either S1 or S2. The request is to be able to control that. so that say P1 will always get it from S1, and P2 from S2.

    There is no issues on the PCs, the get the IP just fine, just randomly from S1 or S2...
  3. gschnasl

    gschnasl Addicted to LI Member

    It's better to use only 1 enabled DHCP server in the network.

    But you can try following:
    On router1 assign a static dhcp ip for pc1, on router2 assing a static dhcp ip for pc2. Check also the option "Ignore DHCP request from unknown devices" (I'm using Tomato 1.28 by shibby).
  4. stormy

    stormy Networkin' Nut Member

    If u see top of post, I too am using Tomato 1.28. I already allocate a static IP on each router to each PC, but still, when they actually request , they may get a reply from any one of the dhcp servers (routers). anyways, no big deal, I'll learn to live with it. What I do is disable DHCP on one router, power cycle the needed devices, then re-enable it.
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice