cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
540
Views
0
Helpful
2
Replies

IP NAT Host to Mac-address

ney25
Level 2
Level 2

Hi NetPro / Hi Georg ;

ip dhcp pool VLAN_01

network 20.1.1.0 255.255.255.0

-->host 20.1.1.7 mask 255.255.255.0

-->hardware-address 02c7.f800.0422 (this has to be the actual MAC address)

default-router 20.1.1.1

dns-server 202.111.11.45 202.111.11.380

domain-name yahoo.com

lease infinite

----------------------------------------------------

I've followed the same configuration. but it prompted some error : % This command may not be used with network, origin or vrf pools.

Actually, what does it mean for Origin Or Vrf Pools ??

Thank you in advance,

Regards,

Jackal

2 Replies 2

skarundi
Level 4
Level 4

The router is complaining because you have used the same DHCP pool name for a dynamic pool and for a manual binding pool. The manual binding n needs to be in a separate pool.

--From the DHCP Config Guide on Cisco.com --

Manual bindings are IP addresses that have been manually mapped to the MAC addresses of hosts that are found in the DHCP database. Manual bindings are stored in NVRAM on the DHCP Server. Manual bindings are just special address pools. There is no limit on the number of manual bindings but you can only configure one manual binding per host pool.

--

So it would be something like this

ip dhcp pool VLAN_01

network 20.1.1.0 255.255.255.0

default-router 20.1.1.1

dns-server 202.111.11.45 202.111.11.380

domain-name yahoo.com

lease infinite

ip pool host_a

host 20.1.1.7 mask 255.255.255.0

hardware-address 02c7.f800.0422

Reference:

--

Manual Binding Example:

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

Hi Skarundi ,

So,you are trying to say when i used DHCP Pool and i can't use the manual binding pool because it will confuse or maybe conflict. right ?

so, it would be something like this :

ip dhcp pool VLAN_01

network 20.1.1.0 255.255.255.0

default-router 20.1.1.1

dns-server 202.111.11.45 202.111.11.380

domain-name yahoo.com

lease infinite

ip pool host_a

host 20.1.1.7 mask 255.255.255.0

hardware-address 02c7.f800.0422

-------------------------------------

but,how to configure separately ?

actually, i been tried for few times but still can't get it .

Thank you in advance,

Regards,

Jack