09-28-2025 05:50 AM
Hello I'd appreciate some help here. I'm new and I'm trying to to get PC0 to be able to ping PC5 is says "destination host unreachable", both under 2 different switches. I did all i can and i'm stuck. I also noticed when i try to ping the first switch to the other it's unsuccessful. I'm not sure if this is how you attach the file but here it is. Thanks again.
here's the running config on one switch and it's pretty much the same on the other.
Switch#show running-config
Building configuration...
Current configuration : 2636 bytes
!
version 12.2(37)SE1
no service timestamps log datetime msec
no service timestamps debug datetime msec
no service password-encryption
!
hostname Switch
!
!
!
!
!
!
ip routing
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
spanning-tree mode pvst
!
!
!
!
!
!
interface FastEthernet0/1
switchport access vlan 60
switchport mode access
!
interface FastEthernet0/2
switchport access vlan 70
switchport mode access
!
interface FastEthernet0/3
switchport access vlan 80
switchport mode access
!
interface FastEthernet0/4
switchport access vlan 90
switchport mode access
!
interface FastEthernet0/5
switchport access vlan 100
switchport mode access
!
interface FastEthernet0/6
!
interface FastEthernet0/7
!
interface FastEthernet0/8
!
interface FastEthernet0/9
!
interface FastEthernet0/10
!
interface FastEthernet0/11
!
interface FastEthernet0/12
!
interface FastEthernet0/13
!
interface FastEthernet0/14
!
interface FastEthernet0/15
!
interface FastEthernet0/16
!
interface FastEthernet0/17
!
interface FastEthernet0/18
!
interface FastEthernet0/19
!
interface FastEthernet0/20
!
interface FastEthernet0/21
!
interface FastEthernet0/22
!
interface FastEthernet0/23
!
interface FastEthernet0/24
!
interface GigabitEthernet0/1
no switchport
ip address 192.168.200.2 255.255.255.252
ip access-group HOST_ICMP in
duplex auto
speed auto
!
interface GigabitEthernet0/2
!
interface Vlan1
no ip address
shutdown
!
interface Vlan60
mac-address 000a.4155.6801
ip address 192.168.60.1 255.255.255.0
!
interface Vlan70
mac-address 000a.4155.6802
ip address 192.168.70.1 255.255.255.0
!
interface Vlan80
mac-address 000a.4155.6803
ip address 192.168.80.1 255.255.255.0
!
interface Vlan90
mac-address 000a.4155.6804
ip address 192.168.90.1 255.255.255.0
!
interface Vlan100
mac-address 000a.4155.6805
ip address 192.168.100.1 255.255.255.0
!
ip classless
!
ip flow-export version 9
!
!
ip access-list extended HOST_ICMP
permit icmp host 192.168.10.10 host 192.168.60.10
permit icmp host 192.168.60.10 host 192.168.10.10
permit icmp host 192.168.20.10 host 192.168.70.10
permit icmp host 192.168.70.10 host 192.168.20.10
permit icmp host 192.168.30.10 host 192.168.80.10
permit icmp host 192.168.80.10 host 192.168.30.10
permit icmp host 192.168.40.10 host 192.168.90.10
permit icmp host 192.168.90.10 host 192.168.40.10
permit icmp host 192.168.50.100 host 192.168.100.10
permit icmp host 192.168.100.10 host 192.168.50.10
deny icmp any any
permit ip any any
permit icmp host 192.168.200.1 host 192.168.200.2
permit icmp host 192.168.200.2 host 192.168.200.1
!
!
!
!
!
!
line con 0
!
line aux 0
!
line vty 0 4
login
!
!
!
!
end
Solved! Go to Solution.
09-28-2025 06:14 AM
Hello @newnetwork
On Gi0/1 on both swithes, configure Trunk port:
interface g0/1
switchport mode trunk
switchport trunk allowed vlan 60,70,80,90,100
After, that try ping without ACL ensure that is OK. After that asjust your ACL and apply it...
09-28-2025 06:14 AM
Hello @newnetwork
On Gi0/1 on both swithes, configure Trunk port:
interface g0/1
switchport mode trunk
switchport trunk allowed vlan 60,70,80,90,100
After, that try ping without ACL ensure that is OK. After that asjust your ACL and apply it...
09-28-2025 11:03 PM
I tried this on both switches and wasn't able to ping them still
09-29-2025 02:51 AM - edited 09-29-2025 02:57 AM
Either attach the (zipped) PT file (if PT being used) or post other switch's config.
09-28-2025 08:36 AM - edited 09-28-2025 08:36 AM
I'm not sure if this is how you attach the file
If it's a Packet Tracer file, you need to zip it, and then you can attach the zip file.
At to communicating between switches, if you intend to route between them, each L3 switch needs to "know" of any non directly connected networks and how to reach them. That might be accomplished by using static route statements on both L3 switches or running a routing protocol between them.
BTW, what M02@rt37 suggests would require identical VLAN assignments and corresponding VLAN/subnet assignments to work.
09-29-2025 07:09 AM
Remove the IPAddress from Gi0/1 on both switches.
09-29-2025 07:10 AM
And the VLAN's on switchport mode trunk as it has been stated. Please also remove your access-group.
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