计算机网络实验期末考查报告.docVIP

  • 15
  • 0
  • 约3.26千字
  • 约 11页
  • 2017-12-26 发布于河南
  • 举报
计算机网络实验期末考查报告

计算机网络实验期末报告 班级13计应2班学号 1310816014 姓名 黄师远 题目 题目三:某小区无线网络访问互联网的配置 一、题目功能描述 4台计算机通过添加无线网卡连接到无线路由器上,然后通过公司内部的路由器访问公网的Web服务器 二、网络拓扑结构图 三、配置过程 在Server路由器上配置: Router#conf t Enter configuration commands, one per line. End with CNTL/Z. Router(config)#no ip domain-lookup //关闭DNS解析 Router(config)#hostname Server Server(config-if) line console 0 //进入控制台 Server(config-line)#logging synchronous //日志同步 Server(config-line)#exec-timeout 0 0 //超时时间为0 Server(config-line)#exit Server(config-if) #interface serial 0/0/0 //进入路由器s0/0/0接口 Server(config-if)#ip address //配置ip地址 Server(config-if)#ip nat outside //定义外部接口 Server(config-if)#no shutdown %LINK-5-CHANGED: Interface Serial0/2/0, changed state to down Server(config-if)#exit Server(config)#int f0/0 Server(config-if)#ip address Server(config-if)#ip nat inside //定义内部接口 Server(config-if)#no shutdown %LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up Server(config-if)#exit Server(config)#access-list 1 permit 55 Server(config)#ip nat inside source list 1 int s0/0/0 overload Server(config)#ip route s0/2/0//默认路由 Server(config)# enable password 123456//设置密码123456 Server(config)#service password-encryption//加密 Server(config)#exit %SYS-5-CONFIG_I: Configured from console by console Server# Server#write //保存配置 Building configuration... [OK] ISP# 在ISP路由器上配置: Routeren Router#conf t Enter configuration commands, one per line. End with CNTL/Z. Router(config)#hostname ISP ISP(config)#line console 0 ISP(config-line)#logging synchronous //日志同步 ISP(config-line)#exec-timeout 0 0 //超时时间为0 ISP(config-line)#exit ISP(config)#int s0/0/0 ISP(config-if)#ip address ISP(config-if)#no shutdown %LINK-5-CHANGED: Interface Serial0/0/0, changed state to down ISP(config-if)#clock rate 64000//设置时钟频率 ISP(config-if)#exit ISP(config)#int f0/0 ISP(config-if)#ip address ISP(config-if)#no shutdown ISP(config-if)# %LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up IS

文档评论(0)

1亿VIP精品文档

相关文档