Solved

can a helper ip address and a ip address of a vlan be the same?

Posted on 2012-04-02
5
540 Views
Last Modified: 2012-04-02
is it possible to use the same ip address for the helper ip and the ip address of a vlan?
0
Comment
Question by:knfitz
[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
  • 2
5 Comments
 
LVL 17

Accepted Solution

by:
Kvistofta earned 500 total points
ID: 37796551
Yes, but it makes no sense.

Lets say that your clients are on subnet 192.168.1.0/24 and your "vlan interface" is 192.168.1.1. What happens when a client wants an ip-address is that he sends a broadcast requesting contact with an dhcp-server. Since broadcasts are on the same subnet only, the dhcp-server needs to be on that subnet. Your router/switch can ofcours be the dhcp-server and since 192.168.1.1 is on the same subnet, all you have to do is to enable the dhcp-scope in the server.

On the other hand, if the dhcp server is elsewhere, what you do then is to put an ip helper in any device on the local subnet (for example you router/switch 192.168.1.1, and tell it to forward all dhcp-requests coming in as broadcasts, and forward them as plain unicasts to the dhcp-server defined. For example:

interface vlan 168
 ip address 192.168.1.1 255.255.255.0
 ip helper-address 192.168.2.10

If you have a config like this:

interface vlan 168
 ip address 192.168.1.1 255.255.255.0
 ip helper-address 192.168.1.1

All you do is to say "take all incoming dhcp broadcasts and forward them to myself" which is totally uneccecary, since the router/switch will catch the requests anyway.

Does this explain what you wanna know?

Best regards
Kvistofta
0
 

Author Comment

by:knfitz
ID: 37796713
So you're saying it will work either way and all I really need is an ip address on the Vlan? My dhcp server is at another site. So I give the vlan a ip address and then create a dhcp scope on my dhcp server for that range and dhcp will know what to do?
0
 
LVL 17

Expert Comment

by:Kvistofta
ID: 37796743
Yes, that´s basically it.

/Kvistofta
0
 

Author Comment

by:knfitz
ID: 37796764
I have this set on my core switch. Do I need to set an ip address on the vlan ids for my closet switches also?
0
 
LVL 17

Expert Comment

by:Kvistofta
ID: 37796786
Nope.

/Kvistofta
0

Featured Post

Optimize your web performance

What's in the eBook?
- Full list of reasons for poor performance
- Ultimate measures to speed things up
- Primary web monitoring types
- KPIs you should be monitoring in order to increase your ROI

Question has a verified solution.

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

On Feb. 28, Amazon’s Simple Storage Service (S3) went down after an employee issued the wrong command during a debugging exercise. Among those affected were big names like Netflix, Spotify and Expedia.
Multi-threading long-running processes can have a significant increase in overall performance and drastically decrease over time it takes for a process to complete. Unfortunately, not all applications support native multi-threading, some by design a…
Both in life and business – not all partnerships are created equal. As the demand for cloud services increases, so do the number of self-proclaimed cloud partners. Asking the right questions up front in the partnership, will enable both parties …
If you're a developer or IT admin, you’re probably tasked with managing multiple websites, servers, applications, and levels of security on a daily basis. While this can be extremely time consuming, it can also be frustrating when systems aren't wor…
Suggested Courses
Course of the Month8 days, 11 hours left to enroll

615 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