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

Cannot ping in the same vlan

gianlucanotaro
Level 1
Level 1

This is my topology:

 

 

PCMitarbeiter and PC1 are in the same VLAN (Mitarbeiter)

PCMitarbeiter ip is: 143.54.234.1 and PC1 ip is 143.54.234.2

 

configs:

 

MLSA: 

!
version 16.3.2
no service timestamps log datetime msec
no service timestamps debug datetime msec

!
hostname MLSA
!
!

!
!
!
!
!
!
no ip cef
ip routing
!
no ipv6 cef
!
!
!
!
!
!
!
!
!
!
!
!
ip ssh version 2
ip domain-name MLSA
!
!
spanning-tree mode pvst
!
!
!
!
!
!
interface GigabitEthernet1/0/1
 switchport trunk encapsulation dot1q
 switchport mode access
 switchport nonegotiate
!
interface GigabitEthernet1/0/2
 switchport trunk native vlan 99
!
interface GigabitEthernet1/0/3
 switchport trunk native vlan 99
!
interface GigabitEthernet1/0/4
 switchport trunk native vlan 99
!
interface GigabitEthernet1/0/5
!
interface GigabitEthernet1/0/6
!
interface GigabitEthernet1/0/7
 shutdown
!
interface GigabitEthernet1/0/8
 shutdown
!
interface GigabitEthernet1/0/9
 shutdown
!
interface GigabitEthernet1/0/10
 shutdown
!
interface GigabitEthernet1/0/11
 shutdown
!
interface GigabitEthernet1/0/12
 shutdown
!
interface GigabitEthernet1/0/13
 shutdown
!
interface GigabitEthernet1/0/14
 shutdown
!
interface GigabitEthernet1/0/15
 shutdown
!
interface GigabitEthernet1/0/16
 shutdown
!
interface GigabitEthernet1/0/17
 shutdown
!
interface GigabitEthernet1/0/18
 shutdown
!
interface GigabitEthernet1/0/19
 shutdown
!
interface GigabitEthernet1/0/20
 shutdown
!
interface GigabitEthernet1/0/21
 shutdown
!
interface GigabitEthernet1/0/22
 shutdown
!
interface GigabitEthernet1/0/23
 shutdown
!
interface GigabitEthernet1/0/24
 shutdown
!
interface GigabitEthernet1/1/1
 shutdown
!
interface GigabitEthernet1/1/2
 shutdown
!
interface GigabitEthernet1/1/3
 shutdown
!
interface GigabitEthernet1/1/4
 shutdown
!
interface Vlan1
 no ip address
 shutdown
!
ip default-gateway 0.0.0.0
ip classless
!
ip flow-export version 9
!
!
!
no cdp run
!
!
!
!
!
!
line con 0
!
line aux 0
!
line vty 0

 login local
 transport input ssh
line vty 1 4

 login
!
!
!
!
end

 

The other switches: 

!
version 12.2
no service timestamps log datetime msec
no service timestamps debug datetime msec

!
hostname SMitarbeiter
!

!
!
!
ip ssh version 2
ip domain-name SMitarbeiter
!

!
!
!
spanning-tree mode pvst
spanning-tree extend system-id
!
interface FastEthernet0/1
 switchport access vlan 10
 switchport mode access
!
interface FastEthernet0/2
 switchport access vlan 20
 switchport mode access
 shutdown
!
interface FastEthernet0/3
 switchport access vlan 30
 switchport mode access
 shutdown
!
interface FastEthernet0/4
 shutdown
!
interface FastEthernet0/5
 shutdown
!
interface FastEthernet0/6
 shutdown
!
interface FastEthernet0/7
 shutdown
!
interface FastEthernet0/8
 shutdown
!
interface FastEthernet0/9
 shutdown
!
interface FastEthernet0/10
 shutdown
!
interface FastEthernet0/11
 shutdown
!
interface FastEthernet0/12
 shutdown
!
interface FastEthernet0/13
 shutdown
!
interface FastEthernet0/14
 shutdown
!
interface FastEthernet0/15
 shutdown
!
interface FastEthernet0/16
 shutdown
!
interface FastEthernet0/17
 shutdown
!
interface FastEthernet0/18
 shutdown
!
interface FastEthernet0/19
 shutdown
!
interface FastEthernet0/20
 shutdown
!
interface FastEthernet0/21
 shutdown
!
interface FastEthernet0/22
 shutdown
!
interface FastEthernet0/23
 shutdown
!
interface FastEthernet0/24
 shutdown
!
interface GigabitEthernet0/1
 switchport trunk native vlan 99
 switchport mode trunk
!
interface GigabitEthernet0/2
 shutdown
!
interface Vlan1
 no ip address
 shutdown
!
!
!
!
line con 0
!
line vty 0
 login local
 transport input ssh
line vty 1 4

 login
line vty 5 15
 login
!
!
!
!
end

 

thanks

1 Accepted Solution

Accepted Solutions

Naresh Murali
Cisco Employee
Cisco Employee

Hi  gianlucanotaro,

 

I guess you need to give bit more information on this.

From the running config the two devices are connected in different switches. So the communication should be via trunk.

Can you let us know the short topology of this with interface name and the running config of those interfaces connected?

Additionally the "show int trunk" output of your trunk interface to see if the vlan is allowed on it.

Might also need to verify if the spanning tree is in forwarding state. "Show spanning-tree vlan <>" on the switches will help.

Regards

Naresh M

View solution in original post

2 Replies 2

Naresh Murali
Cisco Employee
Cisco Employee

Hi  gianlucanotaro,

 

I guess you need to give bit more information on this.

From the running config the two devices are connected in different switches. So the communication should be via trunk.

Can you let us know the short topology of this with interface name and the running config of those interfaces connected?

Additionally the "show int trunk" output of your trunk interface to see if the vlan is allowed on it.

Might also need to verify if the spanning tree is in forwarding state. "Show spanning-tree vlan <>" on the switches will help.

Regards

Naresh M

gianlucanotaro
Level 1
Level 1

Thanks @Naresh Murali . I did show vlan on MLSA and saw I forgot to add the vlans on there. Everything now works as expected.

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:

Review Cisco Networking products for a $25 gift card