Solved

Catalyst 3750 DHCP to VLANS

Posted on 2008-10-06
3
1,422 Views
Last Modified: 2012-08-14
port 1: VLAN1, VLAN2, VLAN3
Port2: VLAN5, VLAN6
Port7: VLAN8

i want to enable DHCP from switch, which has 8 IP ranges
and each VLAN i want to assign different IP range
is this possible from 3750 switch
0
Comment
Question by:ammadeyy2020
[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
  • 2
3 Comments
 
LVL 16

Expert Comment

by:Aaron Street
ID: 22649256
yes you need to set the dhcp helper/relay address.

If each vlan interface is taged with a ipaddress / subnet then the packets are forwarded to the DHCP server tag with this network information

if the DHCP server has a scope that this information falls in then it will reply with a valid IP address..

the command is something like

ip dhcp ?

and of the top of my head i cant rwember the rest.. give me a few min
0
 
LVL 16

Accepted Solution

by:
Aaron Street earned 250 total points
ID: 22649712
ok let me do it this way lol

#conf t
int vlan a/b/c/etc..
ip helper-address xxx.yyy.vvv.zzz

and like I said. what ever ip you have given the vlan interface. the DHCP packets will be forwarded to the DHCP server taged wioth this network information. IF the DHCP server has a scope that matched this network address it will return a ipaddress.

so jsut set up each vlan on the switch with the ipaddress range you need.
0
 
LVL 10

Assisted Solution

by:ngravatt
ngravatt earned 250 total points
ID: 22651751
create a DHCP scope for each of the vlans (using the correct IP addresses)

Here is a sample config from my switch.  We have two DHCP ranges, one for VLAN 70 and one for VLAN 75.  The switch will know which DHCP pool to use because the port is set to one of the VLANs.  The 'default-router' command points to the IP address of the VLAN

ip dhcp pool servers
   network 10.7.70.0 255.255.255.0
   default-router 10.7.70.1
   option 60 ascii "Airespace.AP1200"
   dns-server 10.136.24.20
   domain-name xxx.org
!
ip dhcp pool WLAN_DATA1
   network 10.7.75.0 255.255.255.0
   default-router 10.7.75.1
   domain-name xxx.org
   dns-server 10.136.24.20
   option 150 ip 10.36.254.81
!
0

Featured Post

Forrester Webinar: xMatters Delivers 261% ROI

Guest speaker Dean Davison, Forrester Principal Consultant, explains how a Fortune 500 communication company using xMatters found these results: Achieved a 261% ROI, Experienced $753,280 in net present value benefits over 3 years and Reduced MTTR by 91% for tier 1 incidents.

Question has a verified solution.

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

Getting hacked is no longer a matter or "if you get hacked" — the 2016 cyber threat landscape is now titled "when you get hacked." When it happens — will you be proactive, or reactive?
How to set-up an On Demand, IPSec, Site to SIte, VPN from a Draytek Vigor Router to a Cyberoam UTM Appliance. A concise guide to the settings required on both devices
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…
There's a multitude of different network monitoring solutions out there, and you're probably wondering what makes NetCrunch so special. It's completely agentless, but does let you create an agent, if you desire. It offers powerful scalability …
Suggested Courses

688 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