From: postmaster (postmaster@unload.dns2go.com)
Date: Tue Mar 25 2003 - 16:24:27 GMT-3
thank you very much for your reply and suggestion
-----Original Message-----
From: Scott M. Livingston [mailto:scottl@sprinthosting.net]
Sent: Tuesday, March 25, 2003 10:10 AM
To: postmaster; ccielab@groupstudy.com
Subject: RE: BGP STUFF
That would certainly be one way to do it, but I have a question and a
recommendation.
Why would you want to log on acl 20? Also, instead of using distribute
lists you might find it easy to work w/ prefix-lists in the future. You
could also leverage a route-map 'in' and 'out' for the neighbors and
apply your needed filters and attributes there; little more scalable in
my opinion.
router bgp 23484
no synchronization
bgp log-neighbor-changes
network 62.154.91.0 mask 255.255.255.0
neighbor 146.223.74.37 remote-as 1239
neighbor 146.223.74.37 route-map EAT-ROUTES in
neighbor 146.223.74.37 route-map SEND-ROUTES out
neighbor 162.206.236.69 remote-as 6128
neighbor 162.206.236.69 route-map EAT-ROUTES in
neighbor 162.206.236.69 route-map SEND-&-PREPEND out
no auto-summary
!
ip classless
no ip http server
ip http access-class 1
!
ip prefix-list MUNCH seq 10 permit 0.0.0.0/0
ip prefix-list SEND seq 10 permit 62.154.91.0/24
!
route-map EAT-ROUTES permit 10
match ip address prefix-list MUNCH
!
route-map SEND-ROUTES permit 10
match ip address prefix-list SEND
!
route-map SEND-&-PREPEND permit 10
match ip address prefix-list SEND (use the same pl or a new one)
set as-path prepend 23484
!
-----Original Message-----
From: nobody@groupstudy.com [mailto:nobody@groupstudy.com] On Behalf Of
postmaster
Sent: Tuesday, March 25, 2003 5:19 AM
To: ccielab@groupstudy.com
Subject:
we are multihomed to 2 isp's on 1 router I only want to send the one
network 62.154.91.0
and only want to recieve the default 0.0.0.0
addit9onally i want to prepend our as 23484 outbound to 1 neighbor
does this work?
is there a better way?
router bgp 23484
no synchronization
bgp log-neighbor-changes
network 62.154.91.0 mask 255.255.255.0
neighbor 146.223.74.37 remote-as 1239
neighbor 146.223.74.37 distribute-list 20 in
neighbor 146.223.74.37 distribute-list 10 out
neighbor 162.206.236.69 remote-as 6128
neighbor 162.206.236.69 distribute-list 20 in
neighbor 162.206.236.69 distribute-list 10 out
neighbor 162.206.236.69 route-map 6128 out
no auto-summary
!
ip classless
no ip http server
ip http access-class 1
!
access-list 10 permit 62.154.91.0 0.0.0.255
access-list 20 permit 0.0.0.0 log
access-list 30 permit 62.154.91.0 0.0.0.255
route-map 6128 permit 30
match ip address 30
set as-path prepend 23484
!
This archive was generated by hypermail 2.1.4 : Sat Apr 05 2003 - 08:51:44 GMT-3