一道網絡綜合題

某企業B網絡拓撲結構如下圖所示,內部有R1-R44個路由器,該4個路由器都在同一個自治域系統0中,在該網絡中共使用OSPFRIP兩種路由選擇協議進行網絡互連。在滿足內部網絡相互通信的需求後,要求該網絡能上Internet,現要求內部網絡通過路由器R1連接到Internet

爲達到上述要求,請描述在每個路由器上需要配置什麼(接口打開及IP地址配置除外),如有必要請寫出配置語句。(路由器R1R3的配置各8分,Internet路由器、R2R4各爲3分)
 
拓撲圖如下:
 
 

 R1配置:

Router#show run
Building configuration...

Current configuration : 605 bytes
!
version 12.2
no service timestamps log datetime msec
no service timestamps debug datetime msec
no service password-encryption
!
hostname Router
!
!
!
!
!
!
!
!
!
!
ip name-server 0.0.0.0
!
!
!
!
!
!
interface FastEthernet0/0
 ip address 10.1.1.1 255.255.255.0
 duplex auto
 speed auto
!
interface FastEthernet0/1
 ip address 210.19.34.81 255.255.255.252
 duplex auto
 speed auto
!
router ospf 100
 log-adjacency-changes
 network 10.1.1.0 0.0.0.255 area 0
 default-information originate
!
ip classless
ip route 0.0.0.0 0.0.0.0 FastEthernet0/1
!
!
!
!
!
!
!
!
!
line con 0
line vty 0 4
 login
!
!
!
end

R2配置:

Router#show run
Building configuration...

Current configuration : 538 bytes
!
version 12.2
no service timestamps log datetime msec
no service timestamps debug datetime msec
no service password-encryption
!
hostname Router
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
interface FastEthernet0/0
 ip address 10.1.1.2 255.255.255.0
 duplex auto
 speed auto
!
interface FastEthernet0/1
 ip address 10.1.2.1 255.255.255.0
 duplex auto
 speed auto
!
router ospf 100
 log-adjacency-changes
 network 10.1.1.0 0.0.0.255 area 0
 network 10.1.2.0 0.0.0.255 area 0
!
ip classless
!
!
!
!
!
!
!
!
!
line con 0
line vty 0 4
 login
!
!
!
end

R3配置:

Router#show run
Building configuration...

Current configuration : 703 bytes
!
version 12.2
no service timestamps log datetime msec
no service timestamps debug datetime msec
no service password-encryption
!
hostname Router
!
!
!
!
!
!
!
!
!
!
ip name-server 0.0.0.0
!
!
!
!
!
!
interface FastEthernet0/0
 ip address 10.1.2.2 255.255.255.0
 duplex auto
 speed auto
!
interface FastEthernet0/1
 ip address 172.30.1.1 255.255.255.0
 duplex auto
 speed auto
!
router ospf 100
 log-adjacency-changes
 redistribute rip subnets
 network 10.1.2.0 0.0.0.255 area 0
!
router ospf 10
 log-adjacency-changes
!
router rip
 version 2
 redistribute ospf 100 metric 3
 network 172.30.0.0
 default-information originate
!
ip classless
!
!
!
!
!
!
!
!
!
line con 0
line vty 0 4
 login
!
!
!
end

R4的配置:

Router#show run
Building configuration...

Current configuration : 559 bytes
!
version 12.2
no service timestamps log datetime msec
no service timestamps debug datetime msec
no service password-encryption
!
hostname Router
!
!
!
!
!
!
!
!
!
!
ip name-server 0.0.0.0
!
!
!
!
!
!
interface Loopback0
 ip address 4.4.4.4 255.255.255.0
!
interface FastEthernet0/0
 ip address 172.30.1.2 255.255.255.0
 duplex auto
 speed auto
!
interface FastEthernet0/1
 no ip address
 duplex auto
 speed auto
 shutdown
!
router rip
 version 2
 network 4.0.0.0
 network 172.30.0.0
!
ip classless
!
!
!
!
!
!
!
!
!
line con 0
line vty 0 4
 login
!
!
!
end
internet路由配置:

Router#show run
Building configuration...

Current configuration : 465 bytes
!
version 12.2
no service timestamps log datetime msec
no service timestamps debug datetime msec
no service password-encryption
!
hostname Router
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
interface FastEthernet0/0
 ip address 210.19.34.82 255.255.255.252
 duplex auto
 speed auto
!
interface FastEthernet0/1
 no ip address
 duplex auto
 speed auto
 shutdown
!
ip classless
ip route 0.0.0.0 0.0.0.0 FastEthernet0/0
!
!
!
!
!
!
!
!
!
line con 0
line vty 0 4
 login
!
!
!
end

 
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章