321
# Verify that Router B and Router A can ping the IPv6 address of GigabitEthernet 2/0/1 of each other.
This example uses Router A.
[RouterA] ping ipv6 3003::1
Ping6(56 data bytes) 3001::1 --> 3003::1, press CTRL C to break
56 bytes from 3003::1, icmp_seq=0 hlim=64 time=45.000 ms
56 bytes from 3003::1, icmp_seq=1 hlim=64 time=10.000 ms
56 bytes from 3003::1, icmp_seq=2 hlim=64 time=4.000 ms
56 bytes from 3003::1, icmp_seq=3 hlim=64 time=10.000 ms
56 bytes from 3003::1, icmp_seq=4 hlim=64 time=11.000 ms
--- Ping6 statistics for 3003::1 ---
5 packet(s) transmitted, 5 packet(s) received, 0.0% packet loss
round-trip min/avg/max/std-dev = 4.000/16.000/45.000/14.711 ms
Configuring an automatic IPv4-compatible IPv6
tunnel
Follow these guidelines when you configure an automatic IPv4-compatible IPv6 tunnel:
• You do not need to configure a destination address for an automatic IPv4-compatible IPv6
tunnel. The destination address of the tunnel is embedded in the destination IPv4-compatible
IPv6 address.
• Do not specify the same source addresses for local tunnel interfaces in the same tunnel mode.
To configure an automatic IPv4-compatible IPv6 tunnel:
Step Command Remarks
1. Enter system view.
system-view
N/A
2. Enter automatic
IPv4-compatible IPv6 tunnel
interface view.
interface tunnel
number [
mode
ipv6-ipv4 auto-tunnel
]
N/A
3. Specify an IPv6 address for
the tunnel interface.
See "Configuring basic IPv6
settings."
By default, no IPv6 address is
configured for the tunnel interface.
4. Configure a source address
or source interface for the
tunnel interface.
source
{ ipv4-address |
interface-type interface-number }
By default, no source address or
source interface is configured for
the tunnel interface.
If you specify a source address, it
is used as the source IP address
of tunneled packets.
If you specify a source interface,
the primary IP address of this
interface is used as the source IP
address of tunneled packets.
5. (Optional.) Set the DF bit for
tunneled packets.
tunnel dfbit enable
By default, the DF bit is not set for
tunneled packets.
6. Return to system view.
quit
N/A