cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1125
Views
0
Helpful
7
Replies

Static ip binding with mac address not working in cisco 1117 router

r4rehan11
Level 1
Level 1

Hi I am trying to bind three ip addresses with three mac addresses but they are not showing active on vlan 1 

The config is as follows 

ip dhcp pool d461.9d08.771e
host 10.31.2.151 255.255.255.0
client-identifier d461.9d08.771e //Add 01 as client-identifier 01d4.619d.0877.1e
default-router 10.31.1.1
dns-server 10.250.17.111 10.250.21.20510.31.2.210 b0be.831a.5483 Infinite Manual Selecting Unknown

domain-name aero.care

ip dhcp pool b0be.831a.5483
host 10.31.2.210 255.255.255.0

client-identifier b0be.831a.5483
default-router 10.31.1.1
dns-server 10.250.17.111 10.250.21.205
domain-name aero.care

ip dhcp pool e0ac.cb76.7fcc
host 10.31.2.152 255.255.255.0
client-identifier e0ac.cb76.7fcc //Add 01 client-identifier 01e0.accb.767f.cc

default-router 10.31.1.1
dns-server 10.250.17.111 10.250.21.205
domain-name aero.care

=============================
ip dhcp excluded-address 10.31.2.151 10.31.2.152
ip dhcp excluded-address 10.31.2.210

 

I have aslo performed clear ip dhcp binding 10.31.2.151
clear ip dhcp binding 10.31.2.210
clear ip dhcp binding 10.31.2.152 

but the output for three ip showing is like this 

10.31.2.210 b0be.831a.5483 Infinite Manual Selecting Unknown

10.31.2.151 d461.9d08.771e Infinite Manual Selecting Unknown
10.31.2.152 e0ac.cb76.7fcc Infinite Manual Selecting Unknown

 

Kindly assist in this matter on urgent basis ?

 

 

7 Replies 7

balaji.bandi
Hall of Fame
Hall of Fame

DHCP reservation :

lient-identifier unique-identifier

Example:

Router(dhcp-config)# client-identifier 01b7.0813.8811.66

Specifies the unique identifier for DHCP clients. This command is used for DHCP requests.

 

 

DHCP clients require client identifiers. The unique identification of the client is specified in dotted hexadecimal notation, for example, 01b7.0813.8811.66, where 01 represents the Ethernet media type.

example :

client-identifier 01d4.619d.0877.1e

Also have observed default router in different subnet - is this typo or intention ?

default-router 10.31.1.1

where is this IP residing?  ( can you post show IP interface brief) or change 10.31.2.x

 

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help

Router#show ip int br
Interface IP-Address OK? Method Status Protocol
GigabitEthernet0/0/0 unassigned YES NVRAM administratively down down
GigabitEthernet0/1/0 unassigned YES unset up up
GigabitEthernet0/1/1 unassigned YES unset down down
GigabitEthernet0/1/2 unassigned YES unset down down
GigabitEthernet0/1/3 unassigned YES unset down down
Wl0/1/4 unassigned YES unset administratively down down
Cellular0/2/0 100.118.137.137 YES IPCP up up
Cellular0/2/1 unassigned YES NVRAM administratively down down
ATM0/3/0 unassigned YES NVRAM administratively down down
Ethernet0/3/0 unassigned YES NVRAM up up
Dialer1 10.193.129.115 YES IPCP up up
Loopback1 10.193.30.80 YES NVRAM up up
Virtual-Access1 unassigned YES unset up up
Virtual-Access2 unassigned YES NVRAM up up
Vlan1 10.31.1.252 YES NVRAM up up

ip dhcp pool LAN2
network 10.31.2.0 255.255.255.0
default-router 10.31.1.1
dns-server 10.250.17.111 10.250.21.205
domain-name aero.care

where is the gateway for 10.31.1.X  - or Layer 2 interface for the route to take place?

how is your network diagram looks like ?

you need to change the DHCP pool to inline with you VLAN 1

that is 10.31.1.X network.

if this only device you have in the network you need to change the DHCP pool as below :

ip dhcp pool LAN2
network 10.31.1.0 255.255.255.0
default-router 10.31.1.252 ( based on the information you provided VLAN1 has this IP address)
dns-server 10.250.17.111 10.250.21.205
domain-name aero.care

Note : make sure you exclude router gateway address from DHCP pool.

 

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help

ip route 10.31.2.0 255.255.255.0 10.31.1.1
ip route 10.31.3.0 255.255.255.0 10.31.1.1

 

 

ip dhcp excluded-address 10.31.1.1 10.31.1.3
ip dhcp excluded-address 10.31.1.1 10.31.1.99
ip dhcp excluded-address 10.31.1.221 10.31.1.255
ip dhcp excluded-address 10.31.2.1 10.31.2.3
ip dhcp excluded-address 10.31.2.1 10.31.2.99
ip dhcp excluded-address 10.31.2.221 10.31.2.255
ip dhcp excluded-address 10.31.3.1 10.31.3.3
ip dhcp excluded-address 10.31.3.1 10.31.3.99
ip dhcp excluded-address 10.31.3.221 10.31.3.255
ip dhcp excluded-address 10.31.2.151 10.31.2.152
ip dhcp excluded-address 10.31.2.210

Kindly provide a valid solution without changing the gateway address

 

let me explain the issue here, 
let assume you config many DCHP pool in one R/SW

how R/SW know to assign this IP from this DHCP Pool ??
it match the interface receive the DHCP request with the default router you config, if not then it mathc interface with DHCP Pool network 
you here break this role by assign default router different than the DHCP Pool network. 
so change the default router and try.