《计算机网络》实六 静态路由配置 实验报告
实验报告六
班级:07东方信息 姓名: 学号:
实验时间:10年5月17日 机房:9#205 组号: 机号:A
一、实验题目 静态路由配置
二、实验设备
CISCO路由器、专用电缆、网线、CONSOLE线、PC机
三、实验内容
1了解路由器的功能
2在CISCO路由器上设置和验证静态路由
3配置缺省路由
四、原理
实现网络的互连互通,从而实现信息的共享和传输静态路由实验网络拓扑结构图步骤1:初始化设置(1)按照图4-1的网络拓扑结构,连接好PC与路由器的网线、PC与路由器Console端口的调试电缆、路由器与路由器之间的V.35电缆。 (2)按照图4-1要求,在PC1、PC2计算机中设置好IP地址、子网掩码、默认网关。然后利用Ping命令测试两台PC机之间的连通性。模拟器也按以上配置。 (3)在PC机上启动“超级终端”。
步骤2:路由器 Route A 的基础配置
7-A#show run
Building configuration...
Current configuration : 826 bytes
!
version 12.3
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname 7-A
!
boot-start-marker
boot-end-marker
!
enable password cisco
!
no network-clock-participate aim 0
no network-clock-participate aim 1
no aaa new-model
ip subnet-zero
!
!
ip cef
!
!
no ftp-server write-enable
!
!
!
!
interface FastEthernet0/0
ip address
duplex auto
speed auto
!
interface FastEthernet0/1
ip address
duplex auto
speed auto
!
interface Serial0/3/0
ip address 52
no fair-queue
!
interface Serial0/3/1
no ip address
shutdown
clockrate 2000000
!
ip classless
ip http server
!
!
!
control-plane
!
!
line con 0
line aux 0
line vty 0 4
password cisco
login
!
scheduler allocate 20000 1000
!
End
步骤:路由器 Route 的基础配置7-B#show run
Building configuration...
Current configuration : 868 bytes
!
version 12.3
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname 7-B
!
boot-start-marker
boot-end-marker
!
enable password cisco
!
no network-clock-participate aim 0
no network-clock-participate aim 1
no aaa new-model
ip subnet-zero
!
!
ip cef
!
!
no ftp-server write-enable
!
!
!
!
interface FastEthernet0/0
ip address
shutdown
duplex auto
speed auto
!
interface FastEthernet0/1
ip address
duplex auto
speed auto
!
interface Serial0/3/0
ip address 52
no fair-queue
clockrate 128000
!
interface Serial0/3/1
bandwidth 64
no ip address
shutdown
clockrate 2000000
!
ip classless
ip http serv