Configuring an ipv6 global unicast address, Configuration example – H3C Technologies H3C S12500 Series Switches User Manual
Page 173

160
Step Command
Remarks
4.
Configure a source address or
source interface for the tunnel
interface.
source { ip-address |
interface-type interface-number }
By default, no source address or
source interface is configured for the
tunnel interface.
The specified source address or the
primary IP address of the specified
source interface is used as the
source IP address of tunneled
packets.
5.
Configure a destination
address for the tunnel
interface.
destination ip-address
By default, no destination address is
configured for the tunnel interface.
The tunnel destination address must
be the IP address of the receiving
interface on the tunnel peer. It is
used as the destination IP address of
tunneled packets.
6.
Return to system view.
quit
N/A
307B
Configuration example
By default, Ethernet, VLAN, and aggregate interfaces are down. To configure such an interface, bring
the interface up by executing the undo shutdown command.
411B
Network requirements
As shown in
805H
Figure 66
, configure an IPv6 over IPv4 tunnel between Switch A and Switch B so the two
IPv6 networks can reach each other over the IPv4 network. Because the tunnel destination IPv4 address
cannot be automatically obtained from the destination IPv6 addresses of packets, configure an IPv6 over
IPv4 manual tunnel.
Figure 66 Network diagram
412B
Configuration procedure
Make sure Switch A and Switch B have the corresponding VLAN interfaces created and can reach each
other through IPv4.
•
Configure Switch A:
# Configure an IPv4 address for VLAN-interface 100.
[SwitchA] interface vlan-interface 100
[SwitchA-Vlan-interface100] ip address 192.168.100.1 255.255.255.0
[SwitchA-Vlan-interface100] quit
# Configure an IPv6 address for VLAN-interface 101.
Vlan-int101
3003::1/64
IPv4 netwok
Switch A
Switch B
IPv6
network 1
IPv6
network 2
Tunnel0
3001::1/64
Tunnel0
3001::2/64
IPv6 manual tunnel
Vlan-int100
192.168.100.1/24
Vlan-int100
192.168.50.1/24
Vlan-int101
3002::1/64
- H3C SR8800 H3C SR6600-X H3C SR6600 H3C WX6000 Series Access Controllers H3C WX5000 Series Access Controllers H3C WX3000 Series Unified Switches H3C LSWM1WCM10 Access Controller Module H3C LSWM1WCM20 Access Controller Module H3C LSQM1WCMB0 Access Controller Module H3C LSRM1WCM2A1 Access Controller Module H3C LSBM1WCM2A0 Access Controller Module H3C S6800 Series Switches H3C S3100V2 Series Switches H3C S12500-X Series Switches H3C S9800 Series Switches