Friday, July 4, 2008

BGP AS-path Manipulation without AS-prepend

This simple scenario about different way to manipulation AS-path without prepend.

R1(AS100) -- R2(AS200)

R1#
neighbor 1.1.2.2 remote 200

R2#
neighbor 1.1.1.1 remote 100
network 100.100.100.0 mask 255.255.255.0


AS-path prefix 100.100.100.0/24 from R1 is '200 i'
I will make AS-path from R1 is '500 200 i'

How to make it ? manipulate it with 'local-as'

R1#
no neighbor 1.1.2.2 remote 200
neighbor 1.1.2.2 remote 500

R2#
neighbor 1.1.1.1 remote 100
neighbor 1.1.1.1 local-as 500
network 100.100.100.0 mask 255.255.255.0


'local-as' other function is to manipulation AS-number for existing network, may be we want to migration network in real network, we don't want to long downtime. as I know on a router just can run one 'router bgp AS' process ;) so just one AS-number on one router. I ever test how many routing protocol can running in one router.

How about static routing, how many static routing can run in one router ? Let's see ... continue

No comments: