×××還沒有寫完,還有點東西沒整理出來。之前先寫一下幀中繼,很簡單。
這篇主要寫使用PT和小凡模擬器設置幀中繼交換機(不是用命令配),然後通過一個簡單的實驗證明。
I:怎麼用PT設置幀中繼交換機?
先看一個拓撲!
中間的模擬爲幀中繼交換機
第一步:S0口
S1口
S2口
彙總幀中繼的關係
在各個路由器上的配置:
R1:
interface Loopback0
 ip address 1.1.1.1 255.255.255.0
interface Loopback0
 ip address 1.1.1.1 255.255.255.0
router rip
 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
interface Serial0/0/0
 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
R3:
interface Loopback0
 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
router rip
 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
 
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
 
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
很明顯他們是能夠通的!
II:怎麼使用小凡設置幀中繼交換機?
拓撲和上面的一樣
r1>r2、r2>r1
r1>r3、r3>r1
r2>r3、r3>r2
配置同上
下篇會寫一下用命令配置幀中繼交換機
注:很簡單適合初學者,目的在於對學習的東西做個總結!