网络技术实训期末测试实验二.docx
《网络技术实训期末测试实验二.docx》由会员分享,可在线阅读,更多相关《网络技术实训期末测试实验二.docx(9页珍藏版)》请在冰豆网上搜索。
网络技术实训期末测试实验二
实验二
拓扑图
SW1配置
hostnameSW1
enablepasswordwanggong(设置enable密码)
noiprouting
interfaceFastEthernet0/0
switchportaccessvlan10
interfaceFastEthernet0/15
switchportmodetrunk
interfaceVlan1
noipaddress
noiproute-cache
以下实现SVI
interfaceVlan10
ipaddress10.1.1.253255.255.255.0
linecon0
exec-timeout00
loggingsynchronous
以下开启远程管理
linevty04
passwordcisco
login
end
SW2配置
hostnameSW2
enablepasswordwanggong(配置enable密码)
noiprouting
interfaceFastEthernet0/0
switchportaccessvlan20
interfaceFastEthernet0/14
switchportmodetrunk
interfaceFastEthernet0/15
switchportmodetrunk
以下配置SVI
interfaceVlan20
ipaddress10.1.2.253255.255.255.0
linecon0
exec-timeout00
loggingsynchronous
以下开启远程管理
linevty04
passwordcisco
login
end
R3配置
hostnameR3
interfaceFastEthernet0/1
switchportaccessvlan30
以下实现单臂路由功能
interfaceFastEthernet1/0
noipaddress
interfaceFastEthernet1/0.10
encapsulationdot1Q10
ipaddress10.1.1.254255.255.255.0
interfaceFastEthernet1/0.20
encapsulationdot1Q20
ipaddress10.1.2.254255.255.255.0
interfaceVlan1
noipaddress
以下实现SVI
interfaceVlan30
ipaddress10.1.3.254255.255.255.0
linecon0
exec-timeout00
loggingsynchronous
end
PC3配置
hostnamePC3
noiprouting
interfaceFastEthernet0/0
ipaddress10.1.3.1255.255.255.0
ipdefault-gateway10.1.3.254
linecon0
exec-timeout00
loggingsynchronous
end
PC2配置
hostnamePC2
noiprouting
interfaceFastEthernet0/0
ipaddress10.1.2.1255.255.255.0
ipdefault-gateway10.1.2.254
linecon0
exec-timeout00
loggingsynchronous
lineaux0
linevty04
end
PC1配置
hostnamePC1
noiprouting
interfaceFastEthernet0/0
ipaddress10.1.1.1255.255.255.0
ipdefault-gateway10.1.1.254
linecon0
exec-timeout00
loggingsynchronous
end
SW1的vlan表,trunk信息
SW2的vlan表,trunk信息
R3的vlan表
PC1pingPC2
PC1pingPC3
PC2pingPC3
全部PC互通
PC1对SW1的远程管理
PC1对SW2的远程管理
PC2对SW1的远程管理
PC2对SW2的远程管理
PC3对SW1的远程管理
PC3对SW2的远程管理