02-15-2023 09:58 PM
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 ?
02-16-2023 12:07 AM
DHCP reservation :
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
02-16-2023 12:16 AM
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
02-16-2023 12:18 AM
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
02-16-2023 12:39 AM
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.
02-16-2023 08:20 PM
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
02-16-2023 08:21 PM
Kindly provide a valid solution without changing the gateway address
02-17-2023 01:06 AM
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.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide