2024年4月23日发(作者:)

实践s经验 

/ 

—————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————一

/ 

/ 

Boson Netsi m软件在计算机网络实验教学中的应用 

袁静珍 

(韩山师范学院物理与电子T程系,潮州521041) 

摘要:提出在计算机网络实验教学中,应用Boson Netsim软件构建虚拟网络实验环境,以动态路 

由实现RIP协议的配置实验为例.介绍虚拟网络实验环境建立的过程及实验步骤。 

关键词:Boson Netsim软件;计算机网络;实验教学;路由器 

0 引言 

计算机网络的应用越来越广泛 当今社会需要大 

批熟练掌握计算机网络的技术人才.这无疑对计算机 

网络课程的教学提 了更高的要求 要让学生熟练掌 

握计算机网络技术.实验是非常重要的教学环节 计算 

Bo on Netsim软件能够自定义设计网络拓扑结构, 

并能模拟 所设计的实验环境。它不但能模拟 常见 

的局域网实验.还可以模拟出实验设备难以搭建的广 

域网实验 这里选择比较有代表性的通过动态路由实 

现RIP协议的配置实验为例.介绍使用Boson Netsim 

实验的过程 

机网络实验教学需要依赖大量高成本的网络设备例如 

路由器、交换机等,经过调查大部分院校并没有在计算 

机网络教学设备的投入上花费太多的经费.从而导致很 

多院校的计算机网络教学仅仅是教师照本宣科.学生也 

2.1绘制拓扑结构图 

利用B0son Network Designer绘制实验的拓扑图。 

打开该软件.按照“够用为度”原则.在设备列表中选择 

805为路由器型号.在两台路由器之间布线时选择点到 

没有太大的学习兴趣 本文根据计算机网络实验教学 

的特点.介绍Boson Netsim软件在计算机网络实验教 

学中的应用 

点类型.如图1所示。绘制的拓扑图如图2所示,其中 

Routerl的Serial0与Router2的Serial0联接.Routerl 

的EthernetO与PC1联接.Router2的Ethernet0与PC2 

1 Boson Netsim软件 

B0son Netsim是Boson公司开发的一款网络模拟 

联接 将拓扑图保存到rip.top文件。 

软件 它由Boson Network Designer( ̄络拓扑图设计软 

件1和Boson Netsim(网络实验模拟器)两部分组成。 

B0Son Network Designer用来绘制实验的网络拓扑 

结构图 B0son Netsie是用来进行设备配置实验.可以 r

打开设计好的网络拓扑结构图(.top文件).对拓扑图里 

的路由器、交换机、用户机等网络设备进行配置。配置 

好后.测试网络的连通性 

2 Boson Netsim软件在计算机网络实验教 

学中的应用实例 

收稿日期:2010—10—18 修稿日期:2010—11—16 

罔1选择点到点类型 

作者简介:袁静珍(1975一),女,广东揭阳人,讲师,硕士,研究方向为计算机网络 

现代计算机2010.11 囝 

\ 实践与经验 

\ 、

、、

、 

___________.___~—————

图2网络拓扑罔 

2.2实验配置 

打开Boson Netsim软件.选择File一>Load NetMap 

加载rip.top文件,对陔拓扑图的设备进行配置。 

●路南器Routerl的配置 

通过T具栏按钮“eRouters"选择“Routerl”.按照下 

面的过程进行路由器基本参数的配置。 

f1 Router>en ,/进入路由器特权用户模式 

(2)Router#conf t ,/进入路南器全局配置模式 

(3)Router fconfig)#hostname Routerl//配置路由器名为 

Routerl(可不配) 

(4)Router1(config)#interface e0 //进入端E1模式.配置 

ethernet的0端口 

(5)Routerl(c0n6g—i ip address 192.168.1.2 255.255.255.0 

,,配置e0的IP地址和子网掩码 

(6)Router1(config—if)#no shut,/打丌e0端口 

(7)Router1fconfig—if)#interface sO//进入端口模式,配置 

serial的0端口 

(8)Router1(config-it)#ip address 192.168.2.1 255.255.255.0 

//配置S0端口的IP地址和子网掩码 

r9)Routerl(config—it)#clock rate 64000//5置Routerl和 

Router2连接的时钟频率 

(1O)Router1(config—if)#no shut// 】.歼S0端口 

f t 1)Router1(config—it)#exit,/退回到全局模式 

f12)Routerlfconfig)#router irp//配置Routerl的动态路 

由协议为RIP 

f 13)Routerl(eonfig-router)#network l92.168.1. 没置Rou— 

ter1的直接网段信息 

(14)Routerl(config-router)#network 192.168.2.0 

(15)Routerl(c0nng—router)#exit 

囝 现代计算机2010.11 

— 

●路由器Router2的配置 

通过工具栏按钮“eRouters"选择“Router2”.按照下 

面的过程进行路南器基本参数的配置 

(1)Router>en 

(2)Router#conf 1 

(3)Router(con g)#hos【name Router2 

(4)Router2(config)#interface sO 

(5)R0uter2((:onfig—i0#ip address 192.168.2.2 255.255.255.0 

(6)Router2(c0nfig—i{)#no shut 

(7)Router2(con g—if)#exit 

(8)Router2(config)#interface e0 

f9)Router2(config—i0#ip address 1 92.1 68.3.1 255.255.255.0 

(1 0)Router2(config—i0#no shut 

(1 1)Router2(config-if)#exit 

(12)Router2(con峨)#router rip 

f13)Router2(config—router)#network 192.168.3.0 

(14)Router2(config-router)#network 192.168.2.0 

(15)R0uter2(config—router)#exit 

●终端PC1的配置 

通过丁具栏按钮“eStations”选择“PCI”,按照下面 

的过程进行终端配置 

f1)C:>ipconfig/ip 192.168.1.1 255.255.255.0// ̄t置PC1 

的IP地址 

(2)C:>ipconfig/dg t92.168.1.2 //配置PC1的默认网 

关 

●终端PC2的配置 

通过T具栏按钮“eStatiOILS"选择“PC2”,按照下面 

的过程进行终端配置 

(1)C:>ipconfig/ip 192.168.3.2 255.255.255.0 

(2)C:>ipconfig/dg 192.168.3.1 

2.3测试实验结果 

经过测试PC1与PC2之间能相互ping通。通过工 

具栏按钮“eStations”选择“PC1”,输入C:>ping 

192.168.3.2。测试结果如图3所示。 

图3测试结果 

实践与经验 / 

/ 

输入C:>tracert 192.168.3.2.查看网络通信及路巾 

状态。PC2使用同样方法可以判断能否与PC1互通。 

使学生能够更好地掌握网络技术.更深理解网络协议 

和网络原理,它是计算机网络实验教学的好帮手。 

3 结语 

参考文献 

在计算机网络实验教学中.用Boson Netsim软件 

…谢希仁.计算机网路(第4版)(M].北京:电子工业出版社, 

20HD5 

能方便地虚拟路由器、交换机、终端等网络设备.构建 

出虚拟的网络实验环境 这样不仅可以解决学校网络 

设备不足、设备陈旧等问题.还解决了学生实验时间受 

限、实验难以拓展等问题 总之,B0s0n Netsim软件在计 

[2]费添林.在计算机网络课程中组建Netsim虚拟实验室fJ1 

电脑知识与技术,2009(5):l156~1157 

【3]米伟娜,乇海燕.基于B0son Netsim虚拟平台的VLAN实 

验教学设计【 现代教育技术,2008,18(10):121~124 

算机网络实验教学中的使用,提高了学生的实践能力. 

Application of Boson Netsim Software in the Teaching of 

Computer Network Expermental 

YUAN Jing-zhen 

(Department of Physics and Electronic Engineering,Hanshan Normal University,Chaozhou,521041) 

Abstract 

Proposes to construct virtual experimental network environment by appling Netsim Boson soft— 

ware in Computer Network experiment teaching.Takes dynamic routing protocol configuration 

experiment RIP as an example,and introduces how to create a virtual network experiment envi— 

ronment and experimental procedure. 

Keywords 

Boson Netsim Software;Computer Network;Expermental Teaching;Router 

(上接第71页) 

Research on the Timing Task in Linux 

CHEN Su-qin 

(Jiangsu Haimen Secondary Specialized School,Jiangsu 226100) 

Abstract:Mainly introduces the mechanism and command to repeatedly perform task script under the 

Linux system.And there offer several examples to show that how to achieve the mechanism of 

this kind of timing task.In practical work,especially in the testing of pr ̄ect automation,it 

will get twice the result with half the effort.It is necessary for a systems programiner t0 know 

and master the way of timing task. 

Keywords:Linux;Timing Task;crontab Command 

现代计算机2010.11 囝