目录
2.AS1 2 3 内部使用OSPF协议,AS1 AS2 内部建立全互联的IBGP邻居,AS之间建立全部的EBGP邻居
3.PC1 3 5 属于电信的路由,通信时必须使用电信AS 1 ;PC2 4 6 属于联通的路由,通信时必须使用联通的AS 2
4.若 R1-R9之间链路断开,电信的路由依然通过电信AS 1通信
一、实验拓扑
二、实验要求
1.合理IP地址
2.AS1 2 3 内部使用OSPF协议,AS1 AS2 内部建立全互联的IBGP邻居,AS之间建立全部的EBGP邻居
3.PC1 3 5 属于电信的路由,通信时必须使用电信AS 1 ;PC2 4 6 属于联通的路由,通信时必须使用联通的AS 2
4.若 R1-R9之间链路断开,电信的路由依然通过电信AS 1通信
三、实验配置
1.合理IP地址
R1
#
interface GigabitEthernet0/0/0
ip address 12.0.0.1 255.255.255.0
#
interface GigabitEthernet0/0/1
ip address 15.0.0.1 255.255.255.0
#
interface GigabitEthernet0/0/2
ip address 19.0.0.1 255.255.255.0
#
interface GigabitEthernet4/0/0
ip address 13.0.0.1 255.255.255.0
#
interface LoopBack0
ip address 1.1.1.1 255.255.255.255
#
R2
#
interface GigabitEthernet0/0/0
ip address 12.0.0.2 255.255.255.0
#
interface GigabitEthernet0/0/1
ip address 24.0.0.2 255.255.255.0
#
interface GigabitEthernet0/0/2
ip address 26.0.0.2 255.255.255.0
#
interface LoopBack0
ip address 2.2.2.2 255.255.255.255
#
R3
#
interface GigabitEthernet0/0/0
ip address 13.0.0.3 255.255.255.0
#
interface GigabitEthernet0/0/1
ip address 34.0.0.3 255.255.255.0
#
interface GigabitEthernet0/0/2
ip address 37.0.0.3 255.255.255.0
#
interface LoopBack0
ip address 3.3.3.3 255.255.255.255
#
R4
#
interface GigabitEthernet0/0/0
ip address 34.0.0.4 255.255.255.0
#
interface GigabitEthernet0/0/1
ip address 24.0.0.4 255.255.255.0
#
interface GigabitEthernet0/0/2
ip address 40.0.0.4 255.255.255.0
#
interface GigabitEthernet4/0/0
ip address 48.0.0.4 255.255.255.0
#
interface LoopBack0
ip address 4.4.4.4 255.255.255.255
#
R5
#
interface GigabitEthernet0/0/0
ip address 15.0.0.5 255.255.255.0
#
interface GigabitEthernet0/0/1
ip address 57.0.0.5 255.255.255.0
#
interface GigabitEthernet0/0/2
ip address 56.0.0.5 255.255.255.0
#
interface GigabitEthernet6/0/0
ip address 11.1.1.5 255.255.255.0
#
interface LoopBack0
ip address 5.5.5.5 255.255.255.255
#
R6
#
interface GigabitEthernet0/0/0
ip address 68.0.0.6 255.255.255.0
#
interface GigabitEthernet0/0/1
ip address 26.0.0.6 255.255.255.0
#
interface GigabitEthernet0/0/2
ip address 56.0.0.6 255.255.255.0
#
interface LoopBack0
ip address 6.6.6.6 255.255.255.255
#
R7
#
interface GigabitEthernet0/0/0
ip address 78.0.0.7 255.255.255.0
#
interface GigabitEthernet0/0/1
ip address 57.0.0.7 255.255.255.0
#
interface GigabitEthernet0/0/2
ip address 37.0.0.7 255.255.255.0
#
interface LoopBack0
ip address 7.7.7.7 255.255.255.255
#
R8
#
interface GigabitEthernet0/0/0
ip address 78.0.0.8 255.255.255.0
#
interface GigabitEthernet0/0/1
ip address 48.0.0.8 255.255.255.0
#
interface GigabitEthernet0/0/2
ip address 68.0.0.8 255.255.255.0
#
interface GigabitEthernet4/0/0
ip address 11.1.2.8 255.255.255.0
#
interface LoopBack0
ip address 8.8.8.8 255.255.255.255
#
R9
#
interface GigabitEthernet0/0/0
ip address 192.168.1.254 255.255.255.0
#
interface GigabitEthernet0/0/1
ip address 192.168.2.254 255.255.255.0
#
interface GigabitEthernet0/0/2
ip address 19.0.0.9 255.255.255.0
#
interface GigabitEthernet4/0/0
ip address 90.0.0.9 255.255.255.0
#
interface LoopBack0
ip address 9.9.9.9 255.255.255.255
#
R10
#
interface GigabitEthernet0/0/0
ip address 192.168.3.254 255.255.255.0
#
interface GigabitEthernet0/0/1
ip address 192.168.4.254 255.255.255.0
#
interface GigabitEthernet0/0/2
ip address 40.0.0.10 255.255.255.0
#
interface GigabitEthernet4/0/0
ip address 90.0.0.10 255.255.255.0
#
interface LoopBack0
ip address 10.10.10.10 255.255.255.255
#
R11</