beautypg.com

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

Page 235

background image

220

Configuration example

Network requirements

As shown in

Figure 89

, configure an ISATAP tunnel between the switch and the ISATAP host so the ISATAP

host in the IPv4 network can access the IPv6 network.

Figure 89 Network diagram

Configuration procedure

1.

Configure the switch:
# Specify an IPv6 address for VLAN-interface 100.

system-view

[Switch] interface vlan-interface 100

[Switch-Vlan-interface100] ipv6 address 3001::1/64

[Switch-Vlan-interface100] quit

# Specify an IPv4 address for VLAN-interface 101.

[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 and specify its service type as tunnel.

[Switch] service-loopback group 1 type tunnel

# Assign GigabitEthernet 1/0/3 to service loopback group 1.

[Switch] interface GigabitEthernet 1/0/3

[Switch-GigabitEthernet1/0/3] port service-loopback group 1

[Switch-GigabitEthernet1/0/3] quit

# Create the ISATAP tunnel interface Tunnel 0.

[Switch] interface tunnel 0 mode ipv6-ipv4 isatap

# Specify an EUI-64 IPv6 address for the tunnel interface tunnel 0.

[Switch-Tunnel0] ipv6 address 2001:: 64 eui-64

# Specify VLAN-interface 101 as the source interface of the tunnel interface.

[Switch-Tunnel0] source vlan-interface 101

# Disable RA suppression so that the ISATAP host can acquire information such as the address

prefix from the RA message advertised by the ISATAP switch.

[Switch-Tunnel0] undo ipv6 nd ra halt

[Switch-Tunnel0] quit

2.

Configure the ISATAP host:

IPv6 network

Vlan-int101
1.1.1.1/8

Vlan-int100

3001::1/64

Switch

ISATAP switch

IPv6 host

ISATAP host

IPv4 address: 1.1.1.2/32
IPv6 address:
FE80::5EFE:0101:0102
2001::5EFE:0101:0102

3001::2/64

IPv4 network

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

ISATAP tunnel

Service loopback port

GE1/0/3

This manual is related to the following products: