clintonia wrote: » The DHCP server usually determines what your subnet mask is.
clintonia wrote: » Your router is most likely your DHCP server on your local network
clintonia wrote: » The subnet mask tells you how many IP addresses are in a particular network.
clintonia wrote: The DHCP server is the device that hands out the IP address that you will be using on that particular network. Your router is most likely your DHCP server on your local network, so any new computer/device that jumps onto your network gets a DHCP "configuration file" from your router which gives that device a specific IP address and subnet mask.
clintonia wrote: The subnet mask tells you how many IP addresses are in a particular network. This is important for routing. Say your system's IP address is 192.168.1.3 with a subnet mask of 255.255.255.0. If you want to reach another device on your network that has the IP 192.168.1.22, your computer knows the device you are trying to reach is in your same local network, based on the subnet mask that your DHCP server gave your local machine.
clintonia wrote: Now lets say that you want to reach a device with the IP address 192.168.3.1. Based on the subnet mask that your DHCP server gave your local machine, your computer knows the IP 192.168.3.1 is not on your local network, so it will send any packets destined for that IP to your router, who will then deliver the packet to the 192.168.3.x network and it will reach its intended target of 192.168.3.1
clintonia wrote: So TL;DR, the subnet mask defines how many IPs are in a particular network and the subnet mask is given by the DHCP server. When your computer goes to speak to another IP, it references the subnet mask to see if the target IP is in its local network or not. If its in the local network, it can just broadcast and find that target machine on the local network. If the IP isn't on the local network, it will have to deliver the packet to the router who will then properly deliver the packet to the intended recipient.
OfWolfAndMan wrote: » In a large corporate network, this is highly doubtful. Modularity should be applied to prevent excess loads on the hardware. Using the routers for the routing and a linux or windows-based server for DHCP services is more ideal. Unless your network is relatively small, then go for it.
gorebrush wrote: » No, not really. The DHCP Server assigns you an IP address out of a predetermined scope, depending on what VLAN, remote network, etc you are connected to. The DHCP Server itself doesn't determine the subnet mask. It is told what to give out.