×××还没有写完,还有点东西没整理出来。之前先写一下帧中继,很简单。
这篇主要写使用PT和小凡模拟器设置帧中继交换机(不是用命令配),然后通过一个简单的实验证明。
I:怎么用PT设置帧中继交换机?
先看一个拓扑!
![](https://i-blog.csdnimg.cn/blog_migrate/ecf5ed82c56b071458ac711e0b337759.jpeg)
中间的模拟为帧中继交换机
第一步:S0口
![](https://i-blog.csdnimg.cn/blog_migrate/bef1fc60802b70ef489a43769c5d24b1.jpeg)
S1口
![](https://i-blog.csdnimg.cn/blog_migrate/fbfbfbec55f2bd25e69af3db82cc7a1b.jpeg)
S2口
![](https://i-blog.csdnimg.cn/blog_migrate/b0943b4ea8ef17b5dd9d6c849d552b0e.jpeg)
汇总帧中继的关系
![](https://i-blog.csdnimg.cn/blog_migrate/96ea694c67a022a2dbbc8fd8adf95a6c.jpeg)
在各个路由器上的配置:
R1:
interface Loopback0
ip address 1.1.1.1 255.255.255.0
ip address 1.1.1.1 255.255.255.0
interface Loopback0
ip address 1.1.1.1 255.255.255.0
ip address 1.1.1.1 255.255.255.0
router rip
version 2
network 1.0.0.0
network 10.0.0.0
version 2
network 1.0.0.0
network 10.0.0.0
R2:
interface Loopback0
ip address 2.2.2.2 255.255.255.0
ip address 2.2.2.2 255.255.255.0
interface Serial0/0/0
ip address 10.0.0.2 255.255.255.0
encapsulation frame-relay
ip address 10.0.0.2 255.255.255.0
encapsulation frame-relay
router rip
version 2
network 2.0.0.0
network 10.0.0.0
version 2
network 2.0.0.0
network 10.0.0.0
R3:
interface Loopback0
ip address 3.3.3.3 255.255.255.0
ip address 3.3.3.3 255.255.255.0
interface Serial0/0/0
ip address 10.0.0.3 255.255.255.0
encapsulation frame-relay
ip address 10.0.0.3 255.255.255.0
encapsulation frame-relay
router rip
version 2
network 3.0.0.0
network 10.0.0.0
!
version 2
network 3.0.0.0
network 10.0.0.0
!
测试:
查看各路由表
R1: 1.0.0.0/24 is subnetted, 1 subnets
C 1.1.1.0 is directly connected, Loopback0
R 2.0.0.0/8 [120/1] via 10.0.0.2, 00:00:10, Serial0/0/0
R 3.0.0.0/8 [120/1] via 10.0.0.3, 00:00:10, Serial0/0/0
10.0.0.0/24 is subnetted, 1 subnets
C 10.0.0.0 is directly connected, Serial0/0/0
C 1.1.1.0 is directly connected, Loopback0
R 2.0.0.0/8 [120/1] via 10.0.0.2, 00:00:10, Serial0/0/0
R 3.0.0.0/8 [120/1] via 10.0.0.3, 00:00:10, Serial0/0/0
10.0.0.0/24 is subnetted, 1 subnets
C 10.0.0.0 is directly connected, Serial0/0/0
R2:R 1.0.0.0/8 [120/1] via 10.0.0.1, 00:00:08, Serial0/0/0
2.0.0.0/24 is subnetted, 1 subnets
C 2.2.2.0 is directly connected, Loopback0
R 3.0.0.0/8 [120/1] via 10.0.0.3, 00:00:08, Serial0/0/0
10.0.0.0/24 is subnetted, 1 subnets
C 10.0.0.0 is directly connected, Serial0/0/0
2.0.0.0/24 is subnetted, 1 subnets
C 2.2.2.0 is directly connected, Loopback0
R 3.0.0.0/8 [120/1] via 10.0.0.3, 00:00:08, Serial0/0/0
10.0.0.0/24 is subnetted, 1 subnets
C 10.0.0.0 is directly connected, Serial0/0/0
R3:R 1.0.0.0/8 [120/1] via 10.0.0.1, 00:00:02, Serial0/0/0
R 2.0.0.0/8 [120/1] via 10.0.0.2, 00:00:25, Serial0/0/0
3.0.0.0/24 is subnetted, 1 subnets
C 3.3.3.0 is directly connected, Loopback0
10.0.0.0/24 is subnetted, 1 subnets
C 10.0.0.0 is directly connected, Serial0/0/0
R 2.0.0.0/8 [120/1] via 10.0.0.2, 00:00:25, Serial0/0/0
3.0.0.0/24 is subnetted, 1 subnets
C 3.3.3.0 is directly connected, Loopback0
10.0.0.0/24 is subnetted, 1 subnets
C 10.0.0.0 is directly connected, Serial0/0/0
很明显他们是能够通的!
II:怎么使用小凡设置帧中继交换机?
拓扑和上面的一样
r1>r2、r2>r1
![](https://i-blog.csdnimg.cn/blog_migrate/a3003e03125c88c82e4ab6c8e4690df9.jpeg)
r1>r3、r3>r1
![](https://i-blog.csdnimg.cn/blog_migrate/e0ecceac33038ff2e44b97bd97541e3d.jpeg)
r2>r3、r3>r2
![](https://i-blog.csdnimg.cn/blog_migrate/38421bc80e388d82e2bcad6f352f0d20.jpeg)
配置同上
下篇会写一下用命令配置帧中继交换机
注:很简单适合初学者,目的在于对学习的东西做个总结!
转载于:https://blog.51cto.com/liningxiao/238417