RE: POP Quiz - Answers

From: Jason Sinclair (sinclairj@xxxxxxxxxxxxxxx)
Date: Wed May 15 2002 - 20:41:45 GMT-3


   
All,

Please note that I left out the most important part. You also need the
following:

Router bgp 100
Table-map autotag

Route-map autotag permit 10
Set automatic-tag

The difference is that the as-path tag will preserve any as-path info in the
redistribution and the automatic tag will preserve the origin attribute.

As I stated earlier time was an issue this last week, in future quizzes I
will ensure that I lab them for you. Also, these quizzes are more intended
to make you think about things and how they actually work, rather than
always having the correct answer. Please let me know if these are of a
benefit to you.

Regards,

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: Carlos G Mendioroz [mailto:tron@huapi.ba.ar]
                Sent: Thursday, 16 May 2002 01:03
                To: Jason Sinclair
                Cc: Groupstudy ccielab list
                Subject: Re: POP Quiz - Answers

                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

**********************************************************************
PowerTel Limited, winners of
Broadband Wholesale Carrier of the year, CommsWorld Telecomms Awards 2001
Best Emerging Telco, Australian Telecom Awards 2001

**********************************************************************
This email (including all attachments) is intended solely for the named
addressee. It is confidential and may contain commercially sensitive
information. If you receive it in error, please let us know by reply email,
delete it from your system and destroy any copies.

This email is also subject to copyright. No part of it should be reproduced,
adapted or transmitted without the prior written consent of the copyright owner
.

Emails may be interfered with, may contain computer viruses or other defects
and may not be successfully replicated on other systems. We give no
warranties in relation to these matters. If you have any doubts about
the authenticity of an email purportedly sent by us, please contact us
immediately.

**********************************************************************



This archive was generated by hypermail 2.1.4 : Thu Jun 13 2002 - 10:58:57 GMT-3