Configuring an ISATAP Tunnel
Context
When configuring an ISATAP tunnel, note the following points:
You must create a tunnel interface before setting tunnel parameters.
You are advised to set the tunnel number to be the same as the number of the source physical interface of the tunnel, when the specified tunnel source interface is a physical interface.
You need to configure an IPv6 address for the interface that connects a border device to the IPv6 network, and an IPv4 address for the interface that connects a border device to the IPv4 network. You also need to configure an ISATAP address with a 64-bit prefix-length as the IPv6 address of the tunnel interface to support a dynamic routing protocol.
Procedure
- Run system-view
The system view is displayed.
- Run interface tunnel interface-number
A tunnel interface is created.
- Run tunnel-protocol ipv6-ipv4 isatap
The tunnel mode is set to ISATAP.
- (Optional) Run eth-trunk trunk-id
The interface is added to the Eth-Trunk.
This step is optional for cards supporting internal loopback interfaces. For details, see (Optional) Enabling the Service Loopback Function on an Eth-Trunk.
- Run source { source-ip-address | interface-type interface-number }
A source address or source interface is specified for the tunnel.
- Run ipv6 enable
The IPv6 function is enabled on the interface.
- Run ipv6 address { ipv6-address prefix-length | ipv6-address/prefix-length } eui-64
An IPv6 address is configured for the tunnel interface.
- Run undo ipv6 nd ra halt
The device is enabled to send router advertisement (RA) packets.