Solved

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

Posted on 2012-04-02
5
533 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

Best Practices: Disaster Recovery Testing

Besides backup, any IT division should have a disaster recovery plan. You will find a few tips below relating to the development of such a plan and to what issues one should pay special attention in the course of backup planning.

Question has a verified solution.

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

Why pager replacement is still an issue OnPage has what some might call a “hate/hate” relationship with pagers. Not much room for love. As we see it, pagers are an antiquated bit of technology. Pagers are dinosaurs which, like most dinosaurs, sho…
Dramatic changes are revolutionizing how we build and use technology. Every company is automating, digitizing, and modernizing operations. We need a better, more connected way to work together as teams so we can harness the insights from our system…
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 …
Both in life and business – not all partnerships are created equal. Spend 30 short minutes with us to learn:   • Key questions to ask when considering a partnership to accelerate your business into the cloud • Pitfalls and mistakes other partners…

752 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