IP Routing—Configuring RIP, OSPF, BGP, and PBR
Configuring BGP
Connection to
LAN
PPPoE
connection
to ISP 1
PPPoE
connection
to ISP 2
13-108
interface eth 0/1
ip address
10.1.1.1
no shutdown
!
interface eth 0/2
no ip address
shutdown
!
interface adsl 1/1
snr-margin 6
training-mode multi-mode
no shutdown
!
interface adsl 2/1
snr-margin 6
training-mode multi-mode
no shutdown
!
interface atm 1
encapsulation aal5snap
no shutdown
bind 1 adsl 1/1 atm 1
!
interface atm 1.1 point-to-point
pvc 0/33
!
interface atm 2
encapsulation aal5snap
no shutdown
bind 3 adsl 2/1 atm 1
!
interface atm 2.1 point-to-point
pvc 0/33
!
interface ppp 1
ip address
10.1.0.3
bind 2 atm 1.1 ppp 1 pppoe-client
!
interface ppp 2
ip address
10.2.0.3
bind 4 atm 2.1 ppp 1 pppoe-client
Figure 13-21. Baseline BGP Running-Config for Router A's Interfaces
2.
The router's routing table must include the routes that the router adver-
tises. In this simplified example, the router only advertises the network
to which it connects directly, so its routing table automatically includes
the necessary route.
255.255.255.0
255.255.255.0
255.255.255.0