07-27-2022 12:12 AM - edited 07-27-2022 12:57 AM
Hi guys, I have here 2 troubleshooting tasks my teacher intentionally made mistakes in. One where there is a fault with the switch (I have to find out why there is no remote connection to my switch2) and the other where there are faults at the router. But I'm working on the switch task right now. Here are the different ip addresses and default gateways for the routers, switches and computers:
pc-1 ip: 172.16.99.10/28 pc-1 default gateway: 172.16.99.1
switch1 vlan: 172.16.99.2/28
router1 GigabitEthernet0 / 0: 172.16.99.1/28 router1 Serial0 / 0/0: 10.0.0.1/30
router2 GigabitEthernet0 / 0: 172.16.89.1/27 router2 Serial0 / 0/0: 10.0.0.2/30
switch2 vlan: 172.16.89.2/27 (I found this error here. It said .88 instead of .89)
pc-2 ip: 172.16.89.10/27 pc-2 default gateway: 172.16.89.1
router / pc / switch 1 is on the left side (ie in lan 1) router / pc / switch 2 is on the right side (ie in lan 2)
the left side has a subnet mask of 255.255.255.240 the right side has a subnet mask of 255.255.255.224
This is the best way I can explain it
Basically the only error I have found so far is that the wrong vlan ip was used on switch 2 and i've corrected it, but I can not find the 1 or 2 more errors that could be. Maybe someone could help here from my slightly vague description of the task. If you need more info just let me know and I'll add it. I've put some screenshots too so you can get a better picture of what i'm talking about. I can't attach the file because when i try making it a zip file it wont open/work so i just have the screenshots
Solved! Go to Solution.
07-27-2022 01:13 AM
you have need to add below command on the Switch 2
ip default-gateway 172.16.89.1
it will work perfectly
07-27-2022 02:06 AM
On Switch2
use below command your issue will resolve
(config)#line vty 0 4
#transport input telnet
07-27-2022 12:15 AM
07-27-2022 12:44 AM
Hello,
post your zipped Packet Tracer project (.pkt) file...
07-27-2022 12:56 AM
07-27-2022 01:13 AM
you have need to add below command on the Switch 2
ip default-gateway 172.16.89.1
it will work perfectly
07-27-2022 01:36 AM
okay i have done this but when i tried remote connecting both pc's to the switches it opens but then immediately says "Closed by foreign host" even though I haven't closed it. Is that normal? Does this mean it is now connected or what?
07-27-2022 02:06 AM
On Switch2
use below command your issue will resolve
(config)#line vty 0 4
#transport input telnet
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