cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
989
Views
5
Helpful
2
Replies

DHCP not working

adamt_
Level 1
Level 1

DHCP isn't working on the right side of the network. Password everywhere is either class or cisco. I'm really new to DHCP so i would appreciate any help!

1 Accepted Solution

Accepted Solutions

Hello,

 

there is no IOS or external DHCP server configured. Below the configs where the routers themselves are the DHCP servers. Make the changes marked in bold. Revised Packet Tracer project file is attached:

 

adam#sh run
Building configuration...

Current configuration : 1120 bytes
!
version 12.2
no service timestamps log datetime msec
no service timestamps debug datetime msec
service password-encryption
!
hostname adam
!
enable secret 5 $1$mERr$9cTjUIEqNGurQiFU.ZeCi1
!
--> ip dhcp excluded-address 192.168.34.1
!
--> ip dhcp pool LAN
--> network 192.168.34.0 255.255.255.0
--> default-router 192.168.34.1
--> dns-server 8.8.8.8
!
ip cef
no ipv6 cef
!
interface FastEthernet0/0
ip address 192.168.34.1 255.255.255.0
duplex auto
speed auto
!
interface FastEthernet1/0
ip address 193.168.1.1 255.255.255.0
duplex auto
speed auto
!
interface Serial2/0
no ip address
clock rate 2000000
shutdown
!
interface Serial3/0
no ip address
clock rate 2000000
shutdown
!
interface FastEthernet4/0
no ip address
shutdown
!
interface FastEthernet5/0
no ip address
shutdown
!
--> no router rip
!
ip classless
--> ip route 192.168.1.0 255.255.255.0 193.168.1.2
!
ip flow-export version 9
!
banner motd ^Ceaew^C
!
line con 0
password 7 0822455D0A16
login
!
line aux 0
!
line vty 0 4
password 7 0822455D0A16
login
line vty 5 15
password 7 0822455D0A16
login
!
end

 

----------

 

Router0#sh run
Building configuration...

Current configuration : 939 bytes
!
version 12.2
no service timestamps log datetime msec
no service timestamps debug datetime msec
no service password-encryption
!
hostname Router0
!
--> ip dhcp excluded-address 192.168.1.1
!
--> ip dhcp pool LAN
--> network 192.168.1.0 255.255.255.0
--> default-router 192.168.1.1
--> dns-server 8.8.8.8
!
ip cef
no ipv6 cef
!
interface FastEthernet0/0
ip address 193.168.1.2 255.255.255.0
duplex auto
speed auto
!
interface FastEthernet1/0
ip address 192.168.1.1 255.255.255.0
duplex auto
speed auto
!
interface Serial2/0
no ip address
clock rate 2000000
shutdown
!
interface Serial3/0
no ip address
clock rate 2000000
shutdown
!
interface FastEthernet4/0
no ip address
shutdown
!
interface FastEthernet5/0
no ip address
shutdown
!
ip classless
--> ip route 192.168.34.0 255.255.255.0 193.168.1.1
!
ip flow-export version 9
!
line con 0
!
line aux 0
!
line vty 0 4
login
!
end

View solution in original post

2 Replies 2

Hello,

 

there is no IOS or external DHCP server configured. Below the configs where the routers themselves are the DHCP servers. Make the changes marked in bold. Revised Packet Tracer project file is attached:

 

adam#sh run
Building configuration...

Current configuration : 1120 bytes
!
version 12.2
no service timestamps log datetime msec
no service timestamps debug datetime msec
service password-encryption
!
hostname adam
!
enable secret 5 $1$mERr$9cTjUIEqNGurQiFU.ZeCi1
!
--> ip dhcp excluded-address 192.168.34.1
!
--> ip dhcp pool LAN
--> network 192.168.34.0 255.255.255.0
--> default-router 192.168.34.1
--> dns-server 8.8.8.8
!
ip cef
no ipv6 cef
!
interface FastEthernet0/0
ip address 192.168.34.1 255.255.255.0
duplex auto
speed auto
!
interface FastEthernet1/0
ip address 193.168.1.1 255.255.255.0
duplex auto
speed auto
!
interface Serial2/0
no ip address
clock rate 2000000
shutdown
!
interface Serial3/0
no ip address
clock rate 2000000
shutdown
!
interface FastEthernet4/0
no ip address
shutdown
!
interface FastEthernet5/0
no ip address
shutdown
!
--> no router rip
!
ip classless
--> ip route 192.168.1.0 255.255.255.0 193.168.1.2
!
ip flow-export version 9
!
banner motd ^Ceaew^C
!
line con 0
password 7 0822455D0A16
login
!
line aux 0
!
line vty 0 4
password 7 0822455D0A16
login
line vty 5 15
password 7 0822455D0A16
login
!
end

 

----------

 

Router0#sh run
Building configuration...

Current configuration : 939 bytes
!
version 12.2
no service timestamps log datetime msec
no service timestamps debug datetime msec
no service password-encryption
!
hostname Router0
!
--> ip dhcp excluded-address 192.168.1.1
!
--> ip dhcp pool LAN
--> network 192.168.1.0 255.255.255.0
--> default-router 192.168.1.1
--> dns-server 8.8.8.8
!
ip cef
no ipv6 cef
!
interface FastEthernet0/0
ip address 193.168.1.2 255.255.255.0
duplex auto
speed auto
!
interface FastEthernet1/0
ip address 192.168.1.1 255.255.255.0
duplex auto
speed auto
!
interface Serial2/0
no ip address
clock rate 2000000
shutdown
!
interface Serial3/0
no ip address
clock rate 2000000
shutdown
!
interface FastEthernet4/0
no ip address
shutdown
!
interface FastEthernet5/0
no ip address
shutdown
!
ip classless
--> ip route 192.168.34.0 255.255.255.0 193.168.1.1
!
ip flow-export version 9
!
line con 0
!
line aux 0
!
line vty 0 4
login
!
end

Thanks a lot! It's working now!

Review Cisco Networking for a $25 gift card