Step
8.
Enable dropping of IPv6
packets using
IPv4-compatible IPv6
addresses.
Configuration example
Network requirements
As shown in
hosts reside in the IPv4 network.
Configure the IPv6 hosts to access the IPv6 network through the ISATAP tunnel.
Figure 89 Network diagram
Configuration procedure
Before configuring an ISATAP tunnel, make sure the corresponding VLAN interfaces have been created
on the switch, and that VLAN-interface 101 on the ISATAP switch and the ISATAP host can reach each
other.
Configure the switch:
•
# Enable IPv6.
<Switch> system-view
[Switch] ipv6
# Specify addresses for interfaces.
[Switch] interface vlan-interface 100
[Switch-Vlan-interface100] ipv6 address 3001::1/64
[Switch-Vlan-interface100] quit
[Switch] interface vlan-interface 101
[Switch-Vlan-interface101] ip address 1.1.1.1 255.0.0.0
[Switch-Vlan-interface101] quit
# Create service loopback group 1 to support the tunnel service.
[Switch] service-loopback group 1 type tunnel
# Assign Ethernet 1/0/3 to service loopback group 1, and disable STP, NDP, and LLDP on the
interface.
[Switch] interface Ethernet 1/0/3
[Switch-Ethernet1/0/3] undo stp enable
[Switch-Ethernet1/0/3] undo ndp enable
[Switch-Ethernet1/0/3] undo lldp enable
Command
tunnel discard
ipv4-compatible-packet
Figure
89, an IPv6 network is connected to an IPv4 network through an ISATAP switch. IPv6
198
Remarks
Optional.
Disabled by default.