Cisco模拟器PacketTracert高级应用——帧中继 推

简介:
大家好啊!这两天过得开心吗?
在前面几篇里面我已经介绍了PacketTracert的一些基础应用。今天我们来利用这个模拟器做一下帧中继的实验吧~
首先我们还是看一看今天实验的拓扑图吧:
帧中继链接详细拓扑图:
看一看在PacketTracert中我们是如何配置帧中继服务的吧:
接下来看看路由器是如何配置的:
路由器R1的配置:
R1#sh run
Building configuration...
Current configuration : 908 bytes
!
version 12.3
no service password-encryption
!
hostname R1
!
!
!
!
interface FastEthernet0/0
 ip address 192.168.20.254 255.255.255.0

 duplex auto
 speed auto
!
interface FastEthernet0/1
 no ip address
 duplex auto
 speed auto
 shutdown
!
interface Serial0/0/0
 no ip address
 encapsulation frame-relay ietf
!
interface Serial0/0/0.12 point-to-point
 ip address 192.168.3.1 255.255.255.0
 frame-relay interface-dlci 102
!
interface Serial0/0/0.13 point-to-point
 ip address 192.168.1.1 255.255.255.0
 frame-relay interface-dlci 103

!
interface Vlan1
 no ip address
 shutdown
!
router eigrp 100
 network 192.168.20.0
 network 192.168.1.0
 network 192.168.3.0
 auto-summary
!

ip classless
!
!
ip dhcp excluded-address 192.168.20.200 192.168.20.254
!
ip dhcp pool 51cto.com
 network 192.168.20.0 255.255.255.0
 default-router 192.168.20.254
 dns-server 192.168.20.251
!

line con 0
line vty 0 4
 login
!
!
end

路由器R2的配置:
R2#sh run
Building configuration...
Current configuration : 908 bytes
!
version 12.3
no service password-encryption
!
hostname R2
!
!
!
!
interface FastEthernet0/0
 ip address 192.168.40.254 255.255.255.0

 duplex auto
 speed auto
!
interface FastEthernet0/1
 no ip address
 duplex auto
 speed auto
 shutdown
!
interface Serial0/0/0
 no ip address
 encapsulation frame-relay ietf
!
interface Serial0/0/0.21 point-to-point
 ip address 192.168.3.2 255.255.255.0
 frame-relay interface-dlci 201
!
interface Serial0/0/0.23 point-to-point
 ip address 192.168.4.1 255.255.255.0
 frame-relay interface-dlci 203
!

interface Vlan1
 no ip address
 shutdown
!
router eigrp 100
 network 192.168.3.0
 network 192.168.4.0
 network 192.168.40.0
 auto-summary
!

ip classless
!
!
ip dhcp excluded-address 192.168.40.200 192.168.40.254
!
ip dhcp pool 51cto.com
 network 192.168.40.0 255.255.255.0
 default-router 192.168.40.254
 dns-server 192.168.20.251

!
line con 0
line vty 0 4
 login
!
!
end
路由器R3的配置:
R3#sh run
Building configuration...
Current configuration : 908 bytes
!
version 12.3
no service password-encryption
!
hostname R3
!
!
!
!
interface FastEthernet0/0
 ip address 192.168.30.254 255.255.255.0

 duplex auto
 speed auto
!
interface FastEthernet0/1
 no ip address
 duplex auto
 speed auto
 shutdown
!
interface Serial0/0/0
 no ip address
 encapsulation frame-relay ietf
!
interface Serial0/0/0.31 point-to-point
 ip address 192.168.1.2 255.255.255.0
 frame-relay interface-dlci 301
!
interface Serial0/0/0.32 point-to-point
 ip address 192.168.4.2 255.255.255.0
 frame-relay interface-dlci 302

!
interface Vlan1
 no ip address
 shutdown
!
router eigrp 100
 network 192.168.30.0
 network 192.168.4.0
 network 192.168.1.0
 auto-summary

!
ip classless
!
!
ip dhcp excluded-address 192.168.30.200 192.168.30.254
!
ip dhcp pool 51cto.com
 network 192.168.30.0 255.255.255.0
 default-router 192.168.30.254
 dns-server 192.168.20.251
!

line con 0
line vty 0 4
 login
!
!
end
路由器的配置就算是完成了。
在前面几篇文章中我介绍了PacketTracert中服务器的设置,再此不再赘述,在该实验中DNS服务器IP为:192.168.20.251;WEB服务器的IP地址为:192.168.20.253([url]www.51cto.com[/url])。
下面看看路由表吧:
R1:
R1#SH IP ROUTE
Codes: 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
       E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP
       i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter area
       * - candidate default, U - per-user static route, o - ODR
       P - periodic downloaded static route
Gateway of last resort is not set
C    192.168.1.0/24 is directly connected, Serial0/0/0.13
C    192.168.3.0/24 is directly connected, Serial0/0/0.12
D    192.168.4.0/24 [90/2681856] via 192.168.3.2, 01:01:01, Serial0/0/0.12
                    [90/2681856] via 192.168.1.2, 01:00:36, Serial0/0/0.13
C    192.168.20.0/24 is directly connected, FastEthernet0/0
D    192.168.30.0/24 [90/2172416] via 192.168.1.2, 01:00:36, Serial0/0/0.13
D    192.168.40.0/24 [90/2172416] via 192.168.3.2, 01:00:58, Serial0/0/0.12
 
R2:
R2#SH IP ROUTE
Codes: 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
       E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP
       i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter area
       * - candidate default, U - per-user static route, o - ODR
       P - periodic downloaded static route
Gateway of last resort is not set
D    192.168.1.0/24 [90/2681856] via 192.168.3.1, 01:01:37, Serial0/0/0.21
                    [90/2681856] via 192.168.4.2, 01:01:15, Serial0/0/0.23
C    192.168.3.0/24 is directly connected, Serial0/0/0.21
C    192.168.4.0/24 is directly connected, Serial0/0/0.23
D    192.168.20.0/24 [90/2172416] via 192.168.3.1, 01:01:37, Serial0/0/0.21
D    192.168.30.0/24 [90/2172416] via 192.168.4.2, 01:01:17, Serial0/0/0.23
C    192.168.40.0/24 is directly connected, FastEthernet0/0
 
R3:
R3#
R3#SH IP ROUTE
Codes: 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
       E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP
       i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter area
       * - candidate default, U - per-user static route, o - ODR
       P - periodic downloaded static route
Gateway of last resort is not set
C    192.168.1.0/24 is directly connected, Serial0/0/0.31
D    192.168.3.0/24 [90/2681856] via 192.168.4.1, 01:02:15, Serial0/0/0.32
                    [90/2681856] via 192.168.1.1, 01:02:08, Serial0/0/0.31
C    192.168.4.0/24 is directly connected, Serial0/0/0.32
D    192.168.20.0/24 [90/2172416] via 192.168.1.1, 01:02:08, Serial0/0/0.31
C    192.168.30.0/24 is directly connected, FastEthernet0/0
D    192.168.40.0/24 [90/2172416] via 192.168.4.1, 01:02:15, Serial0/0/0.32
通过对路由表的观察我们知道网络已经联通了~
最后我们就在这个模拟器中小小应用一把吧:用PC0访问[url]www.51cto.com[/url](192.168.1.253)。
好了,帧中继在PacketTracert中的实验今天就介绍到这里吧~大家一块探索!
希望大家开心!
 




本文转自 tiger506 51CTO博客,原文链接:http://blog.51cto.com/tiger506/85551,如需转载请自行联系原作者

目录
相关文章
|
9月前
|
数据安全/隐私保护
思科模拟器Cisco Packet Tracer 8.2.1注册、下载和安装教程(正确+详细)
本文详细总结了思科模拟器Cisco Packet Tracer 8.2.1注册、下载和安装教程(正确+详细),看这一篇就够啦~
25706 5
思科模拟器Cisco Packet Tracer 8.2.1注册、下载和安装教程(正确+详细)
|
机器学习/深度学习 算法 索引
LSTM(长短期记忆网络)原理介绍
LSTM算法是一种重要的目前使用最多的时间序列算法,是一种特殊的RNN(Recurrent Neural Network,循环神经网络),能够学习长期的依赖关系。主要是为了解决长序列训练过程中的梯度消失和梯度爆炸问题。简单来说,就是相比普通的RNN,LSTM能够在更长的序列中有更好的表现。
7556 0
LSTM(长短期记忆网络)原理介绍
|
Web App开发
Web QQ自动强制加好友代码
也许见过强行聊天的代码:  tencent://Message/?Uin=574201314&websiteName=www.oicqzone.com&Menu=yes   但是你应该不知道,还有强行加好友的代码: tencent://AddContact/?fromId=45&f...
6105 0
|
7月前
|
安全 测试技术 网络安全
Cobalt Strike 4.10 for Windows - 对手模拟和红队行动
Cobalt Strike 4.10 for Windows - 对手模拟和红队行动
389 11
Cobalt Strike 4.10 for Windows - 对手模拟和红队行动
|
监控 数据可视化 iOS开发
这几款Wifi分析工具,请低调收藏!
这几款Wifi分析工具,请低调收藏!
695 1
|
JavaScript
TypeScript——Record类型
TypeScript——Record类型
172 0
|
Android开发
Android Studio(2022.3.1)设置阿里云源-新旧版本
Android Studio(2022.3.1)设置阿里云源-新旧版本
2469 1
【Python 基础】如何将一个字符串转化为全大写和全小写?
【5月更文挑战第8天】【Python 基础】如何将一个字符串转化为全大写和全小写?
|
人工智能 安全 云计算
阿里云服务器购买之后发票如何申请?申请发票流程及常见问题参考
申请发票是很多用户尤其是企业级用户在购买完阿里云服务器之后非常关注的问题,对于初次购买阿里云服务器的用户来说,往往并不清楚如何找阿里云申请发票,本文以图文形式为大家介绍阿里云服务器购买完成之后申请发票的详细流程以及常见问题。
阿里云服务器购买之后发票如何申请?申请发票流程及常见问题参考
|
存储 芯片
Rockchip 自定义vendorstorages数据再u-boot通过cmdline给kernel传递数据
Rockchip 自定义vendorstorages数据再u-boot通过cmdline给kernel传递数据
924 1