Both should work in this case. I prefer AS path prepending. On Sun, Jul 5, 2009 at 12:05 PM, prakash patel <[email protected]>wrote:
> Seems as-path prepending as the best approach. > > > From: [email protected] > > To: [email protected] > > Date: Sun, 5 Jul 2009 12:13:56 -0500 > > Subject: [OSL | CCIE_RS] v10, vol1, task 11.18 (page 337-338 PG) > > > > > Another goofy one? > > > > TASK 11.18 - R1 should add these 4 loopbacks. When they hit other > routers, > > they should appear as if originated by AS 65003 > > > > 92.1.80.1/24 > > 92.1.81.1/24 > > 92.1.82.1/24 > > 92.1.83.1/24 > > > > PG Solution: > > > > ! R1 (AS60000) > > Access-list 21 permit 92.1.80.0 0.0.3.255 > > > > Route-map task18 permit 10 > > Match ip addr 21 > > Set origin egp 65003 > > Route-map task 18 permit 20 > > > > What PG solution gets you: > > > > *> 92.1.80.0/24 150.100.12.1 0 0 60000 e > > *> 92.1.81.0/24 150.100.12.1 0 0 60000 e > > *> 92.1.82.0/24 150.100.12.1 0 0 60000 e > > *> 92.1.83.0/24 150.100.12.1 0 0 60000 e > > > > AS has not been modified? Just looks like origin was flipped to egp. > > > > So rather do it just using path prepending: > > > > R2(config-router)#do sh ip bgp | i 92.1.8 > > *> 92.1.80.0/24 150.100.12.1 0 0 60000 65003 i > > *> 92.1.81.0/24 150.100.12.1 0 0 60000 65003 i > > *> 92.1.82.0/24 150.100.12.1 0 0 60000 65003 i > > *> 92.1.83.0/24 150.100.12.1 0 0 60000 65003 i > > > > Yes? No? > > > > > > > > ------------------------------ > Hotmail® has ever-growing storage! Don’t worry about storage limits. Check > it > out.<http://windowslive.com/Tutorial/Hotmail/Storage?ocid=TXT_TAGLM_WL_HM_Tutorial_Storage_062009> > -- Bryan Bartik CCIE #23707 (R&S), CCNP Sr. Support Engineer - IPexpert, Inc. URL: http://www.IPexpert.com
