Tunneling Foreign Protocols in IP
Problem
You want to tunnel a foreign protocol such as IPX traffic through your IP network.
Solution
One of the most important applications of tunnels is for passing foreign protocols through a network that only supports IP. A typical example of this would be IPX, although the configuration is similar for other protocols such as Appletalk:
Router1#configure terminal
Enter configuration commands, one per line. End with CNTL/Z. Router1(config)#ipx routing
Router1(config)#
AAAA.BBBB.0001
interface Tunnel
Router1(config-if)#
1
ipx network
Router1(config-if)#
AAA
tunnel source
Router1(config-if)#
172.25.1.5
tunnel destination
Router1(config-if)#
172.25.1.7
exit
Router1(config)#end
Router1#
Then on the other router you must create a tunnel interface with a matching source and destination, as well as a matching IPX network number:
Router5#configure terminal
Enter configuration commands, one per line. End with CNTL/Z. Router2(config)#ipx routing
Router5(config)#
AAAA.BBBB.0002
interface Tunnel
Router5(config-if)#
3
ipx network
Router5(config-if)#
AAA
tunnel source
Router5(config-if)#
172.25.1.7
tunnel destination
Router5(config-if)#
172.25.1.5
exit
Router5(config)#end
Router5#
Discussion
This recipe is nearly identical to Recipe 12.1, but instead of tunneling IP traffic through an IP network, we use the same kind of tunnel to pass IPX traffic through the same network. Note that of all the supported tunnel modes mentioned in Table 12.1, only the default GRE will transport ...
Get Cisco IOS Cookbook, 2nd Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.