Originally posted by: SectorZero
You can set up all the scopes for different subnets you want, but your DHCP server will only hand out an IP for a different subnet if the request comes through a router or a DHCP relay agent. This request will be a multi cast, the packet will contain the IP info from the subnet the request originated from and the DHCP server will hand out an address from the co-responding scope.
If the DHCP request arrives as a broadcast, this means the requesting host is on the same subnet. The DHCP server will hand out an IP from a scope that handles it's own subnet.
If you want different IP configurations for certian hosts on your own subnet, you will have to configgure options for Classes, then associate the host for a speciffic class using "ipconfig setclassid" from the commandline.
Clear?
Originally posted by: SectorZero
Certian Routers can forward DHCP requests, but as a general rule broadcasts don't pass through routers. So if a DHCP server recieves a request in the form of a broadcast it knows to dishout an IP on it's own subnet.
If a DHCP request comes in by way of a DHCP relay agent or a compliant router, the packet will contain info about its originating subnet. THat's how the DHCP server knows what scope to hand out an IP from.
This is all handled automagically by the DHCP server.
Originally posted by: jjyiz28
since a dhcp client needs to get its IP info from a dhcp server, how will you be able to tell which network it is on in the first place to get the correct scope?
Originally posted by: SectorZero
Sorry, I re-read your post.
Ok, lemmee see if I got this straight this time.
You have one 16 port switch. The Multi homed server is your router NOT your DHCP server.
If you plug another DHCP client into your switch it will BROADCAST a DHCP request.
Broadcasts do not pass through routers.
THerefore the DHCP client will recieve an IP from the 192.168.0.0/24 scope