物理拓樸如圖:
邏輯拓樸為
R1-->R2 使用102電路
R1-->R3 使用103電路
R2--> R1使用 201電路
R3-->R1使用301電路
1. 使用一台路由器模擬frame-relay交換機
inter s0/0 no ip add encap fram-relay frame-relay intf-type dce frame-relay route 102 interface s0/1 201 frame-relay route 103 interface s0/2 301 ! inter s0/1 no ip add encap fram-relay frame-relay intf-type dce frame-relay route 201 interface s0/0 102 ! inter s0/2 no ip add encap fram-relay frame-relay intf-type dce frame-relay route 301 interface s0/0 103
2. 路由器的介面設定
R1# interface s1/0 no shutdown ip add 172.12.123.1 255.255.255.0 encapsulation frame-relay !點對點至R3 frame-relay map ip 172.12.123.3 103 broadcast !點對點至R2 frame-relay map ip 172.12.123.2 102 broadcast no frame-relay inverse-arp R2# interface s1/0 no shutdown ip add 172.12.123.2 255.255.255.0 encapsulation frame-relay !點對點至R1 frame-relay map ip 172.12.123.1 201 broadcast no frame-relay inverse-arp R3# interface s1/0 no shutdown ip add 172.12.123.3 255.255.255.0 encapsulation frame-relay !點對點至R1 frame-relay map ip 172.12.123.1 301 broadcast no frame-relay inverse-arp
如此就完成一組最簡單的frame-relay交換網路。