Solved

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

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

[Webinar] Disaster Recovery and Cloud Management

Learn from Unigma and CloudBerry industry veterans which providers are best for certain use cases and how to lower cloud costs, how to grow your Managed Services practice in IaaS clouds, and how to utilize public cloud for Disaster Recovery

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Cisco RSTP portfast 3 52
By pass website on ASA for Websense 4 53
Port Forwarding on Cisco 881 14 42
VTP / VLANs and Sub-Interfaces 4 30
As a long-time IT Professional, the most important skill I have developed and consider to be my most valuable tool is Effective Troubleshooting. Step through my problem-solving procedure in this 10-step guide adapted from The Universal Troubleshooti…
When we talk about DevOps toolchains, I sometimes wonder how many people really get what we’re talking about. I don’t know if it’s just semantics or tone or something else, but sometimes I think it just sounds like buzzword sausage. So it’s always …
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 …
As a trusted technology advisor to your customers you are likely getting the daily question of, ‘should I put this in the cloud?’ As customer demands for cloud services increases, companies will see a shift from traditional buying patterns to new…

920 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

16 Experts available now in Live!

Get 1:1 Help Now