Cisco switch - static ip over dhcp

vxspiritxv

[H]ard|Gawd
Joined
Feb 10, 2001
Messages
1,610
I just got a new printer, trying to give it a static IP like I do my computers and its not working, can anyone tell me whats up?

Code:
ip dhcp excluded-address 192.168.1.1 192.168.1.49
!
ip dhcp pool users
 network 192.168.1.0 255.255.255.0
 domain-name qxxxxxxxxxx.com
 dns-server 209.xx.xx.61 209.xx.xx.62
 netbios-name-server 192.168.1.11
 netbios-node-type h-node
 default-router 192.168.1.1
!
ip dhcp pool bigbox
 host 192.168.1.50 255.255.255.0
 client-identifier 0100.1b21.89af.0c
 client-name bixbox
!
ip dhcp pool dc-2012r2
 host 192.168.1.11 255.255.255.0
 client-identifier 0100.5056.9a23.7a
 client-name dc-2012r2
!
ip dhcp pool mce
 host 192.168.1.40 255.255.255.0
 client-identifier 0100.0c29.c617.36
 client-name mce
!
ip dhcp pool dell-b2360dn
 host 192.168.1.9 255.255.255.0
 client-identifier 0100.21b7.2974.5b
 client-name dell-b2360dn
!

Here is the packet debug:

Code:
*Jun 30 18:31:29.603: DHCPD: checking for expired leases.
*Jun 30 18:31:44.475: DHCPD: interface GigabitEthernet1/29 coming up
*Jun 30 18:32:19.475: DHCPD: interface GigabitEthernet1/29 coming up
*Jun 30 18:32:39.475: DHCPD: interface GigabitEthernet1/29 coming up
*Jun 30 18:32:43.087: DHCPD: Reload workspace interface Vlan1 tableid 0.
*Jun 30 18:32:43.087: DHCPD: tableid for 192.168.1.5 on Vlan1 is 0
*Jun 30 18:32:43.087: DHCPD: client's VPN is .
*Jun 30 18:32:43.087: DHCPD: BOOTREQUEST received from BOOTP client 0021.b729.745b on interface Vlan1.
*Jun 30 18:32:45.087: DHCPD: Allocated binding 18FCE080
*Jun 30 18:32:45.087: DHCPD: Adding binding to radix tree (192.168.1.89)
*Jun 30 18:32:45.087: DHCPD: Adding binding to hash tree 18FCE080
*Jun 30 18:32:45.087: DHCPD:dhcpd_binding_add_to_mac_hash: index- 172 add binding 18FCE080
*Jun 30 18:32:45.087: DHCPD: assigned IP address 192.168.1.89 to client 0021.b729.745b. (54 0)
*Jun 30 18:32:45.087: DHCPD: Sending BOOTREPLY to BOOTP client 0021.b729.745b (192.168.1.89).
*Jun 30 18:32:45.087: DHCPD: no option 125
*Jun 30 18:32:45.087: DHCPD: Check for IPe on Vlan1
*Jun 30 18:32:45.087: DHCPD: creating ARP entry (192.168.1.89, 0021.b729.745b).
*Jun 30 18:32:45.087: DHCPD: unicasting BOOTREPLY to client 0021.b729.745b (192.168.1.89).
*Jun 30 18:33:29.603: DHCPD: checking for expired leases.
 
Years ago when working at a state agency, I had a Dell printer that would not accept a static DHCP from a Juniper firewall appliance. Looked at the packets. IIRC, Printer was requesting DHCP, Juniper was sending an IP, Printer was ignoring the IP, process repeated.

Turned out to be a bug in Dell's firmware. But they had discontinued that model of printer and wouldn't issue a fix. They just gave us the printer instead.

Might see if you can get an updated firmware.
 
Back
Top