Solved

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

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

How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

Join & Write a Comment

From Cisco ASA version 8.3, the Network Address Translation (NAT) configuration has been completely redesigned and it may be helpful to have the syntax configuration for both at a glance. You may as well want to read official Cisco published AS…
Online collaboration can help businesses be more efficient, help employees grow their skills and foster a team environment.
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, Just open a new email message.  In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
You have products, that come in variants and want to set different prices for them? Watch this micro tutorial that describes how to configure prices for Magento super attributes. Assigning simple products to configurable: We assigned simple products…

743 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

14 Experts available now in Live!

Get 1:1 Help Now