当前位置:首页 > 计算机网络技术实习报告 - 图文
2009年网络技术实习报告
交换机S3550-24: S3550#configure terminal S3550(config)# int vlan 10
S3550(config-if)#ip address 172.16.1.254 255.255.255.0 S3550(config-if)#no shutdown S3550(config-if)#exit S3550(config)# int vlan 20
S3550(config-if)#ip address 172.16.2.254 255.255.255.0 S3550(config-if)#no shutdown S3550(config-if)#exit S3550#configure terminal S3550(config)# vlan 10 S3550(config-vlan)# name test10 S3550(config)# vlan 20 S3550(config-vlan)# name test20
S3550(config-if)# interface fastethernet 0/7 S3550(config-if)# switch access vlan 10 S3550(config-if)# interface fastethernet 0/15 S3550(config-if)# switch access vlan 20 S3550(config-if)# interface fastethernet 0/23
- 8 -
2009年网络技术实习报告
S3550(config-if)# switchport mode trunk S3550(config-if)#exit
S3550(config)#interface fastethernet 0/23 S3550(config-if)#no switchport
S3550(config-if)#ip address 192.168.20.11 255.255.255.0 S3550(config)#ip routing S3550(config)#router rip
S3550(config-router)#network 172.16.0.0 S3550(config-router)#network 192.168.20.0 S3550(config-router)#end 对两台交换机配置进行查看: S2126-2#show ip interface brief
Interface IP-Address OK? Method Status Protocol FastEthernet0/7 unassigned YES manual up up FastEthernet0/15 unassigned YES manual up up FastEthernet0/24 unassigned YES manual up up Vlan1 unassigned YES manual administratively down down S3550#show ip interface brief
Interface IP-Address OK? Method Status Protocol FastEthernet0/7 unassigned YES manual up up
- 9 -
2009年网络技术实习报告
FastEthernet0/15 unassigned YES manual up up FastEthernet0/24 unassigned YES manual up up Vlan1 unassigned YES manual administratively down down 通过pc进行验证是否ping通: 采用四台pc,拓扑如下图:
分别将四台pc进行如下设置:
主机号 Ip 子网掩码 默认网关 1 172.16.1.10 255.255.0.0 172.16.1.254 2 172.16.2.10 255.255.0.0 172.16.2.254 3 172.16.1.20 255.255.0.0 172.16.1.254 4 172.16.2.20 255.255.0.0 172.16.2.254 彼此pc运行ping命令(部分截图):
- 10 -
2009年网络技术实习报告
2、路由和路由器
2.1、什么是路由:
路由是把信息从源穿过网络传递到目的地的行为,在链路上,至少遇到一个中间节点。
路由通常与桥接来对比。它们的主要区别在于桥接发生在OSI参考协议的第二层(链接层),而路由发生在第三层(网络层)。这一区别使二者在传递信息的过程中使用不同的信息,从而以不同的方式来完成其任务。
2.2路由的组成:
路由包含两个基本的动作:确定最佳路径和通过网络传输信息。在路由的过程中,后者也称为(数据)交换。
- 11 -
共分享92篇相关文档