Figure 28: Configuring Next-Hop Processing
Router Memphis advertises 172.24.160/19 with a next hop of 10.2.2.2 to router Jackson.
Router Jackson advertises this same network externally to router Topeka with a next hop
of 10.1.13.1.
Router Topeka advertises network 192.168.32.0/19 with a next hop of 10.1.13.2 to router
Jackson. Because this network originates outside AS 604, router Jackson then internally
advertises this network (192.168.32.0/19) to router Memphis with the same next hop,
10.1.13.2 (the IP address of the external BGP speaker that advertised the route).
When router Memphis has traffic destined for 192.168.32.0/19, it must be able to reach
the next hop by means of an IGP, because it has no direct connection to 10.1.13.2.
Otherwise, router Memphis will drop packets destined for 192.168.32.0/19 because the
next-hop address is not accessible. Router Memphis does a lookup in its IP routing table
to determine how to reach 10.1.13.2:
Next Hop
Destination
10.2.2.1
10.1.13.0/24
The next hop is reachable through router Jackson, and the traffic can be forwarded.
The following commands configure the routers as shown in Figure 28 on page 106:
To configure router Jackson:
host1(config)#
router bgp 604
host1(config-router)#
neighbor 10.1.13.2 remote-as 25
host1(config-router)#
neighbor 10.2.2.2 remote-as 604
host1(config-router)#
network 192.168.22.0 mask 255.255.254.0
To configure router Memphis:
host2(config)#
router bgp 604
host2(config-router)#
neighbor 10.2.2.1 remote-as 604
host2(config-router)#
network 172.24.160.0 mask 255.255.224.0
Copyright © 2010, Juniper Networks, Inc.
106
JunosE 11.2.x BGP and MPLS Configuration Guide
Summary of Contents for JUNOSE 11.2.X BGP AND MPLS
Page 6: ...Copyright 2010 Juniper Networks Inc vi...
Page 8: ...Copyright 2010 Juniper Networks Inc viii JunosE 11 2 x BGP and MPLS Configuration Guide...
Page 38: ...Copyright 2010 Juniper Networks Inc 2 JunosE 11 2 x BGP and MPLS Configuration Guide...
Page 192: ...Copyright 2010 Juniper Networks Inc 156 JunosE 11 2 x BGP and MPLS Configuration Guide...
Page 242: ...Copyright 2010 Juniper Networks Inc 206 JunosE 11 2 x BGP and MPLS Configuration Guide...
Page 244: ...Copyright 2010 Juniper Networks Inc 208 JunosE 11 2 x BGP and MPLS Configuration Guide...
Page 310: ...Copyright 2010 Juniper Networks Inc 274 JunosE 11 2 x BGP and MPLS Configuration Guide...
Page 356: ...Copyright 2010 Juniper Networks Inc 320 JunosE 11 2 x BGP and MPLS Configuration Guide...
Page 418: ...Copyright 2010 Juniper Networks Inc 382 JunosE 11 2 x BGP and MPLS Configuration Guide...
Page 524: ...Copyright 2010 Juniper Networks Inc 488 JunosE 11 2 x BGP and MPLS Configuration Guide...
Page 544: ...Copyright 2010 Juniper Networks Inc 508 JunosE 11 2 x BGP and MPLS Configuration Guide...
Page 608: ...Copyright 2010 Juniper Networks Inc 572 JunosE 11 2 x BGP and MPLS Configuration Guide...
Page 672: ...Copyright 2010 Juniper Networks Inc 636 JunosE 11 2 x BGP and MPLS Configuration Guide...
Page 674: ...Copyright 2010 Juniper Networks Inc 638 JunosE 11 2 x BGP and MPLS Configuration Guide...
Page 716: ...Copyright 2010 Juniper Networks Inc 680 JunosE 11 2 x BGP and MPLS Configuration Guide...
Page 717: ...PART 6 Index Index on page 683 681 Copyright 2010 Juniper Networks Inc...
Page 718: ...Copyright 2010 Juniper Networks Inc 682 JunosE 11 2 x BGP and MPLS Configuration Guide...