Configuring an isatap tunnel – H3C Technologies H3C S12500 Series Switches User Manual
Page 181

168
[SwitchB] interface vlan-interface 100
[SwitchB-Vlan-interface100] ip address 6.1.1.1 255.255.255.0
[SwitchB-Vlan-interface100] quit
# Configure an IPv6 address for VLAN-interface 101.
[SwitchB] interface vlan-interface 101
[SwitchB-Vlan-interface101] ipv6 address 2001::1/16
[SwitchB-Vlan-interface101] quit
# Configure a 6to4 tunnel interface tunnel 0.
[SwitchB] interface tunnel 0 mode ipv6-ipv4 6to4
# Configure a 6to4 address for the tunnel interface.
[SwitchB-Tunnel0] ipv6 address 2002:0601:0101::1/64
# Specify VLAN-interface 100 as the source interface for the tunnel interface.
[SwitchB-Tunnel0] source vlan-interface 100
[SwitchB-Tunnel0] quit
# Configure a static route destined for 2002::/16 through the tunnel interface.
[SwitchB] ipv6 route-static 2002:: 16 tunnel 0
423B
Verifying the configuration
# Ping Host B from Host A or ping Host A from Host B. The ping operation succeeds.
D:\>ping6 -s 2002:201:101:1::2 2001::2
Pinging 2001::2
from 2002:201:101:1::2 with 32 bytes of data:
Reply from 2001::2: bytes=32 time=13ms
Reply from 2001::2: bytes=32 time=1ms
Reply from 2001::2: bytes=32 time=1ms
Reply from 2001::2: bytes=32 time<1ms
Ping statistics for 2001::2:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 0ms, Maximum = 13ms, Average = 3ms
156B
Configuring an ISATAP tunnel
Follow these guidelines when you configure an ISATAP tunnel:
•
You do not need to configure a destination address for an ISATAP tunnel, because the destination
IPv4 address is embedded in the ISATAP address.
•
Because automatic tunnels do not support dynamic routing, configure a static route destined for the
destination IPv6 network at each tunnel end. You can specify the local tunnel interface as the egress
interface of the route or specify the IPv6 address of the peer tunnel interface as the next hop of the
route. For the detailed configuration, see Layer 3—IP Routing Configuration Guide.
•
The automatic tunnel interfaces using the same encapsulation protocol cannot use the same source
IP address.
To configure an ISATAP tunnel:
- H3C SR8800 H3C SR6600-X H3C SR6600 H3C WX6000 Series Access Controllers H3C WX5000 Series Access Controllers H3C WX3000 Series Unified Switches H3C LSWM1WCM10 Access Controller Module H3C LSWM1WCM20 Access Controller Module H3C LSQM1WCMB0 Access Controller Module H3C LSRM1WCM2A1 Access Controller Module H3C LSBM1WCM2A0 Access Controller Module H3C S6800 Series Switches H3C S3100V2 Series Switches H3C S12500-X Series Switches H3C S9800 Series Switches