MPLS LAB - PE to CE routing - OSPF (different PID)

In this post OSPF will again be the PE to CE routing-protocol. The only difference with the previous post is that the OSPF PID between router R3 and R7 will be 20.

Below the diagram again :

MPLS


The changes made on router R3 and R7 below :

R3 :


router ospf 20 vrf VPN_A
 router-id 37.37.37.3
 log-adjacency-changes
 redistribute bgp 100 subnets
 network 37.37.37.3 0.0.0.0 area 0
!
router bgp 100
 no synchronization
 bgp router-id 3.3.3.3
 bgp log-neighbor-changes
 neighbor 6.6.6.6 remote-as 100
 neighbor 6.6.6.6 update-source Loopback0
 no auto-summary
 !
 address-family ipv4 vrf VPN_A
 redistribute ospf 20 vrf VPN_A match internal external 1 external 2
 no auto-summary
 no synchronization
 exit-address-family
    

R7 :


router ospf 20
 router-id 7.7.7.7
 log-adjacency-changes
 redistribute connected subnets
 network 37.37.37.7 0.0.0.0 area 0
    

The “show ip route” output on router R7 before changing the PID from 10 (like configured in the previous post) to 20 on router R3 and R7 :

R7 :


R7#sh ip route
Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP
       D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
       N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
       E1 - OSPF external type 1, E2 - OSPF external type 2
       i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
       ia - IS-IS inter area, * - candidate default, U - per-user static route
       o - ODR, P - periodic downloaded static route

Gateway of last resort is not set

     37.0.0.0/24 is subnetted, 1 subnets
C       37.37.37.0 is directly connected, FastEthernet1/3
     7.0.0.0/32 is subnetted, 1 subnets
C       7.7.7.7 is directly connected, Loopback0
     11.0.0.0/32 is subnetted, 1 subnets
O E2    11.11.11.11 [110/20] via 37.37.37.3, 00:02:19, FastEthernet1/3
     61.0.0.0/24 is subnetted, 1 subnets
O IA    61.61.61.0 [110/2] via 37.37.37.3, 00:02:19, FastEthernet1/3
    

After changing the PID to 20 the “show ip route” output on router R7 looks like below , notice that now all routes are seen as external routes.

The “show ip route” output on router R7 after changing the PID on router R3 and R7 :

R7 :


R7#sh ip route
Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP
       D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
       N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
       E1 - OSPF external type 1, E2 - OSPF external type 2
       i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
       ia - IS-IS inter area, * - candidate default, U - per-user static route
       o - ODR, P - periodic downloaded static route

Gateway of last resort is not set

     37.0.0.0/24 is subnetted, 1 subnets
C       37.37.37.0 is directly connected, FastEthernet1/3
     7.0.0.0/32 is subnetted, 1 subnets
C       7.7.7.7 is directly connected, Loopback0
     11.0.0.0/32 is subnetted, 1 subnets
O E2    11.11.11.11 [110/20] via 37.37.37.3, 00:00:59, FastEthernet1/3
     61.0.0.0/24 is subnetted, 1 subnets
O E2    61.61.61.0 [110/1] via 37.37.37.3, 00:00:59, FastEthernet1/3
    

15 Comments

shivlu jainApril 1st, 2009 at 4:41 pm

Hi

Good doc , I have posted the same on my blog also.

http://shivlu.blogspot.com/2008/11/why-ospf-vpnv4-routes-look-as-external_07.html

This can be overcome by chaging domain-id with no downtime. Because by default pid works as domain id. So we need to make the domain-id same and consequence no e2 routes. :)

regards
shivlu jain

LEEJuly 21st, 2010 at 4:42 am


Medicamentspot.com. Canadian Health&Care.Special Internet Prices.Best quality drugs.No prescription online pharmacy. No prescription pills. Order drugs online

Buy:Retin-A.100% Pure Okinawan Coral Calcium.Actos.Arimidex.Human Growth Hormone.Zyban.Lumigan.Prevacid.Mega Hoodia.Valtrex.Prednisolone.Synthroid.Zovirax.Accutane.Petcam (Metacam) Oral Suspension.Nexium….

SHAUNSeptember 7th, 2010 at 11:07 am


CheapTabletsOnline.Com. Canadian Health&Care.No prescription online pharmacy.Best quality drugs.Special Internet Prices. Low price pills. Order pills online

Buy:Viagra.Soma.VPXL.Cialis Professional.Maxaman.Viagra Super Force.Viagra Super Active+.Levitra.Cialis.Zithromax.Viagra Soft Tabs.Cialis Super Active+.Cialis Soft Tabs.Viagra Professional.Propecia.Tramadol.Super Active ED Pack….

MATTHEWNovember 11th, 2010 at 5:26 am


NEW FASHION store. Original designers collection at low prices!!! 20 % TO 70 % OFF. END OF SEASON SALE!!!

BUY FASHION. TOP BRANDS: GUCCI, DOLCE&GABBANA, BURBERRY, DIESEL, ICEBERG, ROBERTO CAVALLI, EMPORIO ARMANI, VERSACE…

JESUSDecember 18th, 2010 at 7:01 am

████████►BUY VIAGRA◀███████…

████████▲▲▲▲▲▲▲▲▲████████…

TIMOTHYDecember 22nd, 2010 at 8:03 pm

dosage of amoxicillin for respiratory disorder

Buygeneric drugs…

RALPHDecember 29th, 2010 at 1:12 am

Aleve@official.site” rel=”nofollow”>..

Buyit now…

FERNANDODecember 30th, 2010 at 2:46 am

Amoxicillin@official.site” rel=”nofollow”>…

Buyno prescription…

JESSIEDecember 30th, 2010 at 11:17 pm

avodart@dosage.now” rel=”nofollow”>..

Buygeneric meds…

GREGORYDecember 31st, 2010 at 3:27 pm

Azor@official.site” rel=”nofollow”>…

Buygeneric pills…

ALBERTOJanuary 2nd, 2011 at 6:54 am

Crestor@official.site” rel=”nofollow”>.

Buywithout prescription…

DARRELLJanuary 4th, 2011 at 7:28 pm

generic@viagra.sildenafil.paypal.no.prescription” rel=”nofollow”>…

Buygeneric meds…

GUYJanuary 5th, 2011 at 9:33 pm

abilify@and.sleep.issues” rel=”nofollow”>.

Buyno prescription…

SEANJanuary 21st, 2011 at 2:26 pm

Zyrtec@official.site” rel=”nofollow”>.

Buynow…

RONALDJanuary 21st, 2011 at 2:48 pm

Depakote@official.site” rel=”nofollow”>.

Buygeneric drugs…

Leave a comment

You must be logged in to post a comment.