Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

My network and my neighbors network are connected (we share my server). We both have our own WAN-connection to the internet. Right now we use the following setup:

Neighbor: Internet --> router (, DHCP off) --> network devices (pc’s with static IP’s using as gateway)

My setup: Internet --> router (, DHCP on) --> network devices (all automatically determined IP’s through DHCP)

The two networks are connected with a network cable between a switch at my house and a switch at my neighbor’s house.

In essence this all works fine. But if my neighbour doesn’t specify a static IP on his devices they receive an IP from my dhcp-server and they use my internet connection to go online.

So is there a way to have 2 DHCP servers enabled on my network. One for my neighbour to use and one for me? So that we both use our own internet connections but still remain connected to each other.

I’m guessing there must be a simple solution but I cannot seem to find one. Who has any ideas?


share|improve this question

migrated from Mar 9 '13 at 19:59

This question came from our site for professional and enthusiast programmers.

up vote 0 down vote accepted

Unfortunately there is no "easy solution" to use two DHCP servers on the network. DHCP is first come first served, so which ever server responds first will be the one the configuration is pulled from.

You can set up DHCP servers to give different settings to different computers based on MAC address. However, the software built in to consumer grade routers do not support things like that. 3rd party firmware that would support it (DD-WRT or similar) I would not call the DHCP setup process "easy" to support different results based on MAC addresses.

Your best option, without buying more hardware, is stop using DHCP on both networks and configure your network to use static IP's too.

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .