Solved

DHCP per VLAN Cisco 3750

Posted on 2014-07-25
1
4,430 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
CCNA lab 6 50
igmp snooping in layer 2 switch 4 29
Price for Fiber 13 65
Why isn't my network passing a certain vlan. 24 46
The use of stolen credentials is a hot commodity this year allowing threat actors to move laterally within the network in order to avoid breach detection.
PRTG Network Monitor lets you monitor your bandwidth usage, so you know who is using up your bandwidth, and what they're using it for.
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…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

749 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