cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
430
Views
0
Helpful
1
Replies

Cannot Ping Sub-Interface Address

dtom
Level 1
Level 1

We have a 3845 (gi0/0) directly connected to a 7606 (gi3/24) with the following config:

 

7606
====
!
!
interface GigabitEthernet3/24
 description to er-EDCENTER
 ip address 10.223.0.13 255.255.255.252
 ip policy route-map unfiltered
!
!
interface Vlan160
 ip address 10.194.160.1 255.255.240.0
 ip helper-address 10.223.250.60
 ip route-cache policy
!
!

3845
====
!
!
interface GigabitEthernet0/0
 description to-metro switch gi3/24
 ip address 10.223.0.14 255.255.255.252
 ip helper-address 10.223.250.60
 duplex auto
 speed auto
 media-type rj45
 negotiation auto
!
!
interface GigabitEthernet0/1
 description Local Network
 no ip address
 duplex auto
 speed auto
 media-type rj45
 negotiation auto
!
!
interface GigabitEthernet0/1.160
 description Voice Vlan
 encapsulation dot1Q 160
 ip address 10.194.160.2 255.255.240.0
 ip helper-address 10.223.250.60
 no snmp trap link-status
!
!


All interfaces show up.  When we try to ping 10.194.160.2 from the 7606 we get no reply.  However, when we change the address on the 3845:

From - 10.194.160.2 255.255.240.0

To - 10.194.160.2 255.255.255.0

The ping of 10.194.160.2 from the 7606 works.


What are we missing here?

 

1 Reply 1

Jon Marshall
Hall of Fame
Hall of Fame

Your 7600 and 3845 are connected via the IP subnet 10.223.0.12/30.

So you can't have the same IP subnet ie. 10.194.160.0/20 on both sides of a different IP subnet.

When you change the subnet mask to 255.255.255.0 on the 3845 then it is now a more specific subnet so you can ping it assuming you have a route on the 7600 for that /24 pointing to the 3845.

Of course the above assumes that you do have a more specific route on the 7600 for that subnet.

If not it could be do with the PBR applied to the 7600, difficult to say without seeing the configuration.

Either way if you want 10.194.160.0/20 on both devices then you cannot use a separate IP subnet to connect the two devices together.

Jon

Review Cisco Networking products for a $25 gift card