Solved

Catalyst 3750 DHCP to VLANS

Posted on 2008-10-06
3
1,419 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

Don't miss ATEN at NAB Show April 24-27!

Visit ATEN at NAB Show to learn how our "Seamlessly Entertaining" solutions deliver fast, precise video streaming without delays for the broadcasting and media environment. ATEN will showcase its 16x16 Modular Matrix Switch (VM1600) and KVM Over IP Solution (KE6900 series).

Question has a verified solution.

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

Quality of Service (QoS) options are nearly endless when it comes to networks today. This article is merely one example of how it can be handled in a hub-n-spoke design using a 3-tier configuration.
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.
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.
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…

730 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