Redundancy, Symmetry and Load Balancing Presented by Sagi Shporer.
-
Upload
osborn-bruce -
Category
Documents
-
view
223 -
download
1
Transcript of Redundancy, Symmetry and Load Balancing Presented by Sagi Shporer.
Terminology – Cont.
Outbound decision
Which way should the traffic be sent to NetA ?
AS2
AS1NetA
NetA
Terminology – Cont.
Inbound decision
I want to receive inbound traffic for NetB via SA1 link only
AS2
AS1NetB
NetC
Setting Default Routers – Cont.
AS1 AS2
Primary
Backup2.2.2.2Set local pref = 50
1.1.1.1Set local pref = 100
Gateway of last resort is 1.1.1.1
Setting Default Routers – Cont.
AS1AS2
Primary
Backup2.2.2.2Set local pref = 50
1.1.1.1
Set local pref = 100
Gateway of last resort is 1.1.1.1
Setting Default Routers – Cont.
Statically Set Defaults– IP of next-hop gateway
• Example : IP 201.1.2.3
– A network number• Example : The route to that network number is
learned dynamically
– A specific router interface• Example : Ethernet interface 0
Specific Scenarios
Single-Homing
Multihoming to a Single Provider
Multihoming to Different Providers
Customers of the Same Provider with Backup Link
Customers of Different Providers with a Backup Link
Scenario 2 : Multihoming to a Single Provider
Default only, one Primary, one Backup
Provider
Customer
Default-2
Backup
Metric : 100
Default-1
Primary
Mertic : 50
C2
C3
C5
C4NAP
(X,Y) (Z,W)
W: 200Z: 200Rest : 250
Y: 200X: 200Rest : 300
C5: 300C4: 300Rest : 250
C3: 300C2: 300Rest : 200
Metrics
Preference
Default-1Primary
Default-2Backup
Customer
ISP
Scenario 2 – Cont.
Default, Primary and Backup plus full and partial routing– Full route on one link, and no route or partial
route on the other links
Scenario 2 – Cont.
Automatic load balancing
192.213.10.6192.213.10.5192.213.10.4192.213.10.3192.213.10.2192.213.10.1
135
246
ISP
Customer
Scenario 2 – Cont.
Balancing between two routers sharing multiple paths
11.11.11.1 11.11.11.2
10.10.10.1 10.10.10.2RTA
NetX
RTB
BGP Session
BGP Session
Link2
Link1
DestinationNext Hop
NetX10.10.10.2 (best)
NetX11.11.11.2
RTA’s BGP Table
11.11.11.1 11.11.11.2
10.10.10.1 10.10.10.2RTA
NetX
RTB
BGP Session
BGP Session
Link2
Link1
DestinationNext Hop
NetX10.10.10.2
10.10.10.0/24Link1
RTA’s Routing Table
11.11.11.1 11.11.11.2
10.10.10.1 10.10.10.2RTA
NetX
RTB
BGP Session
BGP Session
Link2
Link1
DestinationNext Hop
NetX12.12.12.12
RTA’s BGP Table
BGP Session
11.11.11.1 11.11.11.2
10.10.10.1 10.10.10.2RTA
NetX
RTB
Link2
Link1
9.9.9.9 12.12.12.12
DestinationNext Hop
NetX12.12.12.12
12.12.12.0/24Link1
12.12.12.0/24Link2
RTA’s Routing Table
BGP Session
11.11.11.1 11.11.11.2
10.10.10.1 10.10.10.2RTA
NetX
RTB
Link2
Link1
9.9.9.9 12.12.12.12
Scenario 3 : Multihoming to Different Providers
Default only, Primary and Backup
NAP 192.213.0.0/16
Pref=200192.213.0.0/16
Pref=100192.213.0.0/16
NAP192.213.1.0/24 – 200 100
192.213.1.0/24 – 300 100 100
192.213.1.0/24 – 100
192.213.1.0/24 – 100 100
192.213.1.0/24
Customer
IBGP
AS100
AS200AS300
Scenario 4 : Customers of the Same Provider with Private Link
Private link used as pure backup
NAPAS1
AS3AS2
Pref=200
Pref=100
Backup
Scenario 4 – Cont.
Private link used as primary link
NAPAS1
AS3AS2
Pref=300
Pref=200AS3 Routes
Updates that do not contain AS3
Pref=100
Community Approach
ISP routes - 60
Customer transit routes - 40
Customer local routes - 100
ISP1 ISP2
AS1 AS2
AS400
40100
60
PatternCommunityLocal Pref.
Customer local routesNone100
Customer transit routes400:4040
ISP routes400:6060
ISP routes - 60
Customer transit routes - 40
Customer local routes - 100
AS1 AS2
AS400
40100
60ISP2ISP1