Re: BGP Question

From: Sarad <tosara_at_gmail.com>
Date: Mon, 20 Sep 2010 17:51:15 +0530

Hi Hemanth,

To replicate your scenario will take the following simplified topology,

             R1 -------------------------------------R2
------------------------- R3

Subas 6500 65001
none

AS 300
300 300

*Router 1 - Config*

This is standard confederation configuration

 router bgp 65000
 no synchronization
 bgp log-neighbor-changes
 bgp confederation identifier 300
 bgp confederation peers 65001
 network 1.1.1.1 mask 255.255.255.255
 neighbor 10.1.1.2 remote-as 65001
 no auto-summary

*Router 2 - Config*
router bgp 65001
 no synchronization
 bgp log-neighbor-changes
 bgp confederation identifier 300
 bgp confederation peers 300 65000 ##### include AS 300 here
 network 2.2.2.2 mask 255.255.255.255
 network 10.1.1.0 mask 255.255.255.0
 network 20.1.1.0 mask 255.255.255.0
 neighbor 10.1.1.1 remote-as 65000
 neighbor 20.1.1.2 remote-as 300 #### Peer with AS 300
 neighbor 20.1.1.2 allowas-in 1 #### If this is not configured route
originated by R3 will not accept by R2 as AS300 is in the path
 no auto-summary

*Router 3 - Config*
**
router bgp 300
 no synchronization
 bgp log-neighbor-changes
 bgp confederation peers 65001
 network 3.3.3.3 mask 255.255.255.255
 network 20.1.1.0 mask 255.255.255.0
 neighbor 20.1.1.1 remote-as 65001 #### Peer with subAS
 no auto-summary

I tested this in the lab & its working but I dont know whether there is a
straight forward config than this.

Thanks
Sara

**

On Mon, Sep 20, 2010 at 8:55 AM, HEMANTH RAJ <hemanthrj_at_gmail.com> wrote:

> hi friends sorry for my wrong diagram
> This is my scenario
>
> R1,R2 and R3 are in sub as 65000 and R4,R5 and R6 are in sub as 65001
>
> R7 is in main AS 300 and not part of any confederations..
>
> All the routers are under AS 300
>
> Can we peer with a Confederation AS router R1 to non confederation peer
> router R7 which is not part of any confederation
> i tried but its showing peering with wrong AS
> Can anyone put up the configs
> Can anyone explain me how to configure
>
>
>
>
> |-------------------------------------------------------------------------------------------------------------|
> | AS 300
> |
> |
> |
> |
>
> |
> |- |-----------------|
> |---------------| |
> | | R1-----------------R7-----------------------------|------R4
> | |
> | | | | |
> | | |
> | | | | |
> | | |
> | | R2 | |
> R5
> | |
> | | | | |
> | | |
> | | | | |
> | | |
> | | R3 | |
> R6
> | |
> | |-----------------|
> |---------------| |
> |
> |
> | AS65000 AS 65001
> |
> |
> |
> |
> |
> |
> |
> |
> |
> |
> |
>
> |--------------------------------------------------------------------------------------------------------------
>
>
>
>
>
>
>
>
>
>
>
>
>
> Problems arise Bcoz we talk,prblms r not solve bcoz we dont talk So gud r
> bad talk to ur affectionate one's freely
>
> Urs Friendly,
> HP HEMANTH RAJ
>
>
> Blogs and organic groups at http://www.ccie.net
>
> _______________________________________________________________________
> Subscription information may be found at:
> http://www.groupstudy.com/list/CCIELab.html

Blogs and organic groups at http://www.ccie.net
Received on Mon Sep 20 2010 - 17:51:15 ART

This archive was generated by hypermail 2.2.0 : Fri Oct 01 2010 - 05:58:05 ART