Beruflich Dokumente
Kultur Dokumente
194.1.1.0/24
8.8.8.8/32
123.0.0.0/8
134.0.0.0/8
1 123.45.67.45
123.45.67.46
2 123.45.67.9 [MPLS
123.45.67.13 [MPLS
3 123.45.67.1 [MPLS
4 123.45.67.18 [MPLS
5 134.56.78.42
6 134.56.78.14
1 123.45.67.45
123.45.67.46
2 123.45.67.9 [MPLS
123.45.67.13 [MPLS
3 123.45.67.1 [MPLS
4 123.45.67.18 [MPLS
5 134.56.78.38
6 134.56.78.14
7 8.8.8.8
1 123.45.67.45
2 123.45.67.9 [MPLS
3 123.45.67.1 [MPLS
4 123.45.67.6 [MPLS
1 123.45.67.46
2 123.45.67.13 [MPLS
3 123.45.67.1 [MPLS
4 123.45.67.6 [MPLS
5 134.56.78.38
2. Routing Delivery
1. Start transfer from R26, 194.x.x.x and 8.8.8.8
2. Arrived R21, R22, then transfer to R3, R5 through next-hop-self
3. R1 and R5 as route reflectors transfer the routes to R4 and R6
4. R4 and R6 transfer to R12
3. BGP traceroute 194.1.1.1 probe 2
Load balanced between R4 and R6, R2 ->R1-> R5 -> R22 -> R26 -> Server4
3.1. MED Control Routing Path (smaller is better)
1. Does the prefix-list permit 194.1.x.x
a. #sh run | s list. Check if there is a call to 194 prefix-list on the route map
2. Call the 194 prefix list on route-map
3. Change the MED value on route-map. Finally, MED of 194 through R22 is smaller than
that of R21 (view BGP table on R5)
5. Traceroute 134.21.21.21
R12-> R6 -> R2 -> R1 -> R3 ->R21
5.1. R21 to R3
1. Network 134 on the R12 IPV4 address-family
2. R12 transfer the ip route to R3
5.2. R3 to R6
1. R3 received the IP route form R12
2. Transfer the route again to the next hop through route reflector
3. R6 received the 134 subnet ip route through route reflector
5.3. R6 to R12
1. Use prefix-list permit 134 subnet
a. #sh run | s list check if prefix-list permit for 134 network
2. R6 route-map modified MED less than R4 for 134 subnet. Check the direction of the
route-map call. The modified MED value
3. R12 go to 134 network segment preferred on R6.
6. Traceroute 123.3.3.3
R12-> R4 -> R2 -> R1 -> R3
6.1. R3 ro R4
1. Need network 123 subnet on R3 ipv4 address-family
2. R4 received 123 subnet through bgp neighbor or route-reflector
6.2. R4 to R12
ANS Q5 – BGP
Concepts:
Fix R12
3 Check next-hop-self
R3 sh run | s r b Ensure for next-hop-self
R5 Fault 4: No next-hop-self appears in the
R21 peer-group
R22
Fix R21
router bgp 12345
neighbor PEER next-hop-self
int E1/0
mpls ip
int E2/0
mpls ip
6 Testing
R3,R4 sh ip bgp Ensure 8.8.8.8 and 194.1.0.0 prefixes need
R5,R6 to be available. But, both are not available.
R21,R22
R12 sh ip bgp Ensure 8.8.8.8 and 194.1.0.0 prefixes
available
m should appear against 8.8.8.8 and
194.1.1.1 prefixes
Strategy
R21, R22, R3, and R5 are full-mesh
R5 is connected to R4 and R3 is connected to R6
Path from R12 to Server4 (194.1.1.1) is as follows:
When you run R12#sh ip bgp, you should see 8.8.8.8/32 load balanced between R4
and R6. Make sure no metrics or local preference against this prefix
When you run R12#sh ip bgp, you should see 194.1.1.1/32 load balanced between
R4 and R6. Make sure metric same (i.e. 200) for both from R4 and R6
When you run R12#sh ip bgp 123.3.3.3, metric of 100 from 123.45.67.45 (R4) and
150 from 123.45.67.46 (R6) is OK, as R12 will select R4 to reach the R3 (123.3.3.3)
When you run R12#sh ip bgp 123.21.21.21/32, metric of 200 from 123.45.67.45 (R4)
and 500 from 123.45.67.46 (R6) is not OK, as R12 is required to select R6 to reach the
R21 (123.21.21.21). Hence, we will need to change the metric on R6 to less than 200.
Change the Metric of R6 to 100.
R6#sh run | s r b
neighbor 123.45.67.44 route-map MED out
If you find no issues with routes but can’t traceroute, the problem is LDP neighbor.
Check LDP neighbor of R1 and R2 and mpls IP. Make sure all three interfaces of R1
and R2 (e0/0, e1/0, and e2/0) are enabled for MPLS (i.e. #mpls ip)
If R12#traceroute 8.8.8.8 is not load balanced, add #maximum-path 2 to the
BGP configuration.
The default local preference for R21 is 101 and that of R22 is 100. But, in R22, the LP
for 194.0.0.0/8 is configured as 100 and for R21 as 99. Hence, all traffic to the
194.0.0.0/8 from R12 will go through R22, which will meet the exam requirement.
But, when you run R21#sh ip bgp, you see the next-hop for 8.8.8.8 as R22 and
not R26. Hence, the problem is with the prefix-list.
R12#tr 194.1.0.1 pr 2 nu
Type escape sequence to abort.
Tracing the route to 194.1.0.1
VRF info: (vrf in name/id, vrf out name/id)
1 123.45.67.45 0 msec
123.45.67.46 1 msec
2 123.45.67.9 [MPLS: Label 27 Exp 0] 0 msec
123.45.67.13 [MPLS: Label 27 Exp 0] 1 msec
3 123.45.67.1 [MPLS: Label 21 Exp 0] 0 msec 1 msec
4 123.45.67.18 [MPLS: Label 18 Exp 0] 0 msec 1 msec
5 134.56.78.42 0 msec 1 msec
6 134.56.78.14 1 msec *
R12#tr 194.1.1.1 pr 2 nu
Type escape sequence to abort.
Tracing the route to 194.1.1.1
VRF info: (vrf in name/id, vrf out name/id)
1 123.45.67.45 0 msec
123.45.67.46 0 msec
2 123.45.67.9 [MPLS: Label 27 Exp 0] 1 msec
123.45.67.13 [MPLS: Label 27 Exp 0] 1 msec
3 123.45.67.1 [MPLS: Label 21 Exp 0] 0 msec 1 msec
4 123.45.67.18 [MPLS: Label 18 Exp 0] 0 msec 1 msec
5 134.56.78.42 0 msec 1 msec
6 134.56.78.14 0 msec *
R12#tr 194.1.2.1 pr 2 nu
Type escape sequence to abort.
Tracing the route to 194.1.2.1
VRF info: (vrf in name/id, vrf out name/id)
1 123.45.67.45 1 msec
123.45.67.46 0 msec
2 123.45.67.9 [MPLS: Label 27 Exp 0] 0 msec
123.45.67.13 [MPLS: Label 27 Exp 0] 0 msec
3 123.45.67.1 [MPLS: Label 21 Exp 0] 1 msec 0 msec
4 123.45.67.18 [MPLS: Label 18 Exp 0] 1 msec 0 msec
5 134.56.78.42 1 msec 1 msec
6 134.56.78.14 0 msec *
R12#tr 194.1.3.1 pr 2 nu
Type escape sequence to abort.
Tracing the route to 194.1.3.1
VRF info: (vrf in name/id, vrf out name/id)
1 123.45.67.45 1 msec
123.45.67.46 0 msec
2 123.45.67.9 [MPLS: Label 27 Exp 0] 1 msec
123.45.67.13 [MPLS: Label 27 Exp 0] 1 msec
3 123.45.67.1 [MPLS: Label 21 Exp 0] 0 msec 1 msec
4 123.45.67.18 [MPLS: Label 18 Exp 0] 0 msec 1 msec
5 134.56.78.42 0 msec 1 msec
6 134.56.78.14 0 msec *
Troubleshooting Steps
1. Ensure R12 has #maximum-path 2 for the load balance to happen on R4 and R6
2. Ensure R4 and R6 has same metrics for 194.1.x.0/24 (x = 0,1,2,3) prefix on the prefix-list
3. Ensure that R21 has route-map for 194.1.x.0/24 (x = 0,1,2,3) in not out.
4. Ensure that R21 prefix-list has all the four entries 194.1.x.0/24 (x = 0,1,2,3)