cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
873
Views
0
Helpful
2
Replies

How do I correct the configurations of the switch trunks so I can ping R3 from a switch?

NaderHussain
Level 1
Level 1

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

2 Replies 2

Jon Marshall
Hall of Fame
Hall of Fame

 

The port on S1 that connects to S2 needs to be in vlan 5. 

 

Jon

Andrew Khalil
Spotlight
Spotlight

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 

 

 

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: