Re: DHCP Static binding

From: Sonu Khandelwal <sonu.kwl_at_gmail.com>
Date: Thu, 30 Sep 2010 00:26:00 +0530

Thanks a lot Roberto for explaining this.

On Wed, Sep 29, 2010 at 11:59 PM, roberto gonzalez <roboto92_at_gmail.com>wrote:

> Correct! If you use exclude then ip must be configured manually
>
> If you want to give the same ip always to x host via dhcp you have to use
> the command Client-identifier. Like on mails before this.
>
> 2010/9/29 Sonu Khandelwal <sonu.kwl_at_gmail.com>
>
> Hi,
>> So if you look at below config then 1.1.1.4 is excluded, so host has to be
>> given ip manually, is it?
>>
>>
>> ip dhcp pool cisco
>> network 1.1.1.0/24
>> default-router 1.1.1.1
>> dns-server primary secondary
>> lease days hours
>> !
>> ip dhcp excluded-address 1.1.1.4 1.1.1.5
>> !
>> !
>> ip dhcp pool static
>> host 1.1.1.4 /24
>> hardware-address x.x.x.x.x.x.x.x
>>
>>
>> Thanks,
>> Sonu
>>
>>
>> On Wed, Sep 29, 2010 at 8:15 PM, roberto gonzalez <roboto92_at_gmail.com>wrote:
>>
>>> Hi,
>>>
>>> You have to do the steps on previews mails. If you exclude the address
>>> then you have to configure the ip manually.
>>>
>>>
>>>
>>>
>>> 2010/9/28 Sonu Khandelwal <sonu.kwl_at_gmail.com>
>>>
>>> Hi,
>>>> Sorry if its a dumb question.
>>>>
>>>> We have excluded 1.1.1.4 using "ip dhcp excluded-address 1.1.1.4
>>>> 1.1.1.5".
>>>> How is this address being given to client?
>>>> Do you have any doc cd link to explain this?
>>>>
>>>> Thanks,
>>>> Sonu
>>>>
>>>> On Tue, Sep 28, 2010 at 11:15 AM, Raghav Bhargava <
>>>> raghavbhargava12_at_gmail.com> wrote:
>>>>
>>>> > got it...Thanks for the explanation Andrey..
>>>> >
>>>> > -Raghav
>>>> >
>>>> > On Mon, Sep 27, 2010 at 10:42 PM, Andrey Tarasov <andyvt_at_gmail.com>
>>>> wrote:
>>>> >
>>>> > > 01 indicates Ethernet media type. Client-identifier is indeed
>>>> required
>>>> > > for DHCP requests. Hardware-address is used for BOOTP.
>>>> > >
>>>> > > On Mon, Sep 27, 2010 at 10:31 PM, Raghav Bhargava
>>>> > > <raghavbhargava12_at_gmail.com> wrote:
>>>> > > > Hey Andrey,
>>>> > > >
>>>> > > > yes i used 01 with the mac address.Also i used the
>>>> client-identifier
>>>> > > rather
>>>> > > > than hardware-address keyword and it worked. But can you please
>>>> explain
>>>> > > the
>>>> > > > significance of 01 as i was not able to understand it . That fixed
>>>> my
>>>> > > issue.
>>>> > > >
>>>> > > > -Raghav
>>>> > > >
>>>> > > > On Mon, Sep 27, 2010 at 9:52 PM, Andrey Tarasov <andyvt_at_gmail.com
>>>> >
>>>> > > wrote:
>>>> > > >>
>>>> > > >> Raghav,
>>>> > > >>
>>>> > > >> Make sure "01." is added at the beginning of client's MAC address
>>>> -
>>>> > > >> i.e. 01.0001.2345.abcd
>>>> > > >>
>>>> > > >> Regards,
>>>> > > >> Andrey.
>>>> > > >>
>>>> > > >> On Mon, Sep 27, 2010 at 9:19 PM, Raghav Bhargava
>>>> > > >> <raghavbhargava12_at_gmail.com> wrote:
>>>> > > >> > Hey Experts,
>>>> > > >> >
>>>> > > >> > I have a query regarding DHCP static bindings. If i have a host
>>>> > > >> > connected to
>>>> > > >> > a switch and the switch is connected to the router. Now my
>>>> router is
>>>> > > >> > serving
>>>> > > >> > as a dhcp server and i want that the host should not get the ip
>>>> > > address
>>>> > > >> > dynamically but instead i create a dhcp pool and bind the
>>>> host's
>>>> > mac
>>>> > > >> > with a
>>>> > > >> > specific ip ( static DHCP ).
>>>> > > >> >
>>>> > > >> > My query is what is the correct configuration for achieving
>>>> this .
>>>> > > below
>>>> > > >> > is
>>>> > > >> > a sample config on the router which i am using:
>>>> > > >> >
>>>> > > >> > ***********************************
>>>> > > >> > ip dhcp pool cisco
>>>> > > >> > network 1.1.1.0/24
>>>> > > >> > default-router 1.1.1.1
>>>> > > >> > dns-server primary secondary
>>>> > > >> > lease days hours
>>>> > > >> > !
>>>> > > >> > ip dhcp excluded-address 1.1.1.4 1.1.1.5
>>>> > > >> > !
>>>> > > >> > !
>>>> > > >> > ip dhcp pool static
>>>> > > >> > host 1.1.1.4 /24
>>>> > > >> > hardware-address x.x.x.x.x.x.x.x
>>>> > > >> >
>>>> > > >> > ***********************************
>>>> > > >> >
>>>> > > >> > The host is connected to the switch and the switch is connected
>>>> to
>>>> > the
>>>> > > >> > router via a dot1q trunk. The configuration on the switch port
>>>> on
>>>> > > which
>>>> > > >> > the
>>>> > > >> > host is connected is simple access port config.
>>>> > > >> >
>>>> > > >> > Please advise if i am missing out on something coz if this is
>>>> the
>>>> > > >> > correct
>>>> > > >> > config then it is not working in my scenario.
>>>> > > >> >
>>>> > > >> >
>>>> > > >> >
>>>> > > >> > --
>>>> > > >> > Warm Regards
>>>> > > >> > Raghav
>>>> > > >> >
>>>> > > >> >
>>>> > > >> > Blogs and organic groups at http://www.ccie.net
>>>> > > >> >
>>>> > > >> >
>>>> > >
>>>> _______________________________________________________________________
>>>> > > >> > Subscription information may be found at:
>>>> > > >> > http://www.groupstudy.com/list/CCIELab.html
>>>> > > >> >
>>>> > > >> >
>>>> > > >> >
>>>> > > >> >
>>>> > > >> >
>>>> > > >> >
>>>> > > >> >
>>>> > > >> >
>>>> > > >
>>>> > > >
>>>> > > >
>>>> > > > --
>>>> > > > Warm Regards
>>>> > > > Raghav
>>>> > > >
>>>> > >
>>>> >
>>>> >
>>>> >
>>>> > --
>>>> > Warm Regards
>>>> > Raghav
>>>> >
>>>> >
>>>> > Blogs and organic groups at http://www.ccie.net
>>>> >
>>>> >
>>>> _______________________________________________________________________
>>>> > Subscription information may be found at:
>>>> > http://www.groupstudy.com/list/CCIELab.html
>>>>
>>>>
>>>> Blogs and organic groups at http://www.ccie.net
>>>>
>>>> _______________________________________________________________________
>>>> Subscription information may be found at:
>>>> http://www.groupstudy.com/list/CCIELab.html

Blogs and organic groups at http://www.ccie.net
Received on Thu Sep 30 2010 - 00:26:00 ART

This archive was generated by hypermail 2.2.0 : Fri Oct 01 2010 - 05:58:06 ART