Hi
I have test platform network running server 2012, the PCs are cat cabled back to the network switch. All the PCs connect to the domain.
I also have several wifi devices (laptops/tablets/smartphones) which connect the internet but not the server or domain. The Virgin Media router also has DHCP.
The router is fixed to 192.168.1.1 The server is fixed to 192.168.1.2
I've also set the ranges for DHCP so the server has 192.168.1.10 to 192.168.1.230 The router has the range 192.168.1.239 and above.
My thinking was if anything logs into the domain it will take the server DHCP IP address range and wifi devices from the router DHCP IP range.
Having checked all the connected devices they all seem to be 239 and above.
It appears it is a bad idea to have 2 DHCP servers but not sure if this will stop the tablets and smartphones getting a connection.
Could anyone point me towards best practices please. Not sure if I can turn off DHCP on the server altogether.
Regards Graham
--- This email has been checked for viruses by Avast antivirus software. https://www.avast.com/antivirus
Best practice would possibly be to have them on different subnets.
Some expensive routers have VLAN. Can it help?
On Tue, Feb 23, 2016 at 5:29 PM, Alan Bourke alanpbourke@fastmail.fm wrote:
Best practice would possibly be to have them on different subnets.
On Tue, Feb 23, 2016 at 3:42 AM, Graham Brown info@compsys.co.uk wrote:
My thinking was if anything logs into the domain it will take the server DHCP IP address range and wifi devices from the router DHCP IP range.
I think this is wishful thinking. On startup, the ethernet devices essentially broadcast a plea over the network, "Who can give me an IP address?" and pick one of the responders. IIRC, the first to answer, but no guarantee who.
It appears it is a bad idea to have 2 DHCP servers but not sure if this will stop the tablets and smartphones getting a connection.
It sounds like a bad idea to me.
Is there a reason why you can't just turn off the DHCP server on the Win 2012 box?
https://technet.microsoft.com/en-us/library/cc778064(v=ws.10).aspx
Hi
No reason why Server 2012 DHCP can't be turned off, just trying to understand the implications of doing so. It is one of the things I've never found "best practice", if there is such a thing, just different opinions. Even the MCSEs I know tend to look blank at me on this one...!
Bigger networks will have wired and wireless devices so I wouldn't think I'm doing anything out the ordinary. Not even sure if I should care if it is the first responder giving the IP address, this never seems to be the server in any case as it is always the higher range.
Different subnets sounds interesting though, I'll have a read on that one.
-----Original Message----- From: ProFox [mailto:profox-bounces@leafe.com] On Behalf Of Ted Roche Sent: 23 February 2016 11:39 To: profox@leafe.com Subject: Re: [NF] Two DHCP servers on a network - Changed to [NF]
On Tue, Feb 23, 2016 at 3:42 AM, Graham Brown info@compsys.co.uk wrote:
My thinking was if anything logs into the domain it will take the server DHCP IP address range and wifi devices from the router DHCP IP
range.
I think this is wishful thinking. On startup, the ethernet devices essentially broadcast a plea over the network, "Who can give me an IP address?" and pick one of the responders. IIRC, the first to answer, but no guarantee who.
It appears it is a bad idea to have 2 DHCP servers but not sure if this will stop the tablets and smartphones getting a connection.
It sounds like a bad idea to me.
Is there a reason why you can't just turn off the DHCP server on the Win 2012 box?
https://technet.microsoft.com/en-us/library/cc778064(v=ws.10).aspx
-- Ted Roche Ted Roche & Associates, LLC http://www.tedroche.com
[excessive quoting removed by server]
Different subnets or reserved ranges for each server will certainly give you what you want.
If the two servers are part of an Active Directory Domain with DHCP running on the AD box then whichever server you authenticate onto should replicate itself to the other server but if you haven't got a domain then there is a high chance of having duplicate IP's issued if you don't apply restricted IP ranges to each DHCP server.
Dave
-----Original Message----- From: ProFox [mailto:profox-bounces@leafe.com] On Behalf Of Graham Brown Sent: 23 February 2016 13:01 To: 'ProFox Email List' profox@leafe.com Subject: RE: [NF] Two DHCP servers on a network - Changed to [NF]
Hi
No reason why Server 2012 DHCP can't be turned off, just trying to understand the implications of doing so. It is one of the things I've never found "best practice", if there is such a thing, just different opinions. Even the MCSEs I know tend to look blank at me on this one...!
Bigger networks will have wired and wireless devices so I wouldn't think I'm doing anything out the ordinary. Not even sure if I should care if it is the first responder giving the IP address, this never seems to be the server in any case as it is always the higher range.
Different subnets sounds interesting though, I'll have a read on that one.
-----Original Message----- From: ProFox [mailto:profox-bounces@leafe.com] On Behalf Of Ted Roche Sent: 23 February 2016 11:39 To: profox@leafe.com Subject: Re: [NF] Two DHCP servers on a network - Changed to [NF]
On Tue, Feb 23, 2016 at 3:42 AM, Graham Brown info@compsys.co.uk wrote:
My thinking was if anything logs into the domain it will take the server DHCP IP address range and wifi devices from the router DHCP IP
range.
I think this is wishful thinking. On startup, the ethernet devices essentially broadcast a plea over the network, "Who can give me an IP address?" and pick one of the responders. IIRC, the first to answer, but no guarantee who.
It appears it is a bad idea to have 2 DHCP servers but not sure if this will stop the tablets and smartphones getting a connection.
It sounds like a bad idea to me.
Is there a reason why you can't just turn off the DHCP server on the Win 2012 box?
https://technet.microsoft.com/en-us/library/cc778064(v=ws.10).aspx
-- Ted Roche Ted Roche & Associates, LLC http://www.tedroche.com
[excessive quoting removed by server]
Graham, Ted is correct that wi-fi devices will attach to whatever network or DHCP provider to which they can secure a connection first. So the trick is to allow them to only connect to one and not the other.
We have a very similar setup at our office. Our 48-port switch is the main DHCP provider, and its IP address is 10.0.2.1. Our outside Internet connection is on 10.0.2.2. The servers are on 10.0.2.4 and 10.0.2.5. All of our end-users cabled devices have static IP addresses set between 10.0.2.10 and 10.0.2.223.
Also cabled to the switch are three wireless routers. Two of these are password-protected and have their DHCP set to provide addresses 10.0.2.224 and above. The other wireless router is not password-protected and has its DHCP set to provide addresses in the 192.168.1.1 - 192.168.1.255 range.
When an employee or visitor brings a new device into the office, they can only connected to the open (192.168.1.x) network where get only an Internet connection and cannot see any other devices or shared drives. Connecting the wireless device to our main (10.0.2.x) network instead is a two-step process. First, we connect to one of the password-protected routers; second, we move the password-protected connection higher in the device's list of saved network connections than the unprotected network so that it will be able to access other shared devices the next time it's brought to the office.
HTH.
Mike
~~~~~~~~~~~~~~~~~~~~~~
-----Original Message----- From: ProfoxTech [mailto:profoxtech-bounces@leafe.com] On Behalf Of Ted Roche Sent: Tuesday, February 23, 2016 4:39 AM To: profoxtech@leafe.com Subject: Re: [NF] Two DHCP servers on a network - Changed to [NF]
On Tue, Feb 23, 2016 at 3:42 AM, Graham Brown info@compsys.co.uk wrote:
My thinking was if anything logs into the domain it will take the server DHCP IP address range and wifi devices from the router DHCP IP
range.
I think this is wishful thinking. On startup, the ethernet devices essentially broadcast a plea over the network, "Who can give me an IP address?" and pick one of the responders. IIRC, the first to answer, but no guarantee who.
It appears it is a bad idea to have 2 DHCP servers but not sure if this will stop the tablets and smartphones getting a connection.
It sounds like a bad idea to me.
Is there a reason why you can't just turn off the DHCP server on the Win 2012 box?
https://technet.microsoft.com/en-us/library/cc778064(v=ws.10).aspx
-- Ted Roche Ted Roche & Associates, LLC http://www.tedroche.com
[excessive quoting removed by server]