ECS4660-28F_Management Guide-R03

Table Of Contents
C
HAPTER
49
| IP Interface Commands
IPv6 to IPv4 Tunnels
– 1698
tunnel destination This command sets the IPv4 address of a tunnel destination (or far end-
point of a tunnel). Use the no form to remove the assigned IPv4 address.
SYNTAX
tunnel destination ip-address
no tunnel destination
ip-address - IPv4 address of the device at the far end of the tunnel.
DEFAULT SETTING
None
COMMAND MODE
Interface Configuration (IPv6/v4 Tunnel)
COMMAND USAGE
This command is only applicable to the “configured” tunnel mode (see
the tunnel mode ipv6ip command).
When an IPv6 packet is transmitted over a tunnel, the tunnel end-point
address configured by this command is used as the destination address
for the encapsulating IPv4 header.
The determination of which packets to tunnel is based on information in
the routing table, which directs packets based on their destination
address using the prefix mask and match technique.
IPv6/IPv4 hosts that are connected to data links with no IPv6 routers
may use a configured tunnel to reach an IPv6 router. This tunnel
allows the host to communicate with the rest of the IPv6 Internet (i.e.,
nodes with IPv6-native addresses). If the IPv4 address of an IPv6/IPv4
router bordering the IPv6 backbone is known, this can be used as the
tunnel end-point address. This tunnel can be configured into the
routing table as an IPv6 “default route.” That is, all IPv6 destination
addresses will match the route and could potentially traverse the
tunnel. Since the “mask length” of such a default route is zero, it will be
used only if there are no other routes with a longer mask that match
the destination. Note that the default configured tunnel can also be
used in conjunction with 6to4 automatic tunneling.
The tunnel end-point address of a default tunnel could be the IPv4
address of one IPv6/IPv4 router at the border of the IPv6 backbone.
Alternatively, the tunnel end point could be an IPv4 “anycast address.
Using this approach, multiple IPv6/IPv4 routers at the border advertise
IPv4 reachability to the same IPv4 address. All of these routers accept
packets to this address as their own, and will decapsulate IPv6 packets
tunneled to this address. When an IPv6/IPv4 node sends an
encapsulated packet to this address, it will be delivered to only one of
the border routers, usually the closest one.
Care must be taken when using a default tunnel to prevent different
IPv4 fragments from arriving at different routers for reassembly. This
can be prevented by either avoiding fragmentation of the encapsulated