Configuration example, Network requirements, Configuration procedure – H3C Technologies H3C S7500E Series Switches User Manual

Page 178

Advertising
background image

15-21

Configuration Example

Network requirements

As shown in

Figure 15-10

, an IPv6 network is connected to an IPv4 network through an ISATAP switch.

The destination address of the tunnel is an ISATAP address. It is required that IPv6 hosts in the IPv4

network can access the IPv6 network through the ISATAP tunnel.

Figure 15-10 Network diagram for an ISATAP tunnel

IPv6 network

Vlan-int101
1.1.1.1/8

Vlan-int100

3001::1/64

Switch

ISATAP switch

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

Tunnel0
2001::5EFE:0101:0101/64

Service loopback port

GE2/0/3

Configuration procedure

z

Make sure that the corresponding VLAN interfaces have been created on the switch.

z

Make sure that VLAN-interface 101 on the ISATAP switch and the ISATAP host are reachable to

each other.

z

Configuration on the switch

# Enable IPv6.

<Switch> system-view

[Switch] ipv6

# Configure 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

# Configure an ISATAP tunnel.

[Switch] interface tunnel 0

[Switch-Tunnel0] ipv6 address 2001::5efe:0101:0101 64

[Switch-Tunnel0] source vlan-interface 101

[Switch-Tunnel0] tunnel-protocol ipv6-ipv4 isatap

# Disable the RA suppression so that hosts can acquire information such as the address prefix from

the RA message released by the ISATAP switch.

[Switch-Tunnel0] undo ipv6 nd ra halt

[Switch-Tunnel0] quit

Advertising