【正文】
timestamps log datetime msec no service timestamps debug datetime msec no service passwordencryption ! hostname Router ! ip ssh version 1 ! interface FastEther0/0 no ip address duplex auto speed auto ! 《 計算機網(wǎng)絡(luò) 課程設(shè)計》論文 17 interface FastEther0/ encapsulation dot1Q 1 native ip address ! interface FastEther0/ encapsulation dot1Q 2 ip address ! interface FastEther0/ encapsulation dot1Q 3 ip address ! interface FastEther0/1 no ip address duplex auto speed auto shutdown ! interface Vlan1 no ip address shutdown ! router ospf 100 logadjacencychanges work area 0 work area 0 work area 0 ! ip classless ! line con 0 line vty 0 4 login ! end 路由器 r0 配置代碼 Building configuration... Current configuration : 959 bytes ! version no service timestamps log datetime msec no service timestamps debug datetime msec no service passwordencryption 《 計算機網(wǎng)絡(luò) 課程設(shè)計》論文 18 ! hostname Router ! interface FastEther0/0 ip address duplex auto speed auto ! interface FastEther0/1 ip address duplex auto speed auto ! interface Ether1/0 no ip address duplex auto speed auto shutdown ! interface Ether1/1 ip address duplex auto speed auto ! interface Ether1/2 no ip address duplex auto speed auto shutdown ! interface Ether1/3 no ip address duplex auto speed auto shutdown ! interface Vlan1 no ip address shutdown ! router ospf 100 logadjacencychanges work area 0 work area 0 《 計算機網(wǎng)絡(luò) 課程設(shè)計》論文 19 work area 0 ! ip classless ! no cdp run line con 0 line vty 0 4 login ! End 防火墻 1 配置代碼 Current configuration : 981 bytes ! version no service timestamps log datetime msec no service timestamps debug datetime msec no service passwordencryption ! hostname Router ! ! ! ! ! ! ! ! ! ! ! ! ip nameserver ! ! ! ! ! ! interface FastEther0/0 ip address duplex auto speed auto ! interface FastEther0/1 《 計算機網(wǎng)絡(luò) 課程設(shè)計》論文 20 ip address duplex auto speed auto ! interface Serial0/0 no ip address shutdown ! interface Serial0/1 no ip address shutdown ! interface Serial0/2 no ip address shutdown ! interface Serial0/3 no ip address shutdown ! interface FastEther1/0 ip address duplex auto speed auto ! interface FastEther1/1 no ip address duplex auto speed auto shutdown ! router ospf 100 logadjacencychanges work area 0 work area 0 work area 0 ! ip classless ! ! ! no cdp run ! ! 《 計算機網(wǎng)絡(luò) 課程設(shè)計》論文 21 ! ! ! line con 0 line vty 0 4 login ! ! ! end 十、最終的結(jié)果 的 a11 和 c11 之間能通信 : 的 a11 和 Vlan2 的 a12 之間不能通信 : 的 b31 和 Vlan2 的 c32 之間能通信 : A21 和路由器 R3 之間可以通信: 《 計算機網(wǎng)絡(luò) 課程設(shè)計》論文 22 總結(jié) 經(jīng)過一個星期的上機實驗,盡管這門課對我們來說有些困難,但在老師的指導(dǎo)下,最終還是順利完成該課程設(shè)計。知道和理解了該命令在計算機中是怎樣執(zhí)行的, 對該理論在實踐中的應(yīng)用有深刻的理解 。當(dāng)然,短短的一周實踐并不能將這門課學(xué)得好,通過實踐,發(fā)現(xiàn)了自己很多的不足,特別是耐心