
Originally Posted by
bungiefan
Actually, the router uses DHCP to get an address from the ISP. You don't want to turn that off. What you want to do is to find the settings for the router being its own DHCP server, to assign addresses to your computers. That will tell you how many addresses it can assign and what the starting address is. Normal defaults for D-Link routers is 50 DHCP addresses, starting at 50 for the last octet, meaning 192.168.0.50 through 192.168.0.99 will be assigned by the router. If someone sets a device to use one of those addresses, the router can possibly assign them through DHCP to another device, causing an address conflict. So if you set static addresses, set them with numbers outside of that range, or decrease the number of hosts to something like 10 and work outside the new range.
As for setting the static addresses, you have to do it on each machine that connects. You tell the computer to let you manually set the IP address, subnet mask, default gateway, and DNS server addresses on each network card, and then pick a different last octet for each device. I like starting at 150 and working up from there.
Messing with the router settings only affects which numbers the router can give out if a device is set to auto-configure. Static addresses are manual. You can't make the router assign a static address, the point of DHCP is to automatically take care of assignments for you, but it does them in a way that a device can get a different address on a different day. Manual configuration is better once you know your networking, because you have more control to keep things from changing when they don't need to.