Inbound filter
Advertises local
network
Inbound filter
Figure 13-25.Running-Config for Example 3 Router A
Example 4: Configuring BGP Policies for a Router That
Multihomes
When your router provides more than one connection to the Internet, or is
part of a network that has another connection to the Internet, you may want
to implement policies such that the local router:
hostname "RouterA"
!
interface eth 0/1
ip address
10.1.1.1
no shutdown
!
interface eth 0/2
no ip address
shutdown
!
interface t1 1/1
tdm-group 1 timeslots 1-24 speed 64
no shutdown
!
interface ppp 1
ip address
10.10.0.3
bind 1 t1 1/1 1 ppp 1
!
ip prefix-list PrivateRoutes seq 10 permit 10.1.0.0/16 ge 24 le 24
ip prefix-list LocalRoutes seq 10 permit 10.1.1.0/24
!
router bgp 3
no auto-summary
no synchronization
bgp router-id 10.1.0.3
network 10.1.1.0 mask 255.255.255.0
neighbor 10.10.0.1
no default-originate
soft-reconfiguration inbound
remote-as 1
prefix-list PrivateRoutes in
prefix-list LocalRoutes out
does not advertise routes received from one neighbor to other neighbors
advertises certain routes as preferable to certain neighbors so that
inbound traffic will be distributed over the connections
requests that the ISP does not export certain private routes
IP Routing—Configuring RIP, OSPF, BGP, and PBR
255.255.255.0
255.255.255.0
Configuring BGP
Outbound filter
13-113