beautypg.com

Verifying the configuration, Configuring an ipv4 over ipv4 tunnel – H3C Technologies H3C S5560 Series Switches User Manual

Page 237

background image

222

3.

On the IPv6 host, configure a route to the ISATAP switch.

C:\>netsh interface ipv6 set route 2001::/64 5 3001::1

Verifying the configuration

# Verify that the ISATAP host can ping the IPv6 host.

C:\>ping 3001::2

Pinging 3001::2 with 32 bytes of data:

Reply from 3001::2: time=1ms

Reply from 3001::2: time=1ms

Reply from 3001::2: time=1ms

Reply from 3001::2: time=1ms

Ping statistics for 3001::2:

Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),

Approximate round trip times in milli-seconds:

Minimum = 1ms, Maximum = 1ms, Average = 1ms

Configuring an IPv4 over IPv4 tunnel

Follow these guidelines when you configure an IPv4 over IPv4 tunnel:

The destination address specified for the local tunnel interface must be the source address specified
for the peer tunnel interface.

The source/destination addresses of local tunnels of the same tunnel mode cannot be the same.

The IPv4 address of the local tunnel interface cannot be on the same subnet as the destination
address configured on the tunnel interface.

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 IPv4 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.

The destination address of the route passing the tunnel interface must not be on the same subnet as
the destination address configured on the tunnel interface.

To configure an IPv4 over IPv4 tunnel:

Step Command

Remarks

1.

Enter system view.

system-view

N/A

2.

Enter IPv4 over IPv4 tunnel

interface view.

interface tunnel number [ mode
ipv4-ipv4 ]

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.

This manual is related to the following products: