04-27-2021 09:27 AM
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!
Solved! Go to Solution.
04-27-2021 10:16 AM
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
04-27-2021 10:16 AM
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
04-27-2021 11:15 AM
Thanks a lot! It's 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