cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
448
Views
0
Helpful
5
Replies

Different prefix in PE router

vinayak.d
Level 1
Level 1

Configured a subinterface in Gig ethernet with /30 mask but still its observed that in routing table it entry is /32.

Platform is 7206 NPE-G with MPLS enabled

5 Replies 5

mheusinger
Level 10
Level 10

Hi,

can you please give more information like a relevant portion of the config and show command outputs?

In some environments host routes are created by routing protocols.

Regards, Martin

Foll is sample config in which connected /30 route is seen without any subnet in "show ip route" output

ip vrf TEST

rd AS:12422

route-target both AS:10396

ip vrf forwarding TEST

ip address 172.25.240.253 255.255.255.252

address-family ipv4 vrf TEST

redistribute connected

redistribute static

no auto-summary

no synchronization

exit-address-family

sh ip route vrf TEST connected

C 172.25.240.252 is directly connected, FastEthernet 0/1.1212

Hi Vinayak,

The sh ip route vrf output seems to be correct.

The ip address configured on the inerface is 172.25.240.253/30 which falls within the subnet 172.25.240.252.

This subnet entry is correctly being shown as directly connected.

HTH, rate if it does

Narayan

If its connected route is should be in routing table with subnet/30 and not /32 as seen currently .

Vinayak,

Can you please issue the command sh ip route vrf test without the connected keyword and check.

Post the results

Narayan

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: