Hello,
I have a 1812 cisco router, I have 2 vlans (172.31.0.0/24 and 172.31.2.0/24) and I configured this :
ip dhcp pool dhcp-vlan2
import all
network 172.31.0.0 255.255.255.0
domain-name domain1.com
dns-server x.x.x.x
default-router 172.31.0.1
lease infinite
!
ip dhcp pool dhcp-vlan3
import all
network 172.31.2.0 255.255.255.0
domain-name domain2.com
dns-server x.x.x.x
default-router 172.31.2.1
lease infinite
ip dhcp pool name1
host 172.31.2.20
hardware-address 01ab.cdef.ghij.kl
client-name name2
The problem is that this manual binding in the end is not working; the host with that MAC gets another IP everytime I renew the dhcp request.
Before setting this manual binding I had that host setup staticly with that IP.
Where is the problem?
