dslreports logo
 
    All Forums Hot Topics Gallery
spc
uniqs
18
elnino
join:2006-08-27
Akron, OH

elnino to kracksmith

Member

to kracksmith

Re: [Config] 4500 inter-vlan routing

said by kracksmith:

ok got it, then how does DHCP work if all departments has their own different subnet? manually static everybody?

You would use the "ip helper-address" command to forward DHCP requests. ip helper-address 172.16.1.20
kracksmith
join:2004-07-14
Fullerton, CA

kracksmith

Member

so if i have multiple subnets and I use IP helper-address how would the single DHCP server know what subnet to apply to each VLAN?

ua_hockey
join:2003-08-07
Columbus, OH

ua_hockey

Member

said by kracksmith:

so if i have multiple subnets and I use IP helper-address how would the single DHCP server know what subnet to apply to each VLAN?

Because the DHCP request will be sourced from the L3 interface on the switch. It will know where to send the DHCPOFFER based on which interface sent the request. For example, if you have an interface 192.168.1.1/24, it will send a request to the DHCP server for the 192.168.1.0/24 network. If you have a scope defined for that network, it will return an offer with a valid address on that network.