DHCP relay Agent in DELL switches
172.16.5.x Vlan 5
172.16.6.x Vlan 6
172.16.7.x Vlan 7
How would DHCP server know what computers in which VLAN or scope without using (MAC Address reservation) reservation for each computer.
Looking for relevant Networking Whitepapers? Visit the SearchNetworking.com Research Library.
astronomer | Mar 21 2007 12:12PM GMT
The relay agent needs to be on a device where it can receive the DHCP request, (broadcast), from the client. This is normally done on the router but doesn’t have to be. The relay agent uses the IP of the interface receiving the request to determine the subnet the request is on. The appropriate subnet IP is added to the request before it is sent to the DHCP server. This way, the DHCP server knows what subnet the request is from. The DHCP server then offers an IP from a scope appropriate for that subnet and sends it back to the DHCP relay device.
Here is how cisco describes the process:
1. The DHCP client generates a DHCP request and broadcasts it on the network.
2. The DHCP relay agent intercepts the broadcast DHCP request packet and inserts the relay agent information option (option 82) in the packet. The relay agent information option contains the related suboptions.
3. The DHCP relay agent unicasts the DHCP packet to the DHCP server.
4. The DHCP server receives the packet and uses the suboptions to assign IP addresses and other configuration parameters and forwards them back to the client.
Another option for a network as small as yours is to add interfaces to the DHCP server so it can sit on every subnet. This allows the DHCP server to directly respond to the request broadcasts without needing a DHCP relay.
Does this answer all of your concerns?
rt
Buddyfarr | Feb 21 2008 6:14PM GMT
jmweber is correct, if the DHCP server is connected to this switch and doesn’t have a router in between it and that switch the vlans are on then you do not have to go any further. the dell switch should forward the DHCP request onto the server showing that it came from vlan 172.x and the DHCP server should give out addresses accordingly.