cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
803
Views
0
Helpful
8
Replies

BGP Internet trafic

bsaid1977
Level 1
Level 1

hello,

i have activated BGP with my 2 ISP.

i have single multihomed router cisco 7204 with my 2 neighbors. i have 64 MB bandwith with the first ISP and 2 Mb with the second ISP.

all is ok , i can advertise my networks ,  i receive some routes from first ISP without 0.0.0.0 0.0.0.0 , and i receive some routes from my second ISP with 0.0.0.0 0.0.0.0. .

i ha ve route map that can advertise just my network and receive just routes originate from ISPs AS.

i hav add route static : ip route 0.0.0.0 0.0.0.0  first-ISP  and all my Internet trafic go through the first ISP(64) an no Internet trafic go through second ISP

i need to send some Internet trafic with the second ISP ( par exemple 10% of my all traffic).

any advice will be apreciated .

thanks in advance

8 Replies 8

ajay chauhan
Level 7
Level 7

There are so many ways you can do it ...are you getting full bgp table from your ISP?

do some filtering allow few routes from ISP where bandwidth is less.

thanks for replay

i received from the first ISP (64 Mb)  177 network

and i received from the second ISP( 2mb) just 4 networks and his default  0.0.0.0 0.0.0.0

i added ip route 0.0.0.0 0.0.0.0 pos1               ( first ISP)

i dont receive full routing table from both ISP

so all trafic Internet match the default gatway addes staticly.

i hope you understand my need

Cdr

block few subnets putting a filter-list inbound on main ISP where y

ou are getting full bgp table and put static route towards 2nd isp

for those subnets where you expect some traffic.

Thanks

Ajay

hi,

the main Isp send me just his originate networks

the second send me just his originate networks + default GW

when users serch yahoo.com, facebook, CNN.com .............  , this trafic match the 0.0.0.0 0.0.0.0. esicting in my routing table

so i can't filter as you told me !!

Hi,

You could investigate the technology called "PfR". Please see the documentation on www.cisco.com for this. It allows very granular "load balancing" to different ISPs.

Best regards,

Luc

Many thanks Luc , so this mean i can't make what i need by just BGP.

with my best Regards

Hello,

You can also use PBR to split traffic type per circuit if wanted. You may get asymetric routing on some of the traffic. It is difficult to say wiouth knowing the full setup.

I hope it helps.

Gonçalo

hello ,

this my config

!
hostname Internet-GW
!
boot-start-marker
boot-end-marker
!
logging buffered 51200 warnings
enable secret XXXXXXXXXXXX
enable password 7 YYYYYYYYYYYYY
!
aaa new-model
!
!
!
!
aaa session-id common
ip cef
!
!
!
!
ip auth-proxy max-nodata-conns 3
ip admission max-nodata-conns 3
!
multilink bundle-name authenticated
!
!
interface Ethernet0/0
description lien FH 2Mb vers ISP_2
ip address 41.205.XXX.YYY 255.255.255.252
duplex auto
!
interface GigabitEthernet0/0
description LAN
ip address 197.X0.80.33 255.255.255.0
duplex full
speed auto
media-type gbic
negotiation auto
!
interface POS1/0
description lien 64Mb vers ISP_1
ip address 81.192.yyy.yyy 255.255.255.252
ip access-group 110 out
pos framing sdh
!
router bgp 36XY0
no synchronization
bgp log-neighbor-changes
network 41.xy.ZE.0 mask 255.255.252.0
network 197.X1.80.0
network 197.X2.81.0
network 197.X3.82.0
network 197.X4.83.0
network 197.X5.84.0
network 197.X6.85.0
network 197.X7.86.0
network 197.X8.87.0
network 197.X9.88.0
network 197.Y1.89.0
network 197.Y2.90.0
network 197.Y3.91.0
network 197.Y4.92.0
network 197.Y5.93.0
network 197.Y6.94.0
network 197.Y7.95.0
neighbor 41.205.XXX.YY1 remote-as 36XY1
neighbor 41.205.XXX.YY1 description "Peering with ISP-2"
neighbor 41.205.XXX.YY1 password 7 AAAAAAAAAAAAAAAAA
neighbor 41.205.XXX.YY1 soft-reconfiguration inbound
neighbor 41.205.XXX.YY1 route-map As36XY1Only in
neighbor 41.205.XXX.YY1 route-map LocalOnly out
neighbor 81.192.yyy.yy1 remote-as 36XY2
neighbor 81.192.yyy.yy1 description "Peering with ISP-1"
neighbor 81.192.yyy.yy1 password 7 FFFFFFFFFFFFFFFFFF
neighbor 81.192.yyy.yy1 soft-reconfiguration inbound
neighbor 81.192.yyy.yy1 route-map As36XY2Only in
neighbor 81.192.yyy.yy1 route-map LocalOnly out
no auto-summary
!
ip forward-protocol nd
ip route 0.0.0.0 0.0.0.0 POS1/0

ip route 41.xy.ZE.0 255.255.252.0 197.X0.80.34
ip route 197.X1.80.0 255.255.255.0 197.X0.80.35
ip route 197.X2.81.0 255.255.255.0 197.X0.80.34
ip route 197.X2.82.0 255.255.255.0 197.X0.80.34
ip route 197.X2.83.0 255.255.255.0 197.X0.80.34
ip route 197.X2.84.0 255.255.255.0 197.X0.80.34
ip route 197.X2.85.0 255.255.255.0 197.X0.80.34
ip route 197.X2.86.0 255.255.255.0 197.X0.80.34
ip route 197.X2.87.0 255.255.255.0 197.X0.80.34
ip route 197.X2.88.0 255.255.255.0 197.X0.80.34
ip route 197.X2.89.0 255.255.255.0 197.X0.80.34
ip route 197.X2.91.0 255.255.255.0 197.X0.80.34
ip route 197.X2.92.0 255.255.255.0 197.X0.80.34
ip route 197.X2.93.0 255.255.255.0 197.X0.80.34
ip route 197.X2.94.0 255.255.255.0 197.X0.80.34
ip route 197.X2.95.0 255.255.255.0 197.X0.80.34
ip route 197.X2.96.0 255.255.255.0 197.X0.80.34
ip route 197.X2.97.0 255.255.255.0 197.X0.80.34
ip http server
no ip http secure-server
ip http timeout-policy idle 5 life 86400 requests 10000
!
ip as-path access-list 10 permit ^$
ip as-path access-list 30 permit ^36XY1$
ip as-path access-list 20 permit ^36XY2$
!
!

access-list 110 permit ip any any

!
!
!
route-map As6713Only permit 20
match as-path 20
!
route-map As36925Only permit 30
match as-path 30
!
route-map LocalOnly permit 10
match as-path 10
!
!
!
!
control-plane
!
!
!
!
!
!

end

Review Cisco Networking products for a $25 gift card