cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2430
Views
5
Helpful
16
Replies

C1841 DHCP not working but same config worked at Packet tracer

!
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
 

16 Replies 16

Thank you for confirming that the suggestion by Georg did solve your problem. That is good to know. Thank you for marking this question as solved. This will help other participants in the community to identify discussions which have helpful information.

 

HTH

 

Rick

HTH

Rick

Tinei
Level 1
Level 1

Are you connecting your pc direct to the router or you have switch between pc and router. If you have a switch connected between PC and router then you need configure the link as a trunk link so that it can pass VLAN traffic. You will then need to configure the switch with a VLAN for the particular IP address that you need to work.