01-25-2019 02:11 PM - edited 03-08-2019 05:33 PM
I cannot seem to ping R3 from S1. What needs to be changed in my configurations in the attached file?
Any assistance would be good.
Thanks
Nader
01-25-2019 02:25 PM
The port on S1 that connects to S2 needs to be in vlan 5.
Jon
01-25-2019 03:08 PM
Hello @NaderHussain,
You have 2 options:
1-
The configuration of S2 is okay and doesn't need to be changed!
While the port of S1 that is connected to S2, need to be configured, as according to your S1 configuration, all the ports are by default not configured, you will need to issue:
#interface f0/x
#switchport mode access
#switchport access vlan 5
#exit
Note: Pinging will be successful but this option will generate this log:
%CDP-4-NATIVE_VLAN_MISMATCH: Native VLAN mismatch discovered on FastEthernet0/1 (1), with Switch FastEthernet0/1 (5).
as you have connected 2 switches using access ports! but you can ignore that log or even you can disable the cdp on that port!
2-
To change the configuration of S2 especially interface f0/4 as the following:
#int f0/4
#switchport mode trunk
#exit
and to make the port of S1 that is connected to S2 as the following:
#int f0/x
#switchport trunk encapsulation dot1q
#switchport mode trunk
#exit
Now pinging too will be successful without any logs!
Please don't forget to rate all helpful responses and mark solutions!
Bst Rgds,
Andrew Khalil
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