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

全部博文(7460)

文章存档

2011年(1)

2009年(669)

2008年(6790)

分类: 系统运维

2008-05-20 17:26:22

GRE Tunnel

The second procedure is to set up the GRE tunnel and route IPX through it to the Cisco 1600. This procedure involves creating the tunnel interface on both routers. The Ethernet 0 of the Cisco 1600 a nd the Ethernet 1/1 of the Cisco 7206 are the endpoints of the tunnel. It will be a simple IP GRE tunnel.

1. Configure the tunnel interface of the Cisco 7206:

central7206#conf t

Enter configuration commands, one per line. End with CNTL/Z.

central7206(config)#interface tunnel 0

central7206(config-if)#tunnel source e 1/1

central7206(config-if)#tunnel destination 192.168.113.2

central7206(config-if)#

%LINEPROTO-5-UPDOWN: Line protocol on Interface Tunnel0, changed state to up

2. Configure the tunnel interface of the Cisco 1600:

home1600#conf t

Enter configuration commands, one per line. End with CNTL/Z.

home1600(config)#interface tunnel 0

home1600(config-if)#tunnel source Ethernet 0

home1600(config-if)#tunnel destination 192.168.114.2

home1600(config-if)#

%LINEPROTO-5-UPDOWN: Line protocol on Interface Tunnel0, changed state to up

IPX through GRE

1. Enable IPX routing on the Cisco 1600:

home1600(config)#ipx routing

home1600(config)ipx router rip

home1600(config-ipx-router)#network 1681130

home1600(config-ipx-router)#network 1681131

2. Turn on the IPX networks on its Ethernet and tunnel interfaces:

home1600(config)#interface ethernet 0

home1600(config-if)#ipx network 1681130

home1600(config-if)#interface tunnel 0

home1600(config-if)#ipx network 1681131

3. Turn on IPX network 1681131 on the tunnel interface of the Cisco 7206:

central7206(config)#interface tunnel 0

central7206(config-if)#ipx network 1681131

4. Turn on IPX Routing Information Protocol (RIP) on the Cisco 7206, and enable route redistribution:

central7206(config)#ipx router rip

central7206(config-ipx-route)#redistribute eigrp 2

central7206(config-ipx-route)#network 1681131

central7206(config-ipx-route)#ipx router eigrp 2

central7206(config-ipx-route)#redistribute rip

阅读(335) | 评论(0) | 转发(0) |
0

上一篇:transparent bridge

下一篇:3640远程接入

给主人留下些什么吧!~~