12-27-2018 06:11 PM - edited 03-08-2019 04:54 PM
I have a switch and router on Packet Tracer and I cannot ping the router from the switch. Below, is the interface script on the switch and the router's f0/0 configuration.
Configs:
Router:
interface FastEthernet0/0
ip address 192.168.20.1 255.255.255.0
duplex auto
speed auto
!
(f0/0 is Up)
Switch:
interface FastEthernet0/1
switchport trunk native vlan 99
switchport trunk allowed vlan 1,20
switchport mode trunk
switchport nonegotiate
!
Why is the switch unable to connect to the router?
interface Vlan1
ip address 192.168.20.2 255.255.255.0
!
ip default-gateway 192.168.20.1
!
12-27-2018 08:04 PM
Please share the output of the following commands: sh vlan bri, sh int trunk and sh int vlan1. I guess the SVI (interface vlan1) is up/down because there is nothing connected to the switch.
HTH,
Meheretab
12-28-2018 12:04 AM
12-28-2018 12:10 AM
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