Chinaunix首页 | 论坛 | 博客
  • 博客访问: 18047334
  • 博文数量: 7460
  • 博客积分: 10434
  • 博客等级: 上将
  • 技术积分: 78178
  • 用 户 组: 普通用户
  • 注册时间: 2008-03-02 22:54
文章分类

全部博文(7460)

文章存档

2011年(1)

2009年(669)

2008年(6790)

分类: 系统运维

2008-05-21 10:00:40

拓扑
 _____
|  R4  |
--------
    |
    |
  __|___           _______    &nb sp;     _____         _______
|  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
 no ip address
 tunnel source Ethernet0
 tunnel destination 172.16.0.2
!
interface Ethernet0
 ip address 172.16.0.5 255.255.255.0
!
interface Serial0
 no 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
 no ip address
 tunnel source Ethernet0
 tunnel destination 172.16.0.2
!
interface Ethernet0
 ip address 172.16.0.5 255.255.255.0
!
interface Serial0
 no 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。

阅读(344) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~