5.
Configure a physical or loopback interface for the end of the tunnel on virtual router
chicago.
host1:chicago(config)#
interface atm 12/1.5
host1:chicago(config-if)#
ip address 10.6.6.6 255.255.255.0
6.
Configure the tunnel interface on virtual router chicago.
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
Configuring IP Tunnels to Forward IP Frames
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.
Preventing Recursive Tunnels
If routing information about the tunnel network combines with routing information about
the transport networks (the networks that the tunnel services), a
recursive
tunnel can
243
Copyright © 2010, Juniper Networks, Inc.
Chapter 9: Configuring IP Tunnels
Summary of Contents for JUNOSE 11.2.X IP SERVICES
Page 6: ...Copyright 2010 Juniper Networks Inc vi...
Page 8: ...Copyright 2010 Juniper Networks Inc viii JunosE 11 2 x IP Services Configuration Guide...
Page 18: ...Copyright 2010 Juniper Networks Inc xviii JunosE 11 2 x IP Services Configuration Guide...
Page 22: ...Copyright 2010 Juniper Networks Inc xxii JunosE 11 2 x IP Services Configuration Guide...
Page 28: ...Copyright 2010 Juniper Networks Inc 2 JunosE 11 2 x IP Services Configuration Guide...
Page 116: ...Copyright 2010 Juniper Networks Inc 90 JunosE 11 2 x IP Services Configuration Guide...
Page 144: ...Copyright 2010 Juniper Networks Inc 118 JunosE 11 2 x IP Services Configuration Guide...
Page 230: ...Copyright 2010 Juniper Networks Inc 204 JunosE 11 2 x IP Services Configuration Guide...
Page 262: ...Copyright 2010 Juniper Networks Inc 236 JunosE 11 2 x IP Services Configuration Guide...
Page 294: ...Copyright 2010 Juniper Networks Inc 268 JunosE 11 2 x IP Services Configuration Guide...
Page 328: ...Copyright 2010 Juniper Networks Inc 302 JunosE 11 2 x IP Services Configuration Guide...
Page 345: ...PART 2 Index Index on page 321 319 Copyright 2010 Juniper Networks Inc...
Page 346: ...Copyright 2010 Juniper Networks Inc 320 JunosE 11 2 x IP Services Configuration Guide...
Page 356: ...Copyright 2010 Juniper Networks Inc 330 JunosE 11 2 x IP Services Configuration Guide...