cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
864
Views
0
Helpful
10
Replies

Ping Issues

ameyasingh
Level 1
Level 1

I have VLAN’s 1 and 2 that are routable. Both VLAN’s are getting IP addresses via DHCP.

 

DHCP Scope 1 is servicing building 1 on VLAN 1 – 192.168.1.1-254.

DHCP Scope 2 is servicing building 2 on VLAN 2 – 192.168.2.1-254.

 

Sitting in building 1, on VLAN 1, I can ping addresses on VLAN 2 in both buildings.

Sitting in building 1, on VLAN 2, I can ping addresses only on VLAN 2 in building 1. However, I am unable to ping addresses on VLAN 2 in building 2 from building 1. The output of the ping is "Reply from x.x.x.x: Destination Host Unreachable"., where x.x.x.x is my local host. Please help. 

10 Replies 10

Alex Pfeil
Level 7
Level 7

What is the configuration on the ports connecting the two buildings?

please show interface running configuration and the trunk information connecting the buildings.

show run interface

show int "INTERFACE" trunk

 

Hi Alex,

Here is the info that you requested:

 

Switch1#sh run interface gi0/24
Building configuration...

Current configuration : 87 bytes
!
interface GigabitEthernet0/24
switchport mode trunk
end

 

Switch1#sh int gi0/24 trunk

Port       Mode   Encapsulation    Status     Native vlan
Gi0/24     on           802.1q         trunking             1

Port                   Vlans allowed on trunk
Gi0/24                   1-4094

Port                   Vlans allowed and active in management domain
Gi0/24                   1,2

Port                   Vlans in spanning tree forwarding state and not pruned
Gi0/24                   1,2

 

Switch2#sh run interface gi0/6
Building configuration...

Current configuration : 167 bytes
!
interface GigabitEthernet0/6
switchport trunk encapsulation dot1q
switchport mode trunk
storm-control broadcast level 70.00
end

 

Switch2#sh int gi0/6 trunk

Port      Mode    Encapsulation  Status    Native vlan
Gi0/6      on          802.1q        trunking        1

Port                   Vlans allowed on trunk
Gi0/6                          1-4094

Port                   Vlans allowed and active in management domain
Gi0/6                          1,2

Port                   Vlans in spanning tree forwarding state and not pruned
Gi0/6                          1,2

 

It's a P2P connection between the buildings.

balaji.bandi
Hall of Fame
Hall of Fame

1. what is these devices and mode which in the building 1 and 2

2. what kind of connectivity between buildings

3. is the building to building switch port configured as trunk and allow vlan 1 and 2 ?

4. also post the configuration of the interfaces connected between building 

 

 

 

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help

Hi Balaji,

1. These are Cisco Catalyst switches.

2. It's a P2P connection between the buildings.

3.

Switch1#sh run interface gi0/24
Building configuration...

Current configuration : 87 bytes
!
interface GigabitEthernet0/24
switchport mode trunk
end

 

Switch1#sh int gi0/24 trunk

Port       Mode   Encapsulation    Status     Native vlan
Gi0/24     on           802.1q         trunking             1

Port                   Vlans allowed on trunk
Gi0/24                   1-4094

Port                   Vlans allowed and active in management domain
Gi0/24                   1,2

Port                   Vlans in spanning tree forwarding state and not pruned
Gi0/24                   1,2

 

Switch2#sh run interface gi0/6
Building configuration...

Current configuration : 167 bytes
!
interface GigabitEthernet0/6
switchport trunk encapsulation dot1q
switchport mode trunk
storm-control broadcast level 70.00
end

 

Switch2#sh int gi0/6 trunk

Port      Mode    Encapsulation  Status    Native vlan
Gi0/6      on          802.1q        trunking        1

Port                   Vlans allowed on trunk
Gi0/6                          1-4094

Port                   Vlans allowed and active in management domain
Gi0/6                          1,2

Port                   Vlans in spanning tree forwarding state and not pruned
Gi0/6                          1,2

ok please post L3 SVI interface configuration from both the switches.

 

show run interface vlan 1

show run interface vlan 2

show ip route

 

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help

When I try to ping 192.168.2.x in building 2 from 192.168.2.x in building 1, sometimes I get the result as "Reply from 192.168.2.x(my local host): Destination host unreachable" and sometimes as "Request Timed Out". Both the buildings are being serviced by different DHCP scopes using AD (In building 1, DHCP scope is defined as - 1,2 - all devices in building 1 are primarily given IP address in VLAN 1 and in building 2 it is defined as - 2,1 - all devices in building 2 are primarily given IP address in VLAN 2). Does that make a difference. 

Hello

Please can you post the running config from the core switch and access switch pertaining to these two buildings?

 

Also include:
sh int trunk
sh vlan brief


Please rate and mark as an accepted solution if you have found any of the information provided useful.
This then could assist others on these forums to find a valuable answer and broadens the community’s global network.

Kind Regards
Paul

Hi Paul,

Here are the configs:

Hi Alex,

Here is the info that you requested:

 

Switch1#sh run interface gi0/24
Building configuration...

Current configuration : 87 bytes
!
interface GigabitEthernet0/24
switchport mode trunk
end

 

Switch1#sh int gi0/24 trunk

Port       Mode   Encapsulation    Status     Native vlan
Gi0/24     on           802.1q         trunking             1

Port                   Vlans allowed on trunk
Gi0/24                   1-4094

Port                   Vlans allowed and active in management domain
Gi0/24                   1,2

Port                   Vlans in spanning tree forwarding state and not pruned
Gi0/24                   1,2

 

Switch2#sh run interface gi0/6
Building configuration...

Current configuration : 167 bytes
!
interface GigabitEthernet0/6
switchport trunk encapsulation dot1q
switchport mode trunk
storm-control broadcast level 70.00
end

 

Switch2#sh int gi0/6 trunk

Port      Mode    Encapsulation  Status    Native vlan
Gi0/6      on          802.1q        trunking        1

Port                   Vlans allowed on trunk
Gi0/6                          1-4094

Port                   Vlans allowed and active in management domain
Gi0/6                          1,2

Port                   Vlans in spanning tree forwarding state and not pruned
Gi0/6                          1,2

 

It's a P2P connection between the buildings.

Hello

Can you post the config if thr L3 and also if applicable the access switchs 


Please rate and mark as an accepted solution if you have found any of the information provided useful.
This then could assist others on these forums to find a valuable answer and broadens the community’s global network.

Kind Regards
Paul

When I try to ping 192.168.2.x in building 2 from 192.168.2.x in building 1, sometimes I get the result as "Reply from 192.168.2.x(my local host): Destination host unreachable" and sometimes as "Request Timed Out". Both the buildings are being serviced by different DHCP scopes using AD (In building 1, DHCP scope is defined as - 1,2 - all devices in building 1 are primarily given IP address in VLAN 1 and in building 2 it is defined as - 2,1 - all devices in building 2 are primarily given IP address in VLAN 2). Does that make a difference.
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