VLAN间的路由配置实验报告

2018-12-22 21:10

“计算机网络实验”-实验报告

实验序号: 实验项目名称:VLAN之间的路由配置 实验台号:三 实 验组号: 实验成员及分工: 实验时间:5月15日 8:00—16:15 实验目的:实验1,熟悉交换机的命令,掌握交换机的配置,学会如何划分vlan子网。实验2,进一步熟悉各个设备的配置,同时掌握路由控制链表的配置。 实验设备和环境:设备:两台pc,两台路由器,一台3750交换机,两台2950交换机,若干设备连接线 环境:安全的网络环境 实验过程及步骤:(可以另附页,给出相应的实验环境拓扑图和实验说明) 实验总结:(遇到的问题、解决方法、收获和体会,可以另附页) 实验器材、 实验责任人: 报告执笔人: 实验完成时间: 实验小组成员签名:

验收同学: 实验记录人: 验收同学:

指导教师签名:

一、VLAN之间的路由配置

成绩: 路由器2811 fa 0/0 IP地址: 192.168.3.5 默认网关: 192.168.3.1 fa0/24 IP地址: 192.168.2.2 默认网关: 192.168.2.1 交换机3750 交换机2950 fa1/0/24 fa1/0/23 图9.5 采用单臂路由实现VLAN之间的路由

Switch>enable Switch#config t

Enter configuration commands, one per line. End with CNTL/Z. Switch(config)#hostname c3750 c3750(config)#exit c3750#

00:01:19: %SYS-5-CONFIG_I: Configured from console by console c3750#vlan b

00:01:25: %LINEPROTO-5-UPDOWN: Line protocol on Interface Vlan1, changed state t o up

c3750#vlan basedata ^

% Invalid input detected at '^' marker.

c3750#vlan database

% Warning: It is recommended to configure VLAN from config mode, as VLAN database mode is being deprecated. Please consult user documentation for configuring VTP/VLAN in config mode.

c3750(vlan)#vlan 2 name market

VLAN 2 modified: Name: market

c3750(vlan)#vlan 3 name develop VLAN 3 modified: Name: develop c3750(vlan)#end ^

% Invalid input detected at '^' marker.

c3750(vlan)#exit APPLY completed. Exiting....

c3750#config t

Enter configuration commands, one per line. End with CNTL/Z. c3750(config)#inter range f0/1 -4 ^ % Invalid input detected at '^' marker.

c3750(config)#inter range f1/1 -4 ^ % Invalid input detected at '^' marker.

c3750(config)#inter range fa1/1 -4 ^ % Invalid input detected at '^' marker.

c3750(config)#interface range fa1/0/1 -4

c3750(config-if-range)#switchport access vlan 2 c3750(config-if-range)#interface range fa1/0/5 -8 c3750(config-if-range)#switchport access vlan 3 c3750(config-if-range)#exit c3750(config)#inter fa1/0/24

c3750(config-if)#switchport trunk encap dot1q c3750(config-if)#switchport mode trunk c3750(config-if)#interface fa1/0/23

c3750(config-if)#switchport tunk encap dot1q ^ % Invalid input detected at '^' marker.

c3750(config-if)#switchport trunk encap dot1q c3750(config-if)#switchport mode trunk c3750(config-if)#e 00:07:57: %LINEPROTO-5-UPDOWN: Line protocol FastEthernet1/0/23, ch

on Interface

anged state to down c3750(config-if)#exit c3750(config)# 00:08:00: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet1/0/23, ch anged state to up c3750(config)#

% Please answer 'yes' or 'no'.

Would you like to enter the initial configuration dialog? [yes/no]: % Please answer 'yes' or 'no'.

Would you like to enter the initial configuration dialog? [yes/no]: no

Press RETURN to get started!

Router>

Router>enable Router#config t

Enter configuration commands, one per line. End with CNTL/Z. Router(config)#inter f0/0

Router(config-if)#no shutdown Router(config-if)# Router(config-if)#

*May 15 03:16:07.219: %LINK-3-UPDOWN: Interface FastEthernet0/0, changed state t o up

*May 15 03:16:10.219: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthern

et0/0, changed state to up Router(config-if)#interf f0/0.2

Router(config-subif)#encap dot1q 2 Router(config-subif)#ip address % Incomplete command.

Router(config-subif)#ip address 192.168.2.1 255.255.255.0 Router(config-subif)#no shutdown Router(config-subif)#inter f0/0.3 Router(config-subif)#encap dot1q 3

Router(config-subif)#ip address 192.168..3.1 255.255.255.0 ^ % Invalid input detected at '^' marker.

Router(config-subif)#ip address 192.168.3.1 255.255.255.0 Router(config-subif)#exit

Router(config)#inter f0/0.3

Router(config-subif)#no shutdown Router(config-subif)#end Router#

*May 15 03:19:17.519: %SYS-5-CONFIG_I: Configured from console by console % Please answer 'yes' or 'no'.

Would you like to enter the initial configuration dialog? [yes/no]: n

Press RETURN to get started!

Switch>

00:13:51: %LINK-5-CHANGED: Interface Vlan1, changed state to administratively do wn

00:13:52: %LINEPROTO-5-UPDOWN: Line protocol on Interface Vlan1, changed state t o downe

% Ambiguous command: \Switch>enable Switch#config t

Enter configuration commands, one per line. End with CNTL/Z. Switch(config)#hostname c2950 c2950(config)#exit c2950#v

00:14:18: %SYS-5-CONFIG_I: Configured from console by console]

% Unknown command or computer name, or unable to find computer address c2950#vlan database

% Warning: It is recommended to configure VLAN from config mode, as VLAN database mode is being deprecated. Please consult user documentation for configuring VTP/VLAN in config mode.

c2950(vlan)#vlan 2 name market VLAN 2 modified: Name: market

c2950(vlan)#vlan 3 name develop VLAN 3 modified: Name: develop c2950(vlan)#vtp client

Device mode already VTP CLIENT. c2950(vlan)#exit

In CLIENT state, no apply attempted.


VLAN间的路由配置实验报告.doc 将本文的Word文档下载到电脑 下载失败或者文档不完整,请联系客服人员解决!

下一篇:会销讲师开场白的精辟总结

相关阅读
本类排行
× 注册会员免费下载(下载后可以自由复制和排版)

马上注册会员

注:下载文档有可能“只有目录或者内容不全”等情况,请下载之前注意辨别,如果您已付费且无法下载或内容有问题,请联系我们协助你处理。
微信: QQ: