how can i setup DHCP to give out addresses on a VLAN interface?
i have VLAN 500 at 10.2.100.1 255.255.252.0
Netvanta 3120 R10.8.0.E
The DHCP server uses the network statement as a match so no need to specify an interface.
ip dhcp pool "vlan500-pool" ! Could be any name
network 10.2.100.0 255.255.252.0
dns-server www.xxx.yyy.zzz www.xxx.yyy.zzz ! DNS servers here
! any other options here
default-router 10.2.100.1 ! assumes you want the 3120 to be the gateway
The DHCP server uses the network statement as a match so no need to specify an interface.
ip dhcp pool "vlan500-pool" ! Could be any name
network 10.2.100.0 255.255.252.0
dns-server www.xxx.yyy.zzz www.xxx.yyy.zzz ! DNS servers here
! any other options here
default-router 10.2.100.1 ! assumes you want the 3120 to be the gateway
thank you!
I went ahead and flagged the "Correct Answer" on this post to make it more visible and help other members of the community find solutions more easily. If you don't feel like the answer I marked was correct, feel free to come back to this post to unmark it and select another in its place with the applicable buttons. If you have any additional information on this that others may benefit from, please come back to this post to provide an update. If you still need assistance, we would be more than happy to continue working with you on this - just let us know in a reply.
Thanks,
Noor