01-11-2021 03:41 AM - edited 01-11-2021 04:27 AM
Hi guys,
I've been given a small project in packet tracer to do by my college.
My assignment is to connect in SSH to every device, Switches/Routers only through Vlan10, Vlan20 supposed to get blocked.
I managed to connect to every device except Router 2.
I get a message that says "Connection refused by remote host".
also I couldn't connect to Switch 4 at all, from any device as well, not to mention that I don't have a clue how to allow only vlan10 and block vlan20 to that switch.
I attached the file to the thread.
I will be grateful for some help.
Thank you!
01-11-2021 04:04 AM
i don thave PT to test.
based on this error - I get a message that says "Connection refused by remote host".
worth check below config :
line con 0
logging synchronous
Login Local
no exec
line aux 0
login local
no exec
transport input all
line vty 0 4
exec-timeout 60 0
logging synchronous
no login
transport input all
01-11-2021 04:24 AM
Hello,
ZIP the Packet Tracer project file, that format (.zip) is allowed to be posted.
01-11-2021 04:27 AM
Thank you, I uploaded it to the post.
01-11-2021 04:49 AM
Hello,
I think you are on the right track. You need to create a standard access list for Vlan 10 and apply that to the VTY lines:
access-list 23 permit 192.168.10.0 0.0.0.255
!
line vty 0 4
access-class 23 in
transport input ssh
!
line vty 5 15
access-class 23 in
transport input ssh
The two servers on the left had the wrong default gateway (WAN IP address instead of LAN IP address). The switch (4) had no IP address, I added one in Vlan 1, plus the default gateway.
I added the access class and the VTY line configuration to all devices (file attached), check if everything works now.
I saved the project in PT version 7.3.1., so that is what you need to open the file.
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