10-10-2012 06:42 AM - edited 03-07-2019 09:23 AM
Hi There
For some reason DHCP is not working on my 1841, I have tryed debug DHCP but see nothing. I think it may be due to may connecting MY LAN via one of the switch ports (FE0/0/1), but Im not sure? Would be greatfull for any help on this, Thanks. Here is config,
Building configuration...
Current configuration : 4575 bytes
!
! Last configuration change at 13:36:33 UTC Wed Oct 10 2012 by
! NVRAM config last updated at 13:24:47 UTC Wed Oct 10 2012 by
!
version 12.4
service timestamps debug datetime msec
service timestamps log datetime msec
service password-encryption
!
hostname 3.100
!
boot-start-marker
boot-end-marker
!
no logging buffered
enable secret 5 $1$jYzP$JHBnIoVQjtjBWV4.vZrUn/
!
no aaa new-model
ip cef
!
!
ip dhcp use vrf connected
ip dhcp excluded-address 192.168.3.1 192.168.3.230
!
ip dhcp pool 42
network 192.168.3.0 255.255.255.0
domain-name 42
dns-server 8.8.8.8 192.168.3.100
default-router 192.168.3.100
!
ip dhcp pool gklt
host 192.168.3.111 255.255.255.0
client-identifier c485.086c.95a3
client-name GordonLT
!
!
no ip domain lookup
ip name-server 8.8.8.8
ip ssh port 2001 rotary 1 10
ip ssh version 2
!
!
crypto pki trustpoint TP-self-signed-34143614546334
enrollment selfsigned
subject-name cn=IOS-Self-Signed-Certificate-3414616454334
revocation-check none
rsakeypair TP-self-signed-3414616334
!
!
crypto pki certificate chain TP-self-signed-3414645416334
certificate self-signed 01
3082023D 308201A6 A0030201 02020101 300D0609 2A864886 F70D0101 04050030
18B02F8A 46CA2E8C E36B5772 9AB346FB 4CBF99E3 27C026A9 2A40C91B AA8E4451
8CA2E73A 183AFEF7 B60B7A8A 8A5D2257 85CBA305 195FCF58 81E39B57 EF232570 58
quit
username gkonheiser privilege 15 password 7 0357560E335A5E333435F75191F5D40
!
!
!
!
!
interface FastEthernet0/0
description INTERNET CONNECTION
ip address xxx.xxx.xxx.xxx 255.xxx.255.xxx
ip nat outside
ip virtual-reassembly
ip route-cache flow
speed 100
full-duplex
!
interface FastEthernet0/1
no ip address
ip virtual-reassembly
speed 100
full-duplex
!
interface FastEthernet0/0/0
duplex full
speed 100
!
interface FastEthernet0/0/1
!
interface FastEthernet0/0/2
!
interface FastEthernet0/0/3
!
interface Vlan1
ip address 192.168.3.100 255.255.255.0
ip nat inside
ip virtual-reassembly
!
ip route 0.0.0.0 0.0.0.0 xxx.xxx.xxx.xxx
!
!
ip http server
ip http authentication local
ip http secure-server
ip http secure-port 4483
ip http timeout-policy idle 60 life 86400 requests 10000
ip nat inside source list 1 interface FastEthernet0/0 overload
ip nat inside source static tcp 192.168.3.111 11767 interface FastEthernet0/0 11767
ip nat inside source static tcp 192.168.3.6 14565 interface FastEthernet0/0 14565
ip nat inside source static tcp 192.168.3.43 26252 interface FastEthernet0/0 26252
!
access-list 1 remark Internet access list
access-list 1 permit 192.168.3.0 0.0.0.255
snmp-server community sdsdsdsd1 RW 60
snmp-server community publsdsdsd RO
snmp-server enable traps tty
!
!
!
!
control-plane
!
!
banner incoming ^C Unauthorized Access Prohibited ^C
!
line con 0
password 7 xxxx71181B584D5C
line aux 0
line vty 0 4
session-timeout 180
password 7 xxxxxx54434B
login local
rotary 1
transport preferred ssh
transport input telnet
line vty 5
session-timeout 180
password 7 0100110D4818
login local
rotary 1
transport preferred ssh
transport input ssh
line vty 6 15
session-timeout 180
password 7
login local
rotary 1
transport preferred ssh
transport input ssh
line vty 16 807
session-timeout 180
password 7
login local
rotary 1
transport preferred ssh
transport input ssh
!
scheduler allocate 20000 1000
ntp clock-period 17178769
ntp update-calendar
ntp server 195.216.64.208 prefer
end
Solved! Go to Solution.
10-10-2012 06:59 AM
Hi,
ip dhcp excluded-address 192.168.3.1 192.168.3.230
ip dhcp pool gklt
host 192.168.3.111 255.255.255.0
client-identifier c485.086c.95a3
1)you excluded 192.168.3.111 so it will never be allocated, your dhcp parent pool by the way will only be 24 addresses( from .231 to .254)
2) this is not a valid client-identifier, either you use
-client-identifier 01c4.8508.6c95.a3
-hardware-address c485.086c.95a3
depending of output of sh ip dhcp binding | i 192.168.3.111 when using the parent pool and with the address not excluded of course.
is the vlan1 interface up/up? ---> sh ip int br | i Vlan if not DHCP won't work.
Regards.
Alain
Don't forget to rate helpful posts.
10-10-2012 06:59 AM
Hi,
ip dhcp excluded-address 192.168.3.1 192.168.3.230
ip dhcp pool gklt
host 192.168.3.111 255.255.255.0
client-identifier c485.086c.95a3
1)you excluded 192.168.3.111 so it will never be allocated, your dhcp parent pool by the way will only be 24 addresses( from .231 to .254)
2) this is not a valid client-identifier, either you use
-client-identifier 01c4.8508.6c95.a3
-hardware-address c485.086c.95a3
depending of output of sh ip dhcp binding | i 192.168.3.111 when using the parent pool and with the address not excluded of course.
is the vlan1 interface up/up? ---> sh ip int br | i Vlan if not DHCP won't work.
Regards.
Alain
Don't forget to rate helpful posts.
10-10-2012 01:26 PM
OK thanks working now.
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