Solved

ip dhcp relay

Posted on 2013-06-18
8
257 Views
Last Modified: 2013-10-31
This is my setup:
DHCP server<-->core switch (L3) <--> sw1 (L2) <-->sw2 (L2) <---> PC1

PC1 is using dhcp. But it could not get the DHCP from the server. If I configure it with a static IP address, everything works. Somebody suggested enabling dhcp relay on sw1. But I disagree because from my understanding, the dhcp relay is used to forward DHCP traffic between 2 different subnets. Furthermore, I don't think the layer 2 switch can do dhcp relay. Any thoughts would be greatly appreciated. Thx
0
Comment
Question by:leblanc
8 Comments
 
LVL 9

Accepted Solution

by:
gt2847c earned 250 total points
ID: 39257066
DHCP relay would be enabled on the L3 switch.  The VLAN interface routing for the PC would have to forward it as it has knowledge of the origination subnet...
0
 
LVL 1

Expert Comment

by:JoPeLo
ID: 39257162
Looking at your layout, I believe the DHCP server is in a different subnet (VLAN?) of PC1. If so, you should configure the DHCP relay on your core switch L3. In cisco gear, the DHCP relay agent is configured using the ip helper-address interface command.
If the DHCP server is in the same VLAN of your PC1, and supposing you are not using PVLANs, you should look for trunk misconfiguration in all trunk configurations in sw1, sw2 and core switch (is that VLAN allowed in all trunk interfaces?) and/or if that VLAN exists in all switches.

Hope it helps.

jopelo
0
 
LVL 1

Author Comment

by:leblanc
ID: 39257310
I am not using PVLAN. I will check the trunk configuration.
0
 
LVL 16

Assisted Solution

by:vivigatt
vivigatt earned 250 total points
ID: 39259948
Are the DHCP server and the client(s) in the same subnet?
If so, you need a DHCP relay (ip helper in Cisco world).
If not, this is something else...
0
Zoho SalesIQ

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

 
LVL 1

Author Comment

by:leblanc
ID: 39262584
Yes dhcp server and the client are in the same subnet and same vlan.
0
 
LVL 16

Expert Comment

by:vivigatt
ID: 39262657
OK, so you don't need DHCP relay.
You must make sure that broadcast packets are handled correctly from end-to-end
0
 
LVL 1

Assisted Solution

by:leblanc
leblanc earned 0 total points
ID: 39266210
I found out that the vlan where the dhcp server is  connected to was not configured.
0
 
LVL 1

Author Closing Comment

by:leblanc
ID: 39613558
i found out that the dhcp sever was no configured correctly
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
LAN or WAN ? 11 63
Cisco Sup720 Migrate to Sup2T 5 38
Network Connection 5 34
Server Room Hardware 5 48
This is an article about my experiences with remote access to my clients (so that I may serve them) and eventually to my home office system via Radmin Remote Control. I have been using remote access for over 10 years and have been improving my metho…
If you're not part of the solution, you're part of the problem.   Tips on how to secure IoT devices, even the dumbest ones, so they can't be used as part of a DDoS botnet.  Use PRTG Network Monitor as one of the building blocks, to detect unusual…
Viewers will learn how to connect to a wireless network using the network security key. They will also learn how to access the IP address and DNS server for connections that must be done manually. After setting up a router, find the network security…
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…

757 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

17 Experts available now in Live!

Get 1:1 Help Now