10-17-2018 12:18 AM - edited 03-08-2019 04:24 PM
!
version 12.4
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
IOS : IPBASE-M 124.15T12
!
hostname FIN
!
boot-start-marker
boot-end-marker
!
enable secret 5 $1$.kn2$MdOTV7sAQTm.sbLu36HP0.
enable password admin
!
no aaa new-model
no ip routing
no ip cef
!
!
no ip dhcp use vrf connected
!
ip dhcp pool FIN
network 192.168.5.0 255.255.255.0
default-router 192.168.5.1
dns-server 8.8.8.8
!
!
ip address-pool dhcp-pool
multilink bundle-name authenticated
!
!
archive
log config
hidekeys
!
!
!
!
!
interface FastEthernet0/0
no ip address
no ip route-cache
shutdown
duplex auto
speed auto
!
interface FastEthernet0/1
ip address 192.168.5.2 255.255.255.0
no ip route-cache
speed auto
half-duplex
no mop enabled
!
ip forward-protocol nd
!
!
ip http server
!
!
!
control-plane
!
!
line con 0
line aux 0
line vty 0 4
password admin
login
!
scheduler allocate 20000 1000
end
Solved! Go to Solution.
10-17-2018 11:36 PM
You are excluding the entire address space !!! Exclude just the 5.2 address...
10-18-2018 12:34 AM
That means:
--> no ip dhcp excluded-address 192.168.5.1 192.168.5.254
--> ip dhcp excluded-address 192.168.5.2
10-17-2018 12:24 AM
Hello,
make the changes marked in bold:
version 12.4
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
IOS : IPBASE-M 124.15T12
!
hostname FIN
!
boot-start-marker
boot-end-marker
!
enable secret 5 $1$.kn2$MdOTV7sAQTm.sbLu36HP0.
enable password admin
!
no aaa new-model
--> ip routing
no ip cef
!
no ip dhcp use vrf connected
ip dhcp excluded-address 192.168.5.1
!
ip dhcp pool FIN
network 192.168.5.0 255.255.255.0
default-router 192.168.5.1
dns-server 8.8.8.8
!
ip address-pool dhcp-pool
multilink bundle-name authenticated
!
archive
log config
hidekeys
!
interface FastEthernet0/0
no ip address
no ip route-cache
shutdown
duplex auto
speed auto
!
interface FastEthernet0/1
ip address 192.168.5.1 255.255.255.0
no ip route-cache
speed auto
half-duplex
no mop enabled
!
ip forward-protocol nd
!
ip http server
!
control-plane
!
line con 0
line aux 0
line vty 0 4
password admin
login
!
scheduler allocate 20000 1000
end
10-17-2018 01:35 AM
Thank you Georg Pauwen!
Still the issue not solved
ip routing is not working.
10-17-2018 01:42 AM
Post the full running config again, with the changes you have made...
1841#conf t
1841(config)#ip routing
is not working ?
10-17-2018 01:56 AM
I made the change.
But dhcp not pooling ip to pc.
When i try to 1841#confi t # ip routing
ip routing is not working .
!
version 12.4
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname FIN
!
boot-start-marker
boot-end-marker
!
enable secret 5 $1$.kn2$MdOTV7sAQTm.sbLu36HP0.
enable password admin
!
no aaa new-model
ip cef
!
!
no ip dhcp use vrf connected
ip dhcp excluded-address 192.168.5.1
!
ip dhcp pool FIN
network 192.168.5.0 255.255.255.0
default-router 192.168.5.1
dns-server 8.8.8.8
!
!
ip address-pool local
multilink bundle-name authenticated
!
!
archive
log config
hidekeys
!
!
!
!
!
interface FastEthernet0/0
no ip address
shutdown
duplex auto
speed auto
!
interface FastEthernet0/1
ip address 192.168.5.1 255.255.255.0
duplex auto
speed auto
no mop enabled
!
ip forward-protocol nd
ip route profile
!
!
ip http server
!
!
!
control-plane
!
!
line con 0
line aux 0
line vty 0 4
password admin
login
!
scheduler allocate 20000 1000
end
10-17-2018 02:08 AM
How is your PC connected to the router ? Is there a switch in between ?
10-17-2018 02:11 AM
No just direct connected to the pc on port fa0/1
10-17-2018 02:12 AM
Since you are using an older IOS version, make sure 'service dhcp' is enabled:
1841(config)#service dhcp
10-17-2018 02:23 AM
Since we are used just for static ip it was worked normally. We need dhcp.
service dhcp is enabled
10-17-2018 07:34 AM
Would you post the output of show interface?
What type of cable are you using to connect the PC to the router? If the PC is directly connected to router it should be a cross over cable and not a straight through cable.
HTH
Rick
10-17-2018 10:52 PM
10-17-2018 11:36 PM
You are excluding the entire address space !!! Exclude just the 5.2 address...
10-18-2018 12:34 AM
That means:
--> no ip dhcp excluded-address 192.168.5.1 192.168.5.254
--> ip dhcp excluded-address 192.168.5.2
10-18-2018 06:04 AM
Good catch by Georg. +5
It is good that the interface shows as up/up. I hope that fixing the DHCP excluded addresses will result in the PC receiving an IP address and working. If not then please post the output of show arp.
HTH
Rick
10-21-2018 09:46 PM
Thank you Its worked.
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