Thursday, April 28, 2016

BGP_Maximum Hop (Load Balancing) (Lab 8)


BGP__Maximum Hop

1)Assign IP add: all interfaces

R1
router bgp 100
 no synchronization
 bgp log-neighbor-changes
 network 1.1.1.0 mask 255.255.255.0
 neighbor 10.1.12.2 remote-as 200
 neighbor 10.1.13.3 remote-as 200
 maximum-paths 2
 no auto-summary


R2
router bgp 200
 no synchronization
 bgp log-neighbor-changes
 network 2.2.2.0 mask 255.255.255.0
 neighbor 10.1.12.1 remote-as 100
 neighbor 10.1.23.3 remote-as 200
 neighbor 10.1.23.3 next-hop-self
 maximum-paths 2

R3
router bgp 200
 no synchronization
 bgp log-neighbor-changes
 network 3.3.3.0 mask 255.255.255.0
 neighbor 10.1.13.1 remote-as 100
 neighbor 10.1.23.2 remote-as 200
 neighbor 10.1.23.2 next-hop-self
 maximum-paths 2 (cause every router have 2 paths)

-Have connection every loopback network
*Verify  "ping 1.1.1.1 source 2.2.2.2 repeat 1000" from R2 and shutdown int s0/0 in R1 then the connection will down & doesn’t know another path so we need to write "maximum-paths 2” in each every routers after all ping again the path will change another to another path

Before NHS
R1
 Network          Next Hop            Metric LocPrf Weight Path
*> 1.1.1.0/24       0.0.0.0                  0         32768 i
*  2.2.2.0/24       10.1.13.3                              0 200 i
*>                  10.1.12.2                0             0 200 i
*  3.3.3.0/24       10.1.12.2                              0 200 i
*>                  10.1.13.3                0             0 200 i
R1(config-router)#


R2
   Network          Next Hop            Metric LocPrf Weight Path
* i1.1.1.0/24       10.1.13.1                0    100      0 100 i
*>                  10.1.12.1                0             0 100 i
*> 2.2.2.0/24       0.0.0.0                  0         32768 i
*>i3.3.3.0/24       10.1.23.3                0    100      0 i
R2(config-router)#

R3
  Network          Next Hop            Metric LocPrf Weight Path
* i1.1.1.0/24       10.1.12.1                0    100      0 100 i
*>                  10.1.13.1                0             0 100 i
*>i2.2.2.0/24       10.1.23.2                0    100      0 i
*> 3.3.3.0/24       0.0.0.0                  0         32768 i
R3(config-router)#

After NHS
R1
   Network          Next Hop            Metric LocPrf Weight Path
*> 1.1.1.0/24       0.0.0.0                  0         32768 i
*  2.2.2.0/24       10.1.12.2                0             0 200 i
*>                  10.1.13.3                              0 200 i
*  3.3.3.0/24       10.1.12.2                              0 200 i
*>                  10.1.13.3                0             0 200 i
R1(config-if)#


R2
  Network          Next Hop            Metric LocPrf Weight Path
*> 1.1.1.0/24       10.1.12.1                0             0 100 i
* i                 10.1.23.3                0    100      0 100 i
*> 2.2.2.0/24       0.0.0.0                  0         32768 i
*>i3.3.3.0/24       10.1.23.3                0    100      0 i
R2(config-router)#

R3
Network          Next Hop            Metric LocPrf Weight Path
* i1.1.1.0/24       10.1.23.2                0    100      0 100 i
*>                  10.1.13.1                0             0 100 i
*>i2.2.2.0/24       10.1.23.2                0    100      0 i
*> 3.3.3.0/24       0.0.0.0                  0         32768 i
R3(config-router)#

Before Maximum Path and After Maximum Path are same
R1
  Network          Next Hop            Metric LocPrf Weight Path
*> 1.1.1.0/24       0.0.0.0                  0         32768 i
*> 2.2.2.0/24       10.1.13.3                              0 200 i
*> 3.3.3.0/24       10.1.13.3                0             0 200 i
R1(config-if)#

R2
 Network          Next Hop            Metric LocPrf Weight Path
*>i1.1.1.0/24       10.1.23.3                0    100      0 100 i
*> 2.2.2.0/24       0.0.0.0                  0         32768 i
*>i3.3.3.0/24       10.1.23.3                0    100      0 i
R2(config-if)#

R3
  Network          Next Hop            Metric LocPrf Weight Path
*> 1.1.1.0/24       10.1.13.1                0             0 100 i
*>i2.2.2.0/24       10.1.23.2                0    100      0 i
*> 3.3.3.0/24       0.0.0.0                  0         32768 i
R3(config-router)#


Before Maximum Path
R1
     1.0.0.0/24 is subnetted, 1 subnets
C       1.1.1.0 is directly connected, Loopback0
     2.0.0.0/24 is subnetted, 1 subnets
B       2.2.2.0 [20/0] via 10.1.13.3, 00:07:07
     3.0.0.0/24 is subnetted, 1 subnets
B       3.3.3.0 [20/0] via 10.1.13.3, 00:14:07
     10.0.0.0/24 is subnetted, 2 subnets
C       10.1.13.0 is directly connected, Serial0/1
C       10.1.12.0 is directly connected, Serial0/0
R1(config-if)#

R2
     1.0.0.0/24 is subnetted, 1 subnets
B       1.1.1.0 [20/0] via 10.1.12.1, 00:02:46
     2.0.0.0/24 is subnetted, 1 subnets
C       2.2.2.0 is directly connected, Loopback0
     3.0.0.0/24 is subnetted, 1 subnets
B       3.3.3.0 [200/0] via 10.1.23.3, 00:15:08
     10.0.0.0/24 is subnetted, 2 subnets
C       10.1.12.0 is directly connected, Serial1/0
C       10.1.23.0 is directly connected, FastEthernet0/0
R2(config)#

R3
     1.0.0.0/24 is subnetted, 1 subnets
B       1.1.1.0 [20/0] via 10.1.13.1, 00:14:22
     2.0.0.0/24 is subnetted, 1 subnets
B       2.2.2.0 [200/0] via 10.1.23.2, 00:14:22
     3.0.0.0/24 is subnetted, 1 subnets
C       3.3.3.0 is directly connected, Loopback0
     10.0.0.0/24 is subnetted, 2 subnets
C       10.1.13.0 is directly connected, Serial1/0
C       10.1.23.0 is directly connected, FastEthernet0/0
R3(config-router)#

After Maximum Path
R1
     1.0.0.0/24 is subnetted, 1 subnets
C       1.1.1.0 is directly connected, Loopback0
     2.0.0.0/24 is subnetted, 1 subnets
B       2.2.2.0 [20/0] via 10.1.13.3, 00:00:28
                [20/0] via 10.1.12.2, 00:00:28
     3.0.0.0/24 is subnetted, 1 subnets
B       3.3.3.0 [20/0] via 10.1.13.3, 00:00:28
                [20/0] via 10.1.12.2, 00:00:28
     10.0.0.0/24 is subnetted, 2 subnets
C       10.1.13.0 is directly connected, Serial0/1
C       10.1.12.0 is directly connected, Serial0/0
R1(config-router)#

R2
     1.0.0.0/24 is subnetted, 1 subnets
B       1.1.1.0 [20/0] via 10.1.12.1, 00:05:03
     2.0.0.0/24 is subnetted, 1 subnets
C       2.2.2.0 is directly connected, Loopback0
     3.0.0.0/24 is subnetted, 1 subnets
B       3.3.3.0 [200/0] via 10.1.23.3, 00:17:25
     10.0.0.0/24 is subnetted, 2 subnets
C       10.1.12.0 is directly connected, Serial1/0
C       10.1.23.0 is directly connected, FastEthernet0/0
R2(config-router)#

R3
     1.0.0.0/24 is subnetted, 1 subnets
B       1.1.1.0 [20/0] via 10.1.13.1, 00:17:45
     2.0.0.0/24 is subnetted, 1 subnets
B       2.2.2.0 [200/0] via 10.1.23.2, 00:17:45
     3.0.0.0/24 is subnetted, 1 subnets
C       3.3.3.0 is directly connected, Loopback0
     10.0.0.0/24 is subnetted, 2 subnets
C       10.1.13.0 is directly connected, Serial1/0
C       10.1.23.0 is directly connected, FastEthernet0/0
R3(config-router)#

No comments:

Post a Comment