synonym
一:实验拓扑
二:实验需求
(一)主网络:
1、R1、R2运行eigrp,不可以network 10.1.1.0,10.2.2.0
2、R
3、R
4、R5运行多区域OSPF,不可以network 20.2.2.2
3、R1~R5运行BGP,使20.1.1.1可以访问10.1.1.1,10.2.2.2
4、R4上配置nat,使20.2.2.2可以访问10.1.1.1,10.2.2.2
(二)优化:
1、ospf的area 1为完全stub,并过滤不必要的路由,如3.3.3.0,34.34.34.0等
2、对BGP路由10.1.1.1,10.2.2.2做汇总,只发布主类路由
(三)安全:
1、R1、R2之间用MD5验证,密钥cisco
2、R
3、R4之间用MD5验证,密钥cisco
3、在AS100中用rip协议做eigrp备份
(四)路径需求:
1、20.1.1.1访问10.0.0.0时,数据包走向为:R5-R4-R3-R2-R1,当R3与R4之间链路出现问题时,数据包走向改为:R5-R4-R2-R1,来回路径必须一致
2、20.2.2.2访问10.0.0.0时,数据包走向为:R5-R4-R2-R1,当R2与R4之间链路出现问题时,数据包走向改为R5-R4-R3-R2-R1,来回路径必须一致
(五)特殊需求:
1、R3、R5之间不可以建立任何BGP邻居
2、所有BGP邻居必须用loopback 0建立
三:基本配置
R1#show run
Current configuration : 1555 bytes
!
upgrade fpd auto
version 12.4
rvice timestamps debug datetime mc
rvice timestamps log datetime mc
no rvice password-encryption
!
hostname R1
!
stricterboot-start-marker
boot-end-marker
!
!
no aaa new-model
ip cef
!
!
!
读书的好处英语作文!
no ip domain lookup
!
multilink bundle-name authenticated
!
1069是什么意思!
key chain cisco
key 1
ljbfkey-string cisco
!
!
!
!
!
!
!
!
!
!
!
!
!
!
archive
log config
hidekeys
!
!
!
!
!
!
interface Loopback0
ip address 1.1.1.1 255.255.255.0
!
interface Loopback1
ip address 10.1.1.1 255.255.255.0
!
interface Loopback2
ip address 10.2.2.2 255.255.255.0
!
interface FastEthernet0/0
ip address 21.21.21.1 255.255.255.0 condary ip address 12.12.12.1 255.255.255.0
ip authentication mode eigrp 1 md5
ip authentication key-chain eigrp 1 cisco duplex auto
speed auto
!
interface FastEthernet0/1
no ip address
shutdown
duplex auto
speed auto
router eigrp 1
network 1.0.0.0
network 12.12.12.0 0.0.0.255
no auto-summary
!
router rip
ukversion 2
在线英文签名network 1.0.0.0
network 21.0.0.0
!
router bgp 100
no synchronization
bgp log-neighbor-changes
network 10.1.1.0 mask 255.255.255.0
network 10.2.2.0 mask 255.255.255.0
aggregate-address 10.0.0.0 255.0.0.0 summary-only neighbor 2.2.2.2 remote-as 100
neighbor 2.2.2.2 update-source Loopback0
no auto-summary
!
no ip http rver
no ip http cure-rver
!
!
!
logging alarm informational
!
!
!
!
!
!
control-plane
!
!
!
!
!
!
gatekeeper
shutdown
!
!
line con 0
exec-timeout 0 0
logging synchronous
stopbits 1
line aux 0
stopbits 1
绯闻女孩第二季在线观看line vty 0 4
login
!
新东方报名
!
webvpn cef
!
end
R2#show run
Current configuration : 2377 bytes
!
upgrade fpd auto
version 12.4
rvice timestamps debug datetime mc rvice timestamps log datetime mc no rvice passwor
d-encryption
!
hostname R2
!
boot-start-marker
boot-end-marker
!
!
no aaa new-model
ip cef
!
!
!
!
no ip domain lookup
!
multilink bundle-name authenticated
!finalists
!
key chain cisco