Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

ip addresses in same subnet being learned differenly

trying to reach ip addresses from our data center to our remote office

we are running ospf internally

the remote office sites have 2 routers..with 172.20.255.2 and 172.20.255.3 configured as a subinterface-glbp address is 172.20.255.1

we have a host device-172.20.255.4 all of these are configured with mask 255.255.255.248

for ex

interface GigabitEthernet0/0.1720
encapsulation dot1Q 1720
ip address 172.20.255.3 255.255.255.248
no snmp trap link-status
glbp 4 ip 172.20.255.1
glbp 4 weighting track 1 decrement 100
end

Yet I am unable to reach the router interfaces or the glbp vip address but can ping the .4 host address

I look at routing and notice this

DATACENTER1#sh ip ro 172.20.255.4

Routing entry for 172.20.255.0/29

  Known via "ospf 711", distance 110, metric 1

  Tag 13979, type extern 2, forward metric 1

  Last update from 10.10.1.2 on Vlan101, 2w3d ago

  Routing Descriptor Blocks:

  * 10.10.1.3, from 10.1.1.10, 2w3d ago, via Vlan101

      Route metric is 1, traffic share count is 1

      Route tag 65000

    10.10.1.2, from 10.10.1.2, 2w3d ago, via Vlan101

      Route metric is 1, traffic share count is 1

      Route tag 13979

DATACENTER1#sh ip ro 172.20.255.1

Routing entry for 172.20.255.0/30

  Known via "static", distance 1, metric 0

  Redistributing via ospf 711

  Advertised by ospf 711 subnets

  Routing Descriptor Blocks:

  * 10.11.24.10

      Route metric is 0, traffic share count is 1

sh ip rout static

ip route 172.20.255.0 255.255.255.252 10.11.24.10

My question is /30 vs./29 which is configured on the host devices and gw

how would this affect pinging one device instead of another on the same subnet in the same office?

1 REPLY
Hall of Fame Super Blue

Re: ip addresses in same subnet being learned differenly


172.20.255.0 /30  =  172.20.255.1 -> 2 with .3 being the broadcast address. So that covers the physical and virtual addresses on your routers hence the reason you can't ping them.

172.20.255.0/30 does not include 172.20.255.4 so the /29 route is used when you try to ping that address and is therefore routed correctly. You need to work out why you have this static and why the same addressing has been used in the remote site.

Jon

279
Views
0
Helpful
1
Replies
CreatePlease login to create content