333
56 bytes from 10.1.3.1: icmp_seq=0 ttl=255 time=2.000 ms
56 bytes from 10.1.3.1: icmp_seq=1 ttl=255 time=1.000 ms
56 bytes from 10.1.3.1: icmp_seq=2 ttl=255 time=0.000 ms
56 bytes from 10.1.3.1: icmp_seq=3 ttl=255 time=1.000 ms
56 bytes from 10.1.3.1: icmp_seq=4 ttl=255 time=1.000 ms
--- Ping statistics for 10.1.3.1 ---
5 packet(s) transmitted, 5 packet(s) received, 0.0% packet loss
round-trip min/avg/max/std-dev = 0.000/1.000/2.000/0.632 ms
Configuring an IPv4 over IPv6 manual tunnel
Follow these guidelines when you configure an IPv4 over IPv6 manual tunnel:
• The tunnel destination address specified on the local device must be identical with the tunnel
source address specified on the tunnel peer device.
• Do not specify the same source and destination addresses for local tunnel interfaces in the
same tunnel mode.
• To ensure correct packet forwarding, identify whether the destination IPv4 network and the IPv4
address of the local tunnel interface are on the same subnet. If they are not, configure a route
reaching the destination IPv4 network through the tunnel interface. You can configure the route
by using one of the following methods:
{ Configure a static route, and specify the local tunnel interface as the egress interface or
specify the IPv6 address of the peer tunnel interface as the next hop.
{ Enable a dynamic routing protocol on both tunnel interfaces to achieve the same purpose.
For more information about route configuration, see Layer 3—IP Routing Configuration Guide.
To configure an IPv4 over IPv6 manual tunnel:
Step Command Remarks
1. Enter system view.
system-view
N/A
2. Enter IPv6 tunnel
interface view.
interface tunnel
number [
mode
ipv6
] N/A
3. Configure an IPv4
address for the tunnel
interface.
ip
address
ip-address { mask |
mask-length } [
sub
]
By default, no IPv4 address is
configured for the tunnel
interface.
4. Configure the source
address or interface for
the tunnel interface.
source
{ ipv6-address | interface-type
interface-number }
By default, no source address
or interface is configured for the
tunnel.
If you specify a source address,
it is used as the source IPv6
address of tunneled packets.
If you specify a source
interface, the lowest IPv6
address of this interface is used
as the source IPv6 address of
tunneled packets.