SOURCECODEBD.NET

Live Experience

Two Link to The Same ISP with Backup

TWO LINK TO THE SAME ISP WITH BACKUP
 
Two links to the same ISP
One link primary, the other link backup only
 
• AS109 removes private AS and any customer subprefixes from Internet announcement
 
• Announce /19 aggregate on each link primary link makes standard announcement

Read more...

Single BGP with Multi-hop

SINGLE BGP WITH MULTI-HOP
 
[Customer Cisco Router]
 
 
Current configuration:
!
 
!
hostname Customer

Read more...

BGP with Multi-hop (load-balancing)

BGP WITH MULTI-HOP (LOAD-BALANCING)
 
[Customer Cisco Router]
 
Current configuration:
!
 
!
hostname Customer

Read more...

Two links to different ISPs with Loadsharing

TWO LINKS TO DIFFERENT ISPs WITH LOADSHARING
 
• Announce /19 aggregate on each link
 
• Split /19 and announce as two /20s, one on each link basic inbound loadsharing
 
• When one link fails, the announcement of the /19 aggregate via the other ISP ensures 
  continued connectivity

Read more...

Two links to different ISPs with Backup

TWO LINKS TO DIFFERENT ISPs WITH BACKUP
 
Two links to different ISPs One link primary, the other link backup only
 
• Announce /19 aggregate on each link primary link makes standard announcement
  backup link lengthens the AS PATH by using AS PATH prepend

Read more...

Two links to different ISPs with More Controled Loadsharing

TWO LINKS TO DIFFERENT ISPs WITH MORE CONTROLLED LOADSHARING
 
• Announce /19 aggregate on each link On first link, announce /19 as normal
  On second link, announce /19 with longer AS PATH, and announce one /20 subprefix
  controls loadsharing between upstreams and the Internet

Read more...

Two Link to The Same ISP with Loadsharing

TWO LINK TO THE SAME ISP WITH LOADSHARING
 
• AS109 removes private AS and any customer subprefixes from Internet announcement
 
• Announce /19 aggregate on each link
 
• Split /19 and announce as two /20s, one on each link basic inbound loadsharing

Read more...

which IP block will go through which ISP -

>Specify which IP block will go through which IIG

-> Use route-map for tuning the outgoing traffic
 
Router A Configuration
 
!
interface GigabitEthernet0/1

Read more...

Single BGP with Default Route

SINGLE BGP WITH DEFAULT ROUTE
 
[Customer Cisco Router]
 
Current configuration:
!
hostname Customer
 
!
interface FastEthernet0/1
description to LAN 

Read more...

2.  BGP USING LOOPBACK ADDRESS

HOW TO BGP USING LOOPBACK ADDRESS
 
Interface IP Address Configuration 
 
R1 
 
Interface        IP Address    Subnet Mask 
S 0                  1.1.1.1           255.0.0.0 
S 1                  3.3.3.1           255.0.0.0 
E 0                10.1.1.1          255.0.0.0 
Loopback 0  50.50.50.50  255.255.255.255 
 
 
R2 

Read more...

4.  eBGP WITH MULTIHOP COMMAND (LOAD BALANCING)

HOW TO eBGP WITH MULTIHOP COMMAND (LOAD BALANCING)
 
Interface IP Address Configuration 
 
R1 
 
Interface       IP Address   Subnet Mask 
S 0/2/0          1.1.1.1           255.0.0.0 
S 0/2/1          2.2.2.1           255.0.0.0 
E 0               10.1.1.1         255.0.0.0 
Loopback 0 50.50.50.50  255.255.255.255 
 
R2 

Read more...

12. AS-PATH ATTRIBUTE

HOW TO AS-PATH ATTRIBUTE CONFIGURATION
 
Interface IP Address Configuration 
 
R1 
 
Interface  IP Address   Subnet Mask 
S 0     1.1.1.1   255.0.0.0 
S 1     3.3.3.1   255.0.0.0 

Read more...

7.  WEIGHT ATTRIBUTE

HOW TO WEIGHT ATTRIBUTE CONFIGURATION
 
Interface IP Address Configuration 
 
R1 
 
Interface  IP Address   Subnet Mask 
S 0           1.1.1.1           255.0.0.0 
S 1           3.3.3.1           255.0.0.0 
E 0         10.1.1.1          255.0.0.0 
 
R2 
 
Interface  IP Address   Subnet Mask 

Read more...

8.  LOCAL PREFERENCE

HOW TO LOCAL PREFERENCE CONFIGURATION
 
Interface IP Address Configuration 
 
R1 
 
Interface  IP Address   Subnet Mask 
S 0     1.1.1.1   255.0.0.0 
S 1     3.3.3.1   255.0.0.0 
E 0     10.1.1.1   255.0.0.0 
 
R2 

Read more...

1.  BGP BASIC CONFIGURATION

 BGP BASIC CONFIGURATION
 
Interface IP Address Configuration 
 
R1 
 
Interface  IP Address   Subnet Mask 
S 0            1.1.1.1          255.0.0.0 
S 1            3.3.3.1          255.0.0.0 
E 0          10.1.1.1         255.0.0.0 
 
R2 

Read more...

9.  CONFIGURING MED ATTRIBUTE USING DEFAULT-METRIC

HOW TO CONFIGURING MED ATTRIBUTE USING DEFAULT-METRIC
 
Interface IP Address Configuration 
 
R1 
 
Interface  IP Address   Subnet Mask 
S 0            1.1.1.1          255.0.0.0 
E 0           10.1.1.1        255.0.0.0 
 
R2 
 
Interface  IP Address   Subnet Mask 

Read more...

5.  BGP NEXT-HOP ATTRIBUTE

HOW TO BGP NEXT-HOP ATTRIBUTE CONFIGURATION
 
Interface IP Address Configuration 
 
R1 
 
Interface  IP Address   Subnet Mask 
S 0/2/0    1.1.1.1           255.0.0.0 
E 0         10.1.1.1         255.0.0.0 
 
R2 
 
Interface  IP Address   Subnet Mask 

Read more...

6.  ORIGIN ATTRIBUTE

HOW TO ORIGIN ATTRIBUTE CONFIGURATION
 
Interface IP Address Configuration 
 
R1 
 
Interface  IP Address   Subnet Mask 
S 0/2/0    1.1.1.1            255.0.0.0 
E 0         10.1.1.1          255.0.0.0 
 
R2 
 
Interface  IP Address   Subnet Mask 

Read more...

3.  eBGP WITH MULTIHOP COMMAND

HOW TO eBGP WITH MULTIHOP COMMAND
 
Interface IP Address Configuration 
 
R1 
 
Interface  IP Address   Subnet Mask 
S 0/2/0    1.1.1.1            255.0.0.0 
E 0          10.1.1.1         255.0.0.0 
 
R2 

Read more...

10. MED ATTRIBUTE

HOW TO MED ATTRIBUTE CONFIGURATION
 
Interface IP Address Configuration 
 
R1 
 
Interface  IP Address   Subnet Mask 
S 0            1.1.1.1          255.0.0.0 
S 1            3.3.3.1          255.0.0.0 
E 0          10.1.1.1         255.0.0.0 
 
R2 

Read more...

13. AUTHENTICATION IN BGP

HOW TO AUTHENTICATION IN BGP CONFIGURATION
 
Interface IP Address Configuration 
 
R1 
 
Interface  IP Address   Subnet Mask 
S 0     1.1.1.1   255.0.0.0 
E 0     10.1.1.1   255.0.0.0 
 
R2 

Read more...

11. COMMUNITY ATTRIBUTE

HOW TO COMMUNITY ATTRIBUTE CONFIGURATION
 
Interface IP Address Configuration 
 
R1 
 
Interface  IP Address   Subnet Mask 
S 0            1.1.1.1          255.0.0.0 
E 0           10.1.1.1        255.0.0.0 
 
R2 

Read more...

Related Articles

You are here: Home / BGP