扫一扫
分享文章到微信
扫一扫
关注官方公众号
至顶头条
拓扑
_____
R4 |
--------
|
|
__|___ _______ _____ _______
R2 |--------| SW |------| R5 |------| R3 |
--------- ----------- --------- -----------
|
|
__|___
R1 |
---------
通过配置使R2 ,R5成为一个FRSW,R2与R5之间通过以太网连接,配置一条Tunnel在R2 与R5之间。
________
R4 |
------------
|
|
__|___ _____ _____
R2 |====| R5 |------| R3 |
--------- ---------- ----------
|
|
__|___
R1 |
---------
最后通过配置成为一下拓扑(逻辑拓扑)
_____
R4 |
--------
|
|
__|_____ ______
FRSW |------| R3 |
--------- ----------
|
|
__|___
R1 |
---------
R2中的配置:
interface Tunnel0
o ip address
tunnel source Ethernet0
tunnel destination 172.16.0.2
!
interface Ethernet0
p address 172.16.0.5 255.255.255.0
!
interface Serial0
o ip address
encapsulation frame-relay
frame-relay lmi-type cisco
frame-relay intf-type dce
frame-relay route 301 interface Tunnel0 100
frame-relay route 302 interface Tunnel0 101
R5的配置:
interface Tunnel0
o ip address
tunnel source Ethernet0
tunnel destination 172.16.0.2
!
interface Ethernet0
p address 172.16.0.5 255.255.255.0
!
interface Serial0
o ip address
encapsulation frame-relay
frame-relay lmi-type cisco
frame-relay intf-type dce
frame-relay route 301 interface Tunnel0 100
frame-relay route 302 interface Tunnel0 101
DLCI的分配:
R4:201------->R1 ; 203---------->R3
R3:302------->R4 ;301---------->R1
R1:103------->R3 ;102---------->R4
注意要在全局配置模式启用fr switching。
如果您非常迫切的想了解IT领域最新产品与技术信息,那么订阅至顶网技术邮件将是您的最佳途径之一。