Moblie

Tuesday, July 21, 2009

BGP Source & Destination Traffic Load Share

Source and destination base Traffic delivery.
Achieve
1.All internal traffic and client traffic pass through via ISP A
2. 10.28.20.0/24 source route Via ISP B for outgoing traffic
3. 166.24.10.0/24 traffic pass through via ISP B for incoming traffic
********************** Config **************************
Router 1
R1:
router bgp 4500
no synchronization
bgp log-neighbor-changes
network 1.0.0.0
neighbor 210.26.12.21 remote-as 4500
neighbor 210.26.12.38 remote-as 4500
neighbor 210.26.12.38 route-map Test in
neighbor 210.26.12.42 remote-as 4500
no auto-summary
!
!
access-list 1 permit 166.24.10.0 0.0.0.255
!
route-map Test permit 10
match ip address 1
set weight 100
!
route-map Test permit 20
!
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Router 3
R3:
router bgp 4500
no synchronization
bgp log-neighbor-changes
network 3.0.0.0
neighbor 88.88.88.1 remote-as 100
neighbor 88.88.88.1 route-map Test1 out
neighbor 210.26.12.22 remote-as 4500
neighbor 210.26.12.22 next-hop-self
neighbor 210.26.12.29 remote-as 4500
neighbor 210.26.12.29 next-hop-self
no auto-summary
!
access-list 1 permit 1.0.0.0 0.0.0.255
!
route-map Test1 permit 10
match ip address 1
set as-path prepend 100 100 100 100
!
route-map Test1 permit 20
!
!
*********************END*********************
Note: ( LAB 1 Diagram for Reference)

Friday, July 10, 2009

BGP Lab 1 Traffic Redundancy Both ISP.

In this scenario the BGP routing configure on all Routers & Switch.
The traffic routes on both the ISP’s ( ISP A, ISP B). If any ISP Link
goes down the traffic will shift to another ISP



******************** Config ************************
Router 1
R1:
router bgp 4500
no synchronization
bgp log-neighbor-changes
network 1.0.0.0
neighbor 210.26.12.21 remote-as 4500
neighbor 210.26.12.38 remote-as 4500
neighbor 210.26.12.42 remote-as 4500
no auto-summary
!
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Router 2
R2:
router bgp 4500
no synchronization
bgp log-neighbor-changes
network 2.0.0.0
neighbor 210.26.12.25 remote-as 4500
neighbor 210.26.12.30 remote-as 4500
neighbor 210.26.12.41 remote-as 4500
no auto-summary
!
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Router 3
R3:
router bgp 4500
no synchronization
bgp log-neighbor-changes
network 3.0.0.0
neighbor 88.88.88.1 remote-as 100
neighbor 210.26.12.22 remote-as 4500
neighbor 210.26.12.22 next-hop-self
neighbor 210.26.12.29 remote-as 4500
neighbor 210.26.12.29 next-hop-self
no auto-summary
!
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Router 4
R4:
router bgp 4500
no synchronization
bgp log-neighbor-changes
network 4.0.0.0
neighbor 77.77.77.1 remote-as 200
neighbor 210.26.12.26 remote-as 4500
neighbor 210.26.12.26 next-hop-self
neighbor 210.26.12.37 remote-as 4500
neighbor 210.26.12.37 next-hop-self
no auto-summary
!
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Router 5
R5:
router bgp 100
no synchronization
bgp log-neighbor-changes
network 5.0.0.0
neighbor 55.55.55.1 remote-as 400
neighbor 88.88.88.2 remote-as 4500
neighbor 99.99.99.1 remote-as 500
no auto-summary
!
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Router 6
R6:
router bgp 200
no synchronization
bgp log-neighbor-changes
network 6.0.0.0
neighbor 77.77.77.2 remote-as 4500
neighbor 100.100.100.1 remote-as 400
no auto-summary
!
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Router BB1
BB1
router bgp 500
no synchronization
bgp log-neighbor-changes
network 7.0.0.0
network 172.25.11.0 mask 255.255.255.0
neighbor 99.99.99.2 remote-as 100
no auto-summary
!
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Router BB2
BB2
router bgp 400
no synchronization
bgp log-neighbor-changes
network 8.0.0.0
network 166.24.10.0 mask 255.255.255.0
neighbor 55.55.55.2 remote-as 100
neighbor 100.100.100.2 remote-as 200
no auto-summary
!
*************************Complete*************************

SONET and SDH Speeds

SONET -------- SDH
OC-3 ---------- STM-1
OC-12 --------- STM-4
OC-48 --------- STM-16
OC-192 -------- STM-64