R2511-HP MSR Router Series Layer 3 - IP Services Configuration Guide(V5)

219
Ste
p
Command
Remarks
5. Specify the ISATAP tunnel
mode.
tunnel-protocol ipv6-ipv4 isatap
The same tunnel mode should be
configured at both ends of the
tunnel. Otherwise, packet
delivery fails.
6. Configure a source
address or interface for the
tunnel.
source { ip-address | interface-type
interface-number }
By default, no source address or
interface is configured for the
tunnel.
7. Return to system view.
quit N/A
8. Enable dropping of IPv6
packets using
IPv4-compatible IPv6
addresses.
tunnel discard ipv4-compatible-packet
Optional.
Disabled by default.
Configuration example
Network requirements
As shown in Figure 87, configure an ISATAP tunnel between the router and the ISATAP host so the ISATAP
host in the IPv4 network can access the IPv6 network.
Figure 87 Network diagram
Configuration procedure
Make sure Ethernet 1/1 on the ISATAP router and the ISATAP host can reach each other through IPv4.
Configure the router:
# Enable IPv6.
<Router> system-view
[Router] ipv6
# Configure addresses for interfaces.
[Router] interface ethernet 1/2
[Router-Ethernet1/2] ipv6 address 3001::1/64
[Router-Ethernet1/2] quit
[Router] interface ethernet 1/1
[Router-Ethernet1/1] ip address 1.1.1.1 255.0.0.0
[Router-Ethernet1/1] quit
# Configure an ISATAP tunnel.
[Router] interface tunnel 0
[Router-Tunnel0] ipv6 address 2001::5efe:0101:0101 64
[Router-Tunnel0] source ethernet 1/1
IPv6 network
Eth1/1
1.1.1.1/8
Eth1/2
3001::1/64
ISATAP router
IPv6 host
ISATAP host
IPv4 address:2.1.1.2/32
IPv6 address:
FE80::5EFE:0201:0102
2001::5EFE:0201:0102
3002::2/64
IPv4 network
ISATAP tunnel
Router
Tunnel0
2001::5EFE:0101:0101/64