Configuring Ip Tunnels To Forward Ip Frames - Juniper JUNOSE SOFTWARE FOR E SERIES 11.3.X - IP SERVICES CONFIGURATION GUIDE 2010-10-01 Configuration Manual

Software for e series broadband services routers ip services configuration guide
Table of Contents

Advertisement

Configuring IP Tunnels to Forward IP Frames

Copyright © 2010, Juniper Networks, Inc.
Configure a virtual router called chicago that supports the other end of the tunnel.
4.
host1(config)#virtual-router chicago
Configure a physical or loopback interface for the end of the tunnel on virtual router
5.
chicago.
host1:chicago(config)#interface atm 12/1.5
host1:chicago(config-if)#ip address 10.6.6.6 255.255.255.0
Configure the tunnel interface on virtual router chicago.
6.
a. Create the tunnel interface.
The name of the tunnel interface can differ from the tunnel interface configured
in Step 3.
host1:chicago(config-if)#interface tunnel gre:BostonTunnel
b. Configure the source and destination points of the tunnel interface.
The destination of this tunnel interface matches the source of the tunnel interface
configured in Step 3 and vice versa.
host1:chicago(config-if)#tunnel source 10.6.6.6
host1:chicago(config-if)#tunnel destination 10.5.5.5
c. Set the MTU for the tunnel.
The MTU must match the MTU configured in Step 3.
host1:chicago(config-if)#tunnel mtu 8000
d. Configure the IP address of the tunnel interface.
host1:chicago(config-if)#ip address 10.9.9.9 255.255.255.0
When a line module receives IP frames destined for a tunnel, the module forwards the
frames to a tunnel-service module. Tunnel-service modules include SMs and modules
that support the use of shared tunnel-server ports.
The tunnel-service module encapsulates the frames and forwards them to the tunnel
through an interface determined by a route lookup of an IP frame. The source and
destination addresses in the IP frame are the source and destination addresses of the
tunnel.
Similarly, when a line module receives traffic from a tunnel, the module forwards the
traffic to the tunnel-service module for deencapsulation. After deencapsulation, the
tunnel-service module forwards the resulting IP frames to an interface determined by a
route lookup.
When you have configured a tunnel interface, treat it in the same way as any IP interface
on the router. For example, you can configure static IP routes or enable routing protocols
on the tunnel interface. The IP configurations you apply to the tunnels control how traffic
travels through the network.
Chapter 9: Configuring IP Tunnels
243

Advertisement

Table of Contents
loading

This manual is also suitable for:

Junose 11.3

Table of Contents