cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Announcements

Cisco announces new innovations in SD-WAN, ISRs, SD-WAN Services, and Catalyst 9000 Series switches


122
Views
0
Helpful
10
Replies
Highlighted
Beginner

Ping Issues

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
Enthusiast

Re: Ping Issues

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

 

Beginner

Re: Ping Issues

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.

Collaborator

Re: Ping Issues

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 ***
Beginner

Re: Ping Issues

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

Collaborator

Re: Ping Issues

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 ***
Beginner

Re: Ping Issues

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. 

VIP Advisor

Re: Ping Issues

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



kind regards
Paul

Please don't forget to rate any posts that have been helpful.
Beginner

Re: Ping Issues

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.

VIP Advisor

Re: Ping Issues

Hello

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



kind regards
Paul

Please don't forget to rate any posts that have been helpful.
Beginner

Re: Ping Issues

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.
CreatePlease to create content
Content for Community-Ad
Ask the Expert- DMVPN on Cisco routers