Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

VLAN and DHCP

Posted on 2006-06-24
11
Medium Priority
?
944 Views
Last Modified: 2010-03-19
I need to split my network into 4 vlans (1 per building on campus). I currently use the 3060 Pro as my dhcp server located in my admin building for everyone, all switches are Cisco. Anyone have an idea how to config dhcp so that the outlying vlans will still be able to get their ip addresses, since broadcasting will be blocked??

thanks
Randy
0
Comment
Question by:rhcellxion
[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
  • 3
  • 3
  • 2
  • +1
11 Comments
 
LVL 96

Accepted Solution

by:
Lee W, MVP earned 252 total points
ID: 16976593
You should be able to configure the Cisco switches to forward DHCP requests while NOT forwarding the other broadcasts.

Here's a reference posting:
http://networking.ittoolbox.com/groups/technical-functional/cisco-infrastructure-l/forward-dhcp-requests-1050836
0
 
LVL 11

Expert Comment

by:grsteed
ID: 16976601
If you use the command "ip helper-address <DHCP Server-Address> on the router interface for each VLAN that will forward all broadcasts to the DHCP server, which is a common approach.

You may also be able to configure a DHCP Relay-Agent which will only forward DHCP request.

Cheers,

Gary
0
 
LVL 96

Expert Comment

by:Lee W, MVP
ID: 16976610
Just pointing out, that's exactly what the link I provided says.
0
Looking for the Wi-Fi vendor that's right for you?

We know how difficult it can be to evaluate Wi-Fi vendors, so we created this helpful Wi-Fi Buyer's Guide to help you find the Wi-Fi vendor that's right for your business! Download the guide and get started on our checklist today!

 
LVL 79

Expert Comment

by:lrmoore
ID: 16976711
That all depends . . . .
What model Cisco switches? Only layer 3 switches can forward the dhcp broadcasts and use the ip helper-address command..
0
 

Author Comment

by:rhcellxion
ID: 17208661
I've got another question concerning trunks.  When creating the vlans, do I leave the uplink ports, that will be trunks on vlan1, or change them to the vlan that all of the other ports are on?  I thought I read somewhere that you should always keep the trunk ports on vlan1.

what I'm seeing is that if I leave the trunk on vlan1, I can telnet to the switch from anywhere as long as the computer is plugged in to a different switch.  If it's on the same switch,  they won't talk.  If I change the native vlan of the trunk, it will talk when plugged in to the same switch.
0
 
LVL 79

Assisted Solution

by:lrmoore
lrmoore earned 248 total points
ID: 17209407
When you create vlans, and you have more than one switch participating in the same vlan, then the trunk port carries all the active vlans. By default a trunk port carries all vlans.
If you assign the switch's IP address to vlan 1 and assign all ports on that switch to say, vlan2, then of course you can't telnet to the switch from anything connected to any other port that is not in vlan 1.
If you want to be able to telnet to the switch from anywhere, then you need layer 3 routing between the different vlans.
0
 

Author Comment

by:rhcellxion
ID: 17209414
Thanks, after I posted and read it, that's what I figured out.  I appreciate the help, and will surely be posting more here as I continue through this process.
0
 

Author Comment

by:rhcellxion
ID: 17209438
But is it true that the default vlan1 is used for management, and it's recommended that you keep all trunk ports on vlan1 for that reason??  Or could I just put the trunks on the same native vlan as the other ports on that switch?
0
 
LVL 79

Expert Comment

by:lrmoore
ID: 17210824
>But is it true that the default vlan1 is used for management,
By default, yes, but you can change the management vlan anytime you want to.
From a network management perspective, I like to keep management on vlan1 simply because any new switch out of the box is configured for vlan1 and if someone plugs one into the network, I can see it and touch it.
Trunk ports are not specifically a member of any vlan, they "carry" the vlan information between switches.

0

Featured Post

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

Question has a verified solution.

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

For many of us, the  holiday season kindles the natural urge to give back to our friends, family members and communities. While it's easy for friends to notice the impact of such deeds, understanding the contributions of businesses and enterprises i…
This month, Experts Exchange’s free Course of the Month is focused on CompTIA IT Fundamentals.
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.
In this brief tutorial Pawel from AdRem Software explains how you can quickly find out which services are running on your network, or what are the IP addresses of servers responsible for each service. Software used is freeware NetCrunch Tools (https…

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