Configuring an ipv4 over ipv6 tunnel, Configuration prerequisites, Configuration procedure – H3C Technologies H3C S7500E Series Switches User Manual

Page 185

Advertising
background image

15-28

round-trip min/avg/max = 15/15/16 ms

Configuring an IPv4 over IPv6 Tunnel

Only EB cards and SD cards support the IPv4 over IPv6 Tunnel.

Configuration Prerequisites

z

Configure IP addresses for interfaces (such as the VLAN interface, and loopback interface) on the

device to ensure normal communication.

z

Specify one of the above interfaces as the source interface of the tunnel.

z

Ensure reachability between the tunnel source and destination addresses.

Configuration Procedure

Follow these steps to configure an IPv4 over IPv6 tunnel:

To do…

Use the command…

Remarks

Enter system view

system-view

Enable IPv6

ipv6

Required

By default, the IPv6 packet forwarding

function is disabled.

Enter tunnel interface view

interface tunnel number

Configure an IPv4 address

for the tunnel interface

ip address ip-address { mask |

mask-length } [ sub ]

Required

By default, no IPv4 address is configured

for the tunnel interface.

Specify the IPv4 over IPv6

tunnel mode

tunnel-protocol ipv4-ipv6

Optional

By default, the tunnel is a GRE over IPv4

tunnel. The same tunnel mode should be

configured at both ends of the tunnel.

Otherwise, packet delivery will fail.

Configure the source address

or interface for the tunnel

interface

source { ipv6-address |

interface-type interface-number }

Required

By default, no source address or

interface is configured for the tunnel.

Advertising