Solved

DHCP per VLAN Cisco 3750

Posted on 2014-07-25
1
4,003 Views
1 Endorsement
Last Modified: 2014-07-25
Hey guys,

I need to run DHCP just for one of my vlans (voice) on my 3750G's. How do i do this?

Thanks!
1
Comment
Question by:Cobra25
1 Comment
 
LVL 10

Accepted Solution

by:
Rafael earned 500 total points
ID: 40220258
Create a VLAN for the DHCP IP addresses you want to use.
Router(config)#Interface vlan 20
Router(config)#ip address y.y.y.y y.y.y.y
Router(config)#exit

Then create the DHCP pool on the switch and exclude some addresses.

Router(config)# ip dhcp pool mypool
Specify the network and subnet for the addresses you want to use from the pool.
Router(dhcp-config)# network 1.1.1.0 /8  
Specify the DNS domain name for the clients.
Router(dhcp-config)#domain-name mydomain.com
Specify the primary and secondary DNS servers.
Router(dhcp-config)#dns-server 1.1.1.10 1.1.1.11
Specify the default router (i.e., default gateway).
Router(dhcp-config)#default-router 1.1.1.1
Specify the lease duration for the addresses you're using from the pool.
Router(dhcp-config)#lease 7
Exit Pool Configuration Mode.
Router(dhcp-config)#exit
Router(config)#exit

Don't forget to use the "ip dhcp excluded-address 10.10.10.1 10.10.10.100" (for example) to block off part of the subnet if needed.

Unless your DCHP server is off on another broadcast domain, you won't need a helper-address command.

HTH

-Rafael
0

Featured Post

Zoho SalesIQ

Hassle-free live chat software re-imagined for business growth. 2 users, always free.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
Cisco 2960 PACL 9 49
vm nic duplex 1 46
Configure HP 5500 Switch with Comware 15 49
Login to computer through Admin Priviligies 9 54
Security is one of the biggest concerns when moving and migrating your data from your on-premise location to the Public Cloud.  Where is your data? Who can access it? Will it be safe from accidental deletion?  All of these questions and more are imp…
If you are thinking of adopting cloud services, or just curious as to what ‘the cloud’ can offer then the leader according to Gartner for Infrastructure as a Service (IaaS) is Amazon Web Services (AWS).  When I started using AWS I was completely new…
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…

744 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now