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 terminalEnter configuration commands, one per line. End with CNTL/Z. Router1(config)#ipx routingRouter1(config)#AAAA.BBBB.0001interface TunnelRouter1(config-if)#1ipx networkRouter1(config-if)#AAAtunnel sourceRouter1(config-if)#172.25.1.5tunnel destinationRouter1(config-if)#172.25.1.7exitRouter1(config)#endRouter1#
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 terminalEnter configuration commands, one per line. End with CNTL/Z. Router2(config)#ipx routingRouter5(config)#AAAA.BBBB.0002interface TunnelRouter5(config-if)#3ipx networkRouter5(config-if)#AAAtunnel sourceRouter5(config-if)#172.25.1.7tunnel destinationRouter5(config-if)#172.25.1.5exitRouter5(config)#endRouter5#
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 ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access