3Com Switch 8800 Advanced Software V5 Configuration Guide

396 CHAPTER 33: TUNNELING CONFIGURATION
n
CAUTION:
If the tunnel interface addresses at the two ends of a tunnel are not in the
same network segment, a forwarding route through the tunnel to the peer
must be configured so that the encapsulated packet can be forwarded. You
can configure static or dynamic routes. A forwarding route needs to be
configured at both ends of the tunnel. For the detailed configuration, refer to
“IP Routing and Routing Table” on page 187.
Two or more tunnel interfaces using the same encapsulation protocol must
have different source and destination addresses.
If the tunnel interface is the source interface, the tunnel source address is the
primary IP address of the source interface.
IPv4 over IPv4 tunnels do not support expedite termination.
Configuration Example Network requirements
The two subnets Group 1 and Group 2 running IPv4 are interconnected via an IPv4
over IPv4 tunnel between Switch A and Switch B.
Configure an IPv4 address for
the tunnel interface
ip address ip-address { mask |
mask-length } [ sub ]
Required
By default, no IPv4 address is
configured for the tunnel
interface.
Set the tunnel to an IPv4 over
IPv4 tunnel
tunnel-protocol ipv4-ipv4 Optional
By default, the tunnel is a GRE
tunnel. The same tunnel type
should be configured at both
ends of the tunnel. Otherwise,
packet delivery will fail.
Configure a source address or
source interface for the tunnel
source { ip-address |
ipv6-address | interface-type
interface-number }
Required
By default, no source address
or interface is configured for
the tunnel.
Configure a destination
address for the tunnel
destination ip-address Required
By default, no destination
address is configured for the
tunnel.
Configure a link aggregation
group ID to be referenced by
the tunnel interface
aggregation-group
aggregation-group-id
Required
Configure the tunnel interface
MTU
mtu mtu-size Optional
To do... Use the command... Remarks