1、南京工程学院实习报告课 程 名 称 网络工程实习 院(系、部、中心) 计算机工程学院 专 业 网络工程 班 级 网络 132 起 止 日 期 2015。4.62015。4。17 指 导 教 师 袁宗福一、 报告摘要大二下学期的六七周,我们网络工程班在建策公司进行了首次实习,CCIE大神老师讲课很生动,在为期两周的实习期间,学到了很多。在建策,老师是以实际案例给我们讲课,从工程的角度分析客户需求,需要怎样的技术支持,总的来说,偏重于实践应用.期间,CCIE老师带我们这一组学生主要做了以下几个实验:单臂路由,静态路由和访问控制列表,分别对应地铁网或者校园网,企业的路由备份以及服务器过滤方面的知识。
2、很实际的问题,我们对做这些实验的印象至今很深刻。除此之外,老师还给我们讲了些我们学生很关心的问题,比如学校电信宽带的PPPOE连接,无线路由没作用的原因,无线加密方式以及破解方法等等。重点介绍了他从事这行业的一些经历,网络行业现在的形势以及预测一下将来的行情。让我们对网络工程有了一定的了解,有助于我们对未来有个清晰的规划。二、 摘要翻译In the sixth and seventh week of the next semester of our sophomore year, we network engineering students went to JIANCE company fo
3、r internship for the first time。 The teachers lesson who has a certificate “CCIE” is very lively. During the two weeks of internship, we learned a lot。In the company, the teacher gave us a lecture on actual cases. From the perspective of the project, we analysed customers demand and what kind of tec
4、hnical support his need。 In general, the class was focus on practical application. During the classes。 The CCIE teacher took our a group of students to do mainly the following experiments: single-arm routing, static routing and access control lists, corresponding to the subway network or campus netw
5、ork, the companys routing backup and server filter. They are such practical problems that we have a deep impression on these experiments up to now.In addition, the teacher also told us some interesting things that our students are very concerned about, such as the PPPOE connection of campus telecom
6、broadband, the cause of the wireless router which is invalid in school, wirelesss way of encryption and how to decode and so on. He mainly introduced some experiences when he was engaged in this industry, the present situation of network industry and he also forecasted the future market。 Lets have a
7、 certain understand of network engineering which can help us have a clear plan for the future。三、 实习目的本次实习是我们作为网络工程学生的一次知识实践,其主要目的在于:1. 掌握局域网的设计组建方法,并知晓对局域网的管理和排错维护等理论知识。2. 熟练运用网络配置命令,主要掌握有单臂路由,静态路由和访问控制列表配置方法。3. 将理论和实际工程结合起来,学会需求分析,增长做工程的见闻.4. 认清社会现实,对计算机相关行业有一定的了解。四、 实习内容分析(一) 实现在不同VLAN的两台主机的相互访问。案
8、例:某企业的需求,需要将两个部门的某两台主机能互相访问。原理:在两台主机所连的三层交换机上给同VLAN配置ip地址,作为主机的网关,交换机和三层交换机的连接接口配成trunk模式,使不同VLAN通过共享链路与其它交换机中的相同VLAN通信。实践:二层交换机:SwitchenSwitchconf tEnter configuration commands, one per line。 End with CNTL/Z.Switch(config)vlan 2Switch(config-vlan)#int f0/2Switch(config-if)#switch acc vlan 2Switch(c
9、onfigif)#int f0/1Switch(configif)switch mode trunkSwitch(configif)#endSwitchshow vlan VLAN Name Status Ports- - - -1 default active Fa0/3, Fa0/4, Fa0/5, Fa0/6 Fa0/7, Fa0/8, Fa0/9, Fa0/10 Fa0/11, Fa0/12, Fa0/13, Fa0/14 Fa0/15, Fa0/16, Fa0/17, Fa0/18 Fa0/19, Fa0/20, Fa0/21, Fa0/22 Fa0/23, Fa0/24, Gig1
10、/1, Gig1/22 VLAN0002 active Fa0/21002 fddi-default act/unsup 1003 tokenringdefault act/unsup 1004 fddinet-default act/unsup 1005 trnetdefault act/unsup 三层交换机:SwitchenSwitchconf tEnter configuration commands, one per line. End with CNTL/Z.Switch(config)#ip routingSwitch(config)#vlan 2Switch(configvla
11、n)#vlan 3Switch(config-vlan)int f0/2Switch(config-if)#switch acc vlan 3Switch(configif)#int vlan 2Switch(configif)ip add 192.168。2。1 255.255。255.0Switch(config-if)#int vlan 3Switch(config-if)#ip add 192。168.3。1 255。255。255.0Switch(config-if)int f0/1Switch(configif)#switch trunk en dot1q /给端口封装协议Swit
12、ch(config-if)#switch mode trunkSwitch(config-if)#endSwitchshow vlanVLAN Name Status Ports- - - -1 default active Fa0/3, Fa0/4, Fa0/5, Fa0/6 Fa0/7, Fa0/8, Fa0/9, Fa0/10 Fa0/11, Fa0/12, Fa0/13, Fa0/14 Fa0/15, Fa0/16, Fa0/17, Fa0/18 Fa0/19, Fa0/20, Fa0/21, Fa0/22 Fa0/23, Fa0/24, Gig0/1, Gig0/22 VLAN000
13、2 active 3 VLAN0003 active Fa0/21002 fddidefault act/unsup 1003 tokenring-default act/unsup 1004 fddinet-default act/unsup 1005 trnet-default act/unsup Switch#show ip int briInterface IPAddress OK? Method Status ProtocolFastEthernet0/1 unassigned YES unset up upFastEthernet0/2 unassigned YES unset u
14、p upVlan1 unassigned YES unset administratively down downVlan2 192。168.2.1 YES manual up upVlan3 192.168。3。1 YES manual up up验证:PC0 ping PC1注意点:三层交换机封装端口配trunk的原理Cisco设备支持ISL和802。1q(dot1Q)协议.华为只支持802.1q。DOT1Q和ISL的区别:DOT1Q是各类产品的VLAN通用协议模式,Dot1q是一种普遍使用的标准,适用所有交换机与路由设备。支持超过1024vlan,而ISL最多支持1024个vlan。IS
15、L是CISCO设备的专用协议,适用于Cisco设备.ISL(Interior Switching Link)交换机间协议用于实现CISCO交换机间的VLAN中继。它是一个信息包标记协议,在支持ISL接口上发送的帧由一个标准以太网帧及相关的VLAN信息组成.(二) 实现某台主机只能以web的形式访问服务器。案例:出于安全考虑,地铁某台服务器只允许通过web形式访问,任何主机不能ping通它,且主机间不能相互访问.原理:通过给路由器或者三层交换机配置访问控制列表,使数据包只允许通过80端口,起到过滤的作用。实践:二层交换机Switch0:Switchconf tEnter configuratio
16、n commands, one per line。 End with CNTL/Z.Switch(config)vlan 2Switch(configvlan)int f0/1Switch(config-if)#switch acc vlan 2Switch(configif)#int f0/2Switch(configif)switch mode trunkSwitch(config)endSwitch#show vlanVLAN Name Status Ports- - - -1 default active Fa0/3, Fa0/4, Fa0/5, Fa0/6 Fa0/7, Fa0/8,
17、 Fa0/9, Fa0/10 Fa0/11, Fa0/12, Fa0/13, Fa0/14 Fa0/15, Fa0/16, Fa0/17, Fa0/18 Fa0/19, Fa0/20, Fa0/21, Fa0/22 Fa0/23, Fa0/24, Gig1/1, Gig1/22 VLAN0002 active Fa0/11002 fddi-default act/unsup 1003 token-ringdefault act/unsup 1004 fddinet-default act/unsup 1005 trnet-default act/unsup 二层交换机Switch1:Switc
18、hconf tEnter configuration commands, one per line。 End with CNTL/Z.Switch(config)#vlan 3Switch(configvlan)int f0/1Switch(config-if)#switch acc vlan 3Switch(configif)int f0/2Switch(configif)#switch mode trunkSwitch(config)endSwitchshow vlanVLAN Name Status Ports- - - -1 default active Fa0/3, Fa0/4, F
19、a0/5, Fa0/6 Fa0/7, Fa0/8, Fa0/9, Fa0/10 Fa0/11, Fa0/12, Fa0/13, Fa0/14 Fa0/15, Fa0/16, Fa0/17, Fa0/18 Fa0/19, Fa0/20, Fa0/21, Fa0/22 Fa0/23, Fa0/24, Gig1/1, Gig1/23 VLAN0003 active Fa0/11002 fddi-default act/unsup 1003 token-ring-default act/unsup 1004 fddinet-default act/unsup 1005 trnetdefault act
20、/unsup三层交换机:Switch#conf tEnter configuration commands, one per line. End with CNTL/Z。Switch(config)ip routingSwitch(config)#vlan 2Switch(config-vlan)vlan 3Switch(config-vlan)vlan 4Switch(configvlan)#int vlan 2Switch(config-if)ip add 192.168。2.1 255.255.255.0Switch(configif)#int vlan 3Switch(configif
21、)#ip add 192.168。3。1 255.255.255。0Switch(config-if)#int vlan 4Switch(config-if)ip add 192.168。1.1 255.255。255。0Switch(configif)int f0/3Switch(configif)#switch acc vlan 4Switch(configif)int f0/4Switch(configif)switch acc vlan 4Switch(configif)int f0/1Switch(configif)switch trunk en dot1qSwitch(config
22、if)#switch mode trunkSwitch(configif)int f0/2Switch(config-if)#switch trunk en dot1qSwitch(configif)switch mode trunkSwitchshow vlanVLAN Name Status Ports- - - -1 default active Fa0/5, Fa0/6, Fa0/7, Fa0/8 Fa0/9, Fa0/10, Fa0/11, Fa0/12 Fa0/13, Fa0/14, Fa0/15, Fa0/16 Fa0/17, Fa0/18, Fa0/19, Fa0/20 Fa0
23、/21, Fa0/22, Fa0/23, Fa0/24 Gig0/1, Gig0/22 VLAN0002 active 3 VLAN0003 active 4 VLAN0004 active Fa0/3, Fa0/41002 fddidefault act/unsup 1003 token-ringdefault act/unsup 1004 fddinet-default act/unsup 1005 trnet-default act/unsupSwitchshow ip int briInterface IP-Address OK? Method Status ProtocolFastE
24、thernet0/1 unassigned YES unset up upFastEthernet0/2 unassigned YES unset up upFastEthernet0/3 unassigned YES unset up upFastEthernet0/4 unassigned YES unset up upVlan1 unassigned YES unset administratively down downVlan2 192。168.2。1 YES manual up upVlan3 192.168。3.1 YES manual up upVlan4 192。168。1。
25、1 YES manual up upSwitchconf tEnter configuration commands, one per line。 End with CNTL/Z。Switch(config)# accesslist 100 permit ip 192。168。1。0 0。0。0.255 192。168。2.0 0.0.0。255Switch(config)#int vlan 2Switch(config-if)# ip access-group 100 outSwitch(config-if)exitSwitch(config) access-list 101 permit
26、ip 192.168。1.0 0。0.0.255 192.168。3。0 0。0。0.255Switch(config)#int vlan 3Switch(configif) ip accessgroup 101 outSwitch(configif)#exitSwitch(config) accesslist 103 permit tcp any host 192。168。1。3 eq 80Switch(config)# accesslist 103 deny ip any host 192。168。1。3Switch(config)# accesslist 103 permit ip an
27、y anySwitch(config)#int vlan 4Switch(configif)# ip accessgroup 103 out/访问列表101和102实现:pc0和pc1不能相互访问,但都能访问server0/访问列表103实现:所有ip只能以web形式访问server1Switchshow accesslExtended IP access list 100 permit ip 192.168。1.0 0.0。0.255 192.168.2.0 0.0。0。255Extended IP access list 101 permit ip 192。168。1。0 0.0。0.25
28、5 192.168.3。0 0.0。0.255Extended IP access list 103 permit tcp any host 192。168.1.3 eq www deny ip any host 192.168。1。3permit ip any any验证:1) PC0 无法ping通 PC12) PC0 无法ping通 server13) PC0 通过web访问 server1(三) 实现线路备份,在某条线路故障的情况下,导通另一条线路。特别说明:本次实验是在上次vlan互访实验和过滤实验的基础上进行拓展的,是个综合实验,所以之前的已经配置过的相关命令就不再赘述了.案例:某
29、用户正常上网时通联通的网,当联通网故障时,则自动切换到移动网。原理:在中间路由器上配置默认静态路由时,多设置一个管理距离,则管理距离小的先通,大的不通.实践:三层交换机:将f0/5划入vlan5,f0/6划入vlan6,f0/23和f0/24划入vlan2。给vlan2,vlan5和vlan6分配地址,作为所在vlan主机的网关。具体配置命令如上两次实验,略过。服务器过滤采用的访问控制列表实现如上次实验,不再赘述。给端口f0/1配置IP需要注意:Switch(config)int f0/1Switch(config-if)# no switchport /开启三层端口配置功能Switch(co
30、nfig-if)# ip address 192。168.1。2 255.255.255.0静态路由Switch(config) ip route 0。0。0。0 0.0。0.0 FastEthernet0/1 /采用默认静态路由形式Switch#show ip routeCodes: C - connected, S static, I IGRP, R - RIP, M - mobile, B BGP D EIGRP, EX EIGRP external, O OSPF, IA OSPF inter area N1 OSPF NSSA external type 1, N2 OSPF NSS
31、A external type 2 E1 OSPF external type 1, E2 - OSPF external type 2, E EGP i - ISIS, L1 ISIS level1, L2 IS-IS level-2, ia IS-IS inter area * - candidate default, U - per-user static route, o ODR P periodic downloaded static routeGateway of last resort is 0.0。0.0 to network 0.0.0.0C 192。168。1。0/24 i
32、s directly connected, FastEthernet0/1C 192.168。2。0/24 is directly connected, Vlan2C 192。168。5。0/24 is directly connected, Vlan5C 192。168。6。0/24 is directly connected, Vlan6S* 0.0.0.0/0 is directly connected, FastEthernet0/1中间路由器Route0:给端口f0/0,f0/1,f1/0分配地址后,配置静态路由.发出方向:Router(config)# ip route 0.0.0
33、.0 0。0。0。0 FastEthernet0/1 Router(config)# ip route 0。0。0.0 0。0。0。0 FastEthernet1/0 34 /改这条默认静态路由管理距离为34返回方向:Router(config) ip route 192.168。5.0 255.255.255。0 FastEthernet0/0 Router(config) ip route 192。168。6.0 255。255。255。0 FastEthernet0/0Router#show ip routeCodes: C connected, S static, I - IGRP,
34、R RIP, M - mobile, B BGP D EIGRP, EX EIGRP external, O OSPF, IA OSPF inter area N1 OSPF NSSA external type 1, N2 - OSPF NSSA external type 2 E1 OSPF external type 1, E2 OSPF external type 2, E - EGP i ISIS, L1 - ISIS level1, L2 - IS-IS level2, ia IS-IS inter area * - candidate default, U - per-user
35、static route, o ODR P periodic downloaded static routeGateway of last resort is 0.0。0.0 to network 0。0.0。0C 192。168.1.0/24 is directly connected, FastEthernet0/0S 192.168。5。0/24 is directly connected, FastEthernet0/0S 192.168.6.0/24 is directly connected, FastEthernet0/0C 200.1.1。0/24 is directly co
36、nnected, FastEthernet0/1C 200.2。2。0/24 is directly connected, FastEthernet1/0S 0.0.0。0/0 is directly connected, FastEthernet0/1路由器Router1:给端口f0/0,f0/1分配地址后,配置静态路由.Router(config)# ip route 192。168。1。0 255.255.255。0 FastEthernet0/0Router(config) ip route 192。168。5.0 255.255.255.0 FastEthernet0/0Router(config)# ip route 192.168.6。0 255.255。255。0 FastEthernet0/0Routershow ip routeCodes: C connected, S static, I - IGRP, R RIP, M - mobile, B - BGP D - EIGRP, EX EIGRP external, O OSPF, IA OSPF inter area N1 OSPF NSSA external type 1, N2 OSPF NSSA external type 2
©2010-2024 宁波自信网络信息技术有限公司 版权所有
客服电话:4008-655-100 投诉/维权电话:4009-655-100