http://blog.sina.com.cn/ccie2007[订阅]
字体大小: 正文
BGP Confederation(2007-08-17 12:33:42)
 Objective: Configure R1, R2, and R3 in confederation so that AS 1 and AS 3 see them
as all belonging to AS 2
Directions
" Configure the topology per the diagram
" Configure BGP on R1, R2, R3, R4, and R5 per the diagram
" R1 and R3 should use the private AS 65013 and the public AS 2
" R2 should use the private AS 65002 and the public AS 2
" R1 should peer with R3 and R4
" R2 should peer with R3 and R5
" Advertise R3’s Ethernet into BGP on R3
" Advertise VLAN 5 into BGP on R5
" Advertise VLAN 43 into BGP on R4
配置:
R1:
interface FastEthernet0/0
ip address 155.1.146.1 255.255.255.0
!
interface Serial0/1
ip address 155.1.13.1 255.255.255.0
!
router eigrp 2
network 155.1.13.1 0.0.0.0
no auto-summary
!
router bgp 65013
bgp confederation identifier 2
neighbor 155.1.13.3 remote-as 65013
neighbor 155.1.13.3 next-hop-self
neighbor 155.1.146.4 remote-as 3
R2:
interface FastEthernet0/0
ip address 192.10.1.2 255.255.255.0
!
interface Serial0/0
encapsulation frame-relay
!
interface Serial0/0.1 point-to-point
ip address 155.1.0.2 255.255.255.0
frame-relay interface-dlci 205
!
interface Serial0/1
ip address 155.1.23.2 255.255.255.0
!
router eigrp 2
network 155.1.23.2 0.0.0.0
no auto-summary
!
router bgp 65002
bgp confederation identifier 2
bgp confederation peers 65013
neighbor 155.1.0.5 remote-as 1
neighbor 155.1.23.3 remote-as 65013
R3:
interface Ethernet0/0
ip address 155.1.37.3 255.255.255.0
!
interface Serial1/2
ip address 155.1.13.3 255.255.255.0
clockrate 64000
!
interface Serial1/3
ip address 155.1.23.3 255.255.255.0
clockrate 64000
!
router eigrp 2
network 155.1.13.3 0.0.0.0
network 155.1.23.3 0.0.0.0
no auto-summary
!
router bgp 65013
bgp confederation identifier 2
bgp confederation peers 65002
network 155.1.37.0 mask 255.255.255.0
neighbor 155.1.13.1 remote-as 65013
neighbor 155.1.13.1 next-hop-self
neighbor 155.1.23.2 remote-as 65002
R4:
interface Ethernet0/0
ip address 204.12.1.4 255.255.255.0
!
interface Ethernet0/1
ip address 155.1.146.4 255.255.255.0
!
router bgp 3
network 204.12.1.0
neighbor 155.1.146.1 remote-as 2
R5:
interface Serial0/0
ip address 155.1.0.5 255.255.255.0
encapsulation frame-relay
frame-relay map ip 155.1.0.2 502 broadcast
!
interface Ethernet0/0
ip address 155.1.58.5 255.255.255.0
!
interface Ethernet0/1
ip address 155.1.5.5 255.255.255.0
!
router bgp 1
network 155.1.5.0 mask 255.255.255.0
neighbor 155.1.0.2 remote-as 2
检验:
Rack1R1#show ip bgp
BGP table version is 4, local router ID is 150.1.1.1
Status codes: s suppressed, d damped, h history, * valid, >
best, i - internal,
r RIB-failure, S Stale
Origin codes: i - IGP, e - EGP, ? - incomplete
Network Next Hop Metric LocPrf
Weight Path
*>i155.1.5.0/24 155.1.13.3 0 100
0 (65002) 1 i
*>i155.1.37.0/24 155.1.13.3 0 100
0 i
*> 204.12.1.0 155.1.146.4 0
0 3 i
 
加载中,请稍候...
  • 评论加载中,请稍候...

验证码:请点击后输入验证码  收听验证码

发评论

以上网友发言只代表其个人观点,不代表新浪网的观点或立场。

相关博文
读取中...
推荐博文
读取中...