This document describes how to use the IP tunneling. It includes the following sections:
Bridging IP Tunnel
Encapsulation and OSPF
Tunneling and Multicast Packets
IP Tunnel Commands
Bridging IP Tunnel
Bridging IP tunnel is another feature of the ASRT bridging software. With the bridging tunnel feature enabled, the software encapsulates packets in TCP/IP packets. To the router, the packet looks like a TCP/IP packet. Once a frame is encapsulated in an IP envelope, the IP forwarder is responsible for selecting the appropriate network interface based on the destination IP address. This packet can be routed dynamically through large internetworks without degradation or network size restrictions.
The IP tunnel appears to the bridge as one of the bridge ports using IP as a means of input/output device. On the tunnel bridge port you can configure STB, SRB or SRT bridge behavior.
In SRB configuration, IP tunnel helps overcome the usual 7-hop distance limit encountered in source routing configurations. It also lets you connect source- routing end stations across non-source-routing media, such as Ethernet networks.
The bridging tunnel also reduces the large amounts of overhead that source routing causes in wide area networks (WANs)
Finally, it reduces source-routing's sensitivity to WAN faults and failures (if a path fails, all systems must restart their transmissions)
End stations see this path or tunnel, as a single hop, regardless of the complexity of the internetwork. Figure 1 shows an example of an IP internetwork using the tunnel feature in its configuration.
Figure 1 End Stations See Routing Across Complex IP Internet as One Hop

Encapsulation and OSPF
A major benefit of the encapsulation feature is the addition of the OSPF dynamic routing protocol to the routing process. OSPF offers the following benefits when used with encapsulation:
Least-cost Routing. OSPF accesses the fastest path (tunnel) with the fewest delays, allowing network administrators to distribute traffic over the least expensive route.
Dynamic Routing. OSPF looks for the least-cost path, detects failures, and reroutes traffic with low overhead.
The source is one of the LAN segment addresses.
The source is the internal IP address.
Tunnel(#)config> prompt. To get this prompt, enter tunnel at the Bridge Config> or Bridge> prompt. Table 1 lists the tunnel commands.
Not all parameters apply to all router platforms. Press Space twice after you type a command to display the available parameters for each command for your router. Enter help for information about using the command line interface.
[C] means the command is available at the Tunnel(#)config> prompt.
[M] means the command is available at the Tunnel(#)> prompt.
Add [C]
Adds the IP address of endstations participating in a unicast or multicast IP addressing configuration.
For IP unicast addressing, the tunneling configuration requires you to supply IP addresses of destination bridges. The router software uses this record to convert the segment number in the RIF (Routing Information Field) in a source-routed frame to the corresponding IP address of the destination bridge. For transparent bridging frames, the record identifies the other end point of the tunnel.
For IP multicast addressing, the tunneling configuration requires only the IP multicast address reserved for tunneling. Encapsulation uses three groups of IP multicast addresses. The first group is for sending ARE frames, the second group for sending STE frames, and the third group for SRF.Note:
The bridging software transparently differentiates between unicast and multicast addresses.
add address 128.185.144.37
delete address 128.185.144.37
exit
join server-group 7
join client-group 3
join peer-group 5
leave server-group 7
leave client-group 3
leave peer-group 5
list address
IP Tunnel Addresses
128.185.179.51 128.185.170.51 128.185.142.39 128.185.143.39 224.0.0.5
list all
IP Tunnel Addresses
128.185.179.51 128.185.170.51 128.185.142.39
128.185.143.39 224.0.0.5
Frame size for the tunnel 2120
Frame size for the tunnel 2120
list tunnel bridges
SR segment IP address
set base-multicast-address 224.10.0.0