From: David Ham (ccieau@xxxxxxxxxxx)
Date: Wed May 15 2002 - 22:17:49 GMT-3
I haven't done it on my lab yet but I think you might have to use table-map
with automatic-tag on RTA and RTC to preserve AS-path information as well as
origin code.
let me know what's your thoughts are.
Regards,
David Ham
Data specialist
OPTUS
>From: Carlos G Mendioroz <tron@huapi.ba.ar>
>Reply-To: Carlos G Mendioroz <tron@huapi.ba.ar>
>To: Jason Sinclair <sinclairj@powertel.com.au>
>CC: Groupstudy ccielab list <ccielab@groupstudy.com>
>Subject: Re: POP Quiz - Answers
>Date: Wed, 15 May 2002 12:03:24 -0300
>
>Jason,
>one of the requirements you had was:
>
> 5. The origin code for your route must be the same as
> the original origin code when the route was injected into BGP
>
>and it seems its not working with your solution, at least for me:
>
>At rtrC:
>BGP table version is 5, local router ID is 2.2.2.2
>Status codes: s suppressed, d damped, h history, * valid, > best, i -
>internal
>Origin codes: i - IGP, e - EGP, ? - incomplete
>
> Network Next Hop Metric LocPrf Weight Path
>*> 1.1.1.1/32 172.16.1.1 1 32768 ?
>*> 2.2.2.2/32 0.0.0.0 0 32768 i
>*> 172.16.0.0 0.0.0.0 0 32768 ?
>*> 192.168.1.0 172.16.1.1 128 32768 ?
>
>The origin code for 2.2.2.2 is "i" for a locally generated route
>(internal)
>and the one for the remote loopback is "?" for incomplete.
>
>It seems to me that redistributing the igp (ospf) and connected into
>bgp would do the trick (both would be incomplete then) although
>it would not be that interesting...
>
>
>Jason Sinclair wrote:
> >
> > All,
> > Guys,
> >
> > For pop quiz 1 I have the following configs. I have not labbed them due
> > to time constraints, however I believe they are correct. If you see any
> > mistakes please advise.
> >
> > Configs are:
> >
> > RtrA
> > Int lo0
> > Ip address 1.1.1.1 255.255.255.255
> >
> > Int s0
> > Ip address 192.168.1.1 255.255.255.0
> >
> > Router ospf 100
> > Network 192.168.1.0 0.0.0.255 area0
> > Redistribute bgp 100 subnets
> >
> > Router bgp 100
> > Network 1.1.1.1 mask 255.255.255.255
> > Redistribute ospf 100 route-map tags
> > No auto-summary
> > No synchronization
> >
> > Route-map tags permit 10
> > Set as-path tag
> >
> > Rtrb
> > Int s0
> > Ip address 192.168.1.2 255.255.255.0
> > Clock rate 64000
> >
> > Int s1
> > Ip address 172.16.1.1 255.255.255.0
> > Clock rate 64000
> >
> > Router ospf 100
> > Network 192.168.1.0 0.0.0.255 area 0
> > Network 172.16.1.0 0.0.0.255 area 0
> >
> > Rtrc
> > Int lo0
> > Ip address 3.3.3.3 255.255.255.255
> >
> > Int s0
> > Ip address 172.16.1.2 255.255.255.0
> >
> > Router ospf 100
> > Network 172.16.1.0 0.0.0.255 area0
> > Redistribute bgp 100 subnets
> >
> > Router bgp 100
> > Redistribute ospf 100 route-map tags
> > Network 3.3.3.3 mask 255.255.255.255
> > No auto-summary
> > No synchronization
> >
> > Route-map tags permit 10
> > Set as-path tag
> >
> > Cheers,
> >
> > Jason Sinclair CCIE #9100
> > Manager, Network Control Centre
> > POWERTEL
> > Ground Level, 55 Clarence Street,
> > SYDNEY NSW 2000
> > AUSTRALIA
> > office: + 61 2 8264 3820
> > mobile: + 61 416 105 858
> > * sinclairj@powertel.com.au
> >
> > -----Original Message-----
> > From: Jason Sinclair
> > [mailto:sinclairj@powertel.com.au]
> > Sent: Wednesday, 8 May 2002 13:32
> > To: 'ccielab@groupstudy.com'
> > Subject: POP Quiz
> >
> > All,
> >
> > I am proposing to regularly post little scenarios to
> > this forum. If you see
> > any benefit in this, the first is below:
> >
> > Quick Scenario 1:
> >
> > A quick scenario - should take 10 minutes to achieve.
> > Topology is:
> >
> > RtrA-----rtrB-------rtrC
> >
> > Rules:
> > 1. You can run BGP on rtrA and rtrC, but NOT rtrB.
> > 2. Any IGP can be run on rtrA, rtrB, rtrC.
> > 3. Create a loopback on rtrA and rtrC and ensure
> > that
> > the opposite
> > route to the loopback is visible to the remote router
> > via BGP.
> > 4. You cannot peer rtrA and rtrC with respect to
> > BGP
> > 5. The origin code for your route must be the same
> > as
> > the original
> > origin code when the route was injected into BGP
> > 6. 10 minutes to complete
> >
> > I will post answers in 5 days time.
> >
> > Cheers,
> >
> > Jason Sinclair CCIE #9100
> > Manager, Network Control Centre
> > POWERTEL
> > Ground Level, 55 Clarence Street,
> > SYDNEY NSW 2000
> > AUSTRALIA
> > office: + 61 2 8264 3820
> > mobile: + 61 416 105 858
> > * sinclairj@powertel.com.au
> >
> >
> >
>
>
>--
>Carlos G Mendioroz <tron@huapi.ba.ar> LW7 EQI Argentina
This archive was generated by hypermail 2.1.4 : Thu Jun 13 2002 - 10:58:57 GMT-3