Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. If you'd prefer to explore, try our test area to get started. And see here for current known issues.

New Member

Re: Mac Address\IP Bunding on Cisco 3560

I was searching for an option on the Cisco 3560 to statically assign an ip address on a particlar host on a vlan1 as an example. Currently the 3560 is DHCP enabled.

ip dhcp excluded-address 10.x.x.x 10.x.x.x

!

ip dhcp pool 1

network 10.x.x.0 255.255.255.255

domain-name northamerica.corporate-domain.net

dns-server 10.x.x.x 10.x.x.x

netbios-name-server 255.66.175.255

default-router 10.x.x.1

lease 0 12

!

What would the command be to bind a reserved ip for a host with the mac of xxxx.xxxx.xxx.xxxx

Thanks.

-fz

  • Other Network Infrastructure Subjects
11 REPLIES
Purple

Re: Re: Mac Address\IP Bunding on Cisco 3560

Hi,

Try the following:

For each client requiring a specific IP address, create a pool as such:

ip dhcp pool client1

host

hardware-address xxxx.xxxx.xxxx

client-name

Note that you cannot use the same pool as the one you have already got. You need to create a different pool for the client and then again, a new pool for each client requiring this.

Pls remember to rate posts.

Paresh,

New Member

Re: Re: Mac Address\IP Bunding on Cisco 3560

Thank you very much! Is this posted on the 3560 support docs? I was unable to find this knowledge info. I'll let you know how it works out.

-fz

Purple

Re: Re: Mac Address\IP Bunding on Cisco 3560

If you read this:

http://www.cisco.com/en/US/customer/products/hw/switches/ps5528/products_configuration_guide_chapter09186a0080509b6d.html#wp1098426

.. it referneces the 'Cisco IOS IP Configuration Guide, Release 12.2' which has info on manual bindings at:

http://www.cisco.com/univercd/cc/td/doc/product/software/ios122/122cgcr/fipr_c/ipcprt1/1cfdhcp.htm#wp1001108

Pls do remember to rate posts...

Paresh.

New Member

Re: Re: Mac Address\IP Bunding on Cisco 3560

I just tested this with the 3560 and it does not seem sot bind the address. Thanks again.

Purple

Re: Re: Mac Address\IP Bunding on Cisco 3560

Could you post the relevant bits of the config you are using ?

Thanks,

Paresh.

Purple

Re: Re: Mac Address\IP Bunding on Cisco 3560

Hi again,

Do you have a web server that you can access from your router ? There is another way of doing this where you can get away without having all those DHCP pools. You can place your MAC to IP mappings in a file, stick it on a web server, and get your router to use that for address assignment.

Paresh.

New Member

Re: Re: Mac Address\IP Bunding on Cisco 3560

here is a copy of the config for 2 clients and a the DHCP Pool.

The mac\ip bundung does not seems to work. I have tested this with a laptop's unique Identifier.

ip dhcp excluded-address 172.16.12.1 172.16.12.99

!

ip dhcp pool 1

network 172.16.12.0 255.255.255.0

domain-name xxxdomain.com

dns-server 172.16.12.20 172.16.12.21

netbios-name-server x.x.x.x

default-router 172.16.12.1

lease 0 12

!

!

ip dhcp pool client2

host 172.16.12.100 255.255.255.0

client-identifier 0011.4342.e9a5

client-name My LAPTOP

domain-name INEED.HELP. FIXING. MY DHCPISSUE.com

dns-server 172.16.12.21 172.16.12.34

default-router 172.16.12.1

Purple

Re: Re: Mac Address\IP Bunding on Cisco 3560

Could you try with a stripped down version which just contains the following in the pool:

ip dhcp pool client2

host 172.16.12.100 255.255.255.0

client-identifier 0011.4342.e9a5

client-name My LAPTOP

Also, as I previously asked, are you able to reach a locally administered web server from your router ? We could try a different tack ?

Paresh

New Member

Re: Re: Mac Address\IP Bunding on Cisco 3560

What do I need to do on the web server?

333
Views
4
Helpful
11
Replies