cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
jessepdx
New Contributor II

Netvanta 3120 VLAN DHCP

Jump to solution

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

0 Kudos
1 Solution

Accepted Solutions
jayh
Honored Contributor
Honored Contributor

Re: Netvanta 3120 VLAN DHCP

Jump to solution

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

View solution in original post

0 Kudos
3 Replies
jayh
Honored Contributor
Honored Contributor

Re: Netvanta 3120 VLAN DHCP

Jump to solution

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

0 Kudos
jessepdx
New Contributor II

Re: Netvanta 3120 VLAN DHCP

Jump to solution

thank you!

Anonymous
Not applicable

Re: Netvanta 3120 VLAN DHCP

Jump to solution

-

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