ally_uk wrote: » This one is for the masters of Networking. Currently we have a network Setup with a router which is also handling DHCP: the network is operating on the 192.168.1 range of I.P Now I wish to create a isolated lab environment in which I want to setup a Server running WDS and this server running one nic would be connected to a isolated switch. The server itself would be running it's own DHCP server as machines would obviously have to be able to contact WDS services. Now the first question for the guild of networkers: 1) Can I give the server any static ip address if it is separate from our main network and would it still function as a DHCP server if it is isolated? 2) If I decided not to keep the server isolated and added it to our main network and ran the DHCP server how can I avoid it conflicting with our current DHCP setup? I am not to clued up on networking so break it down for me guys explain the magic of subnet masks. I will take a wild guess and say if I say set the i.p to 192.168.2.1 as opposed to 192.168.1.1 it would work? Thank you for the patience and guidance my friends as always.
PCTechLinc wrote: » The ip helper is going to help any DHCP client find a DHCP server in a different physical subnet. The problem is that the DHCPDiscover packet is going to be a broadcast. You aren't going to be able to have two different DHCP servers on the same subnet, unless they are being used for load balancing. Additionally, you have a more complicated setup that WDS REQUIRES Active Directory, which also REQUIRES your WDS/DHCP server to be trusted by Active Directory, otherwise your DHCP scope won't work. If you want your WDS server to provide PXE services and not interfere, you'll have to separate the links and make sure it sees the broadcast separately. I'm doing this in my head, so please forgive me for not providing further details. My opinion is to keep it isolated, and only join it to the production network if you know in advance what it will end up doing. Last thing you want is a rogue DHCP server handing out the wrong addresses to the wrong clients.
hurricane1091 wrote: » The DHCP discover is a broadcast, but when using IP Helpers, is the broadcast still flooded out or is it intercepted by say the layer 3 switch, and then forwarded as a unicast? This is something I've wondered but never really did make an attempt to learn more about, but this is as good a time as any to learn something lol.
PCTechLinc wrote: » I know, it's really confusing! When you use an ip helper, the agent sends a unicast to the DHCP server, which is why you can have it travel multiple hops. Then, when the DHCP server responds, it sends a unicast reply back to the helper, and the helper sends it back to the MAC that requested. The reason why your phone works just fine is because of the VLAN tagging. A PC connected to the switch interface inline of an IP phone is still seen as on another network because of the VLAN tagging. I only have experience with Avaya IP phones, but in their configurations, you tell it to which VLAN it belongs, and the IP address of the DHCP server. That's how it knows which traffic to tag or not. I would assume Cisco IP phones would be configured in a similar manner. Best way for the whole situation though is to create a virtual lab that has all these elements. Could be done with GNS3 and Virtualbox, with a computer that has enough hardware resources. Added benefit is being able to use Wireshark from within GNS3 to see everything.
ally_uk wrote: » Its ok guys I have no idea what you are talking about Anyways maybe I need to explain a bit better If I setup a server with one network card and have it connected to a switch and configure it with with say a i.p address of 192.168.1.2 would it still function as a DHCP server? Bearing in mind it is isolated and wouldn't have internet or connections to a router. I guess the bit which is confusing myself is because obviously the server wouldnt be connected to s router. When assigning an i.p address what would I set the gateway address as? Or would it be the localhost? Basic layout is Server connected directly to switch. I then plug clients in and they are given a i.p address from the server for PXE boot related operations. ^ that is what I am trying to achieve but in isolation from main network.
ally_uk wrote: » Ok our main network is connected to a router that is handling DHCP. Ignore this network. I want to plug in a server separately assign it a static I.P and then connect it directly to a 6 port switch. The server doesn't need Web access it is a lab environment and is seperate. This server will be running server 2012 and will need to be setup as a DHCP server as I want anything that is plugged into the switch to get a I.p address from this server. The question is when setting up I.p credetials for this server what do I specify the gateway as? Am I right in leaving it blank as there isn't a gateway or is the server acting as a gateway? My head hurts