Tunnel的具体配置

王朝other·作者佚名  2008-05-19
窄屏简体版  字體: |||超大  

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 and 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

 
 
 
免责声明:本文为网络用户发布,其观点仅代表作者个人观点,与本站无关,本站仅提供信息存储服务。文中陈述内容未经本站证实,其真实性、完整性、及时性本站不作任何保证或承诺,请读者仅作参考,并请自行核实相关内容。
 
 
© 2005- 王朝網路 版權所有 導航