Wireless Networks Thread, 2 DHCP's on 1 Network in Technical; Hi All I have DHCP running on my server at my house and my neighbor is on the same network, ...
14th November 2008, 04:59 PM #1
2 DHCP's on 1 Network
Hi All I have DHCP running on my server at my house and my neighbor is on the same network, We have 2 internet routers, and when he plugs a network cable in to his pc's etc he gets assigned an IP address from my server but it points his computers to my internet router is there anyway of having a DHCP at his house which assigns his computers with an IP address and then having all the computers talk to each other still? Thanks Steven.
IDG Tech News
14th November 2008, 05:07 PM #2
You can't have two DHCP on one network, ok there are ways round this, but it gets complex. I would just use static IPs.
Why may I ask are you on 1 network, but with two internet connections? Is that correct?
14th November 2008, 05:11 PM #3
He has a home setup and has a common network with his mate nextdoor. I presume this is so they can share resources and then play LAN games. He doesn't want his mates computers using his internet connection.
Originally Posted by matt40k
Im thinking use a linux firewall between the physical connection and block the DHCP port, Thats as far as my knowledge goes on that thought. Can someone recomend a product for this?
14th November 2008, 05:13 PM #4
Without knowing more about the reasoning behind the set up it's difficult to advise but yes, a firewall could work, as could several other ideas.
14th November 2008, 05:17 PM #5
If I understand what you want correctly, the answer is it can be done but you'll have to change your network setup.
The first step would be to split it into two separate networks. They will need to be totally separate, no cables directly between the two. Each would be set up to get DHCP addresses from their own router.
Make sure each router is on totally separate subnets. 192.168.1.x/255.255.255.0 and 192.168.2.x/255.255.255.0 will do fine.
Now the trickey part. You'll need a pc with two NIC's. This PC should have 1 NIC plugged into each network. You then basically need to bridge the NIC's. I'd prefer a standalone machine running Linux to do this personally.
Finally, you need to add a route rule to each PC on each network pointing to the bridging NIC on their side of the network.
So for the 192.168.2.x network (from memory):
route add -p 192.168.1.0 255.255.255.0 192.168.2.x
and for 192.168.1.x:
route add -p 192.168.2.0 255.255.255.0 192.168.1.x
replacing x with the IP of the appropriate NIC on the bridging server.
There is a place within the windows DHCP settings (can't remember of top of head where) where you can put this rather than go round each machine and adding it manually. Your neighbours router may or may not have the option to send this info out with DHCP rather than doing it on each machine manually.
14th November 2008, 10:08 PM #6
Just asking ... but could you not do this if you add a second IP address to a single NIC? I know they're pennies now but ....
Originally Posted by tmcd35
15th November 2008, 12:01 AM #7
If the DHCP servers can be configured to only allocate addresses to known MAC addresses then reservations could be set up in each DHCP server.
15th November 2008, 07:41 AM #8
am presuming you mean you could do that from each of there routers but you would still need a firewall or something to stop dhcp on each of there networks from conflicting.
Originally Posted by ajbritton
15th November 2008, 07:55 AM #9
AFAIK, no. Pretty much as has been said before (by others) you don't want DHCP traffic from 1 network infiltrating the other, thus the use of a bridge/gateway machine between the two network.
Originally Posted by Heebeejeebee
The important bit is that the physical cabling for the two networks are kept totally separate.
15th November 2008, 04:49 PM #10
stick with single networks and use a program called HAMACHI. It opens up your network for your usage only so you can fileshare, play lan games and various other features that you would get on a network.
I use it and I am on a virtual network with my brother in glasgow and my father in law in America. Works fine for us.
15th November 2008, 05:27 PM #11
Is there something like that for os x ( 10.5 ) aka Leopard ?
Originally Posted by nephilim
15th November 2008, 06:01 PM #12
Basically its a VPN right?
Originally Posted by nephilim
15th November 2008, 06:12 PM #13
effectively it is an online virtual network. Much like a VPN but unlike a VPN, you can play LAN games.
And yes I believe there is a version for MAC OSX Leopard.
https://secure.logmein.com/products/...pn.asp?lang=en < Download link to HAMACHI
15th November 2008, 06:13 PM #14
I didn't know that, why?
Much like a VPN but unlike a VPN, you can play LAN games.
15th November 2008, 06:15 PM #15
a VPN like a Cisco VPN physically will not allow games to play due to the port restrictions that it has, but HAMACHI does not have port restrictions on games.
Thanks to nephilim from:
FN-GM (15th November 2008)
By link470 in forum Wireless Networks
Last Post: 9th February 2010, 08:27 AM
By atfnet in forum Courses and Training
Last Post: 20th August 2009, 11:45 AM
Last Post: 15th February 2008, 04:22 PM
By woody in forum Windows
Last Post: 1st December 2007, 06:27 PM
By broc in forum Network and Classroom Management
Last Post: 10th July 2007, 11:54 AM
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)