How to connect 5 switch with 1 router in Cisco Packet Tracer
Assuming you know the networking basics and how to use Cisco packet tracer.
Configure on your switch interface facing the router as below:
In Switch 1:
#inter fa0/1
#no switchport mode Trunk
#switchport mode access
#switchport access vlan 10
#exit
In Switch 2:
#inter fa0/1
#no switchport mode Trunk
#switchport mode access
#switchport access vlan 20
#exit
Same thing goes for Switch 3,4,5 respectively
Configuration on the Router:
inter giga0/0
no ip address
interface g0/0.1
encapsulation dot1q 10
ip address 192.168.0.1 255.255.255.0
no shutdown
inter giga0/1
no ip address
interface g0/1.1
encapsulation dot1q 20
ip address 192.168.1.1 255.255.255.0
no shutdown
inter giga0/2
no ip address
interface g0/2.1
encapsulation dot1q 30
ip address 192.168.2.1 255.255.255.0
no shutdown
inter giga0/3
no ip address
interface g0/3.1
encapsulation dot1q 40
ip address 192.168.3.1 255.255.255.0
no shutdown
inter giga0/4
no ip address
interface g0/4.1
encapsulation dot1q 50
ip address 192.168.4.1 255.255.255.0
no shutdown
That Should do it :)