IPv6 Configuration Guide K/KA/KB.15.15

Configure Switch C
Configure Switch C in a manner similar to Switch B, using the appropriate IPv6 and IPv4 addresses.
1. Configure the Tunnel Endpoint for Switch C
The tunnel endpoint for Switch C is configured with a mode, IPv4 source address, IPv4
destination address, and an IPv6 interface address.
Example 189 Configuring a Tunnel Endpoint (opposite end)
HP Switch(config)# interface tunnel 1
HP Switch(tunnel-1)# tunnel mode 6in4
HP Switch(tunnel-1)# tunnel source 30.0.0.1
HP Switch(tunnel-1)# tunnel destination 20.0.0.1
HP Switch(tunnel-1)# ipv6 address 5000::2/64
2. Configure VLAN 2 for the IPv6 Hosts on the 4000::/64 Network
This step configures IPv6 address 4000::1/64 on VLAN 2. When IPv6 traffic from IPv6 host
4000::2/64 that is destined for the IPv6 3000::/64 network is transported over VLAN 2, it
will be routed into the tunnel.
This step is performed in VLAN context.
Example 190 Configuring the VLAN for Routing Traffic into the Tunnel
HP Switch(config)# vlan 2
HP Switch(vlan-2)# ipv6 address 4000::1/64
3. Configure IPv6 Routing to Route into the Tunnel
IPv6 unicast routing is enabled. The static route is configured to route packets destined for the
3000::/64 network into the tunnel.
Example 191 Configuring IPv6 Routing to Route Into Tunnel
HP Switch(config)# ipv6 unicast routing
HP Switch(config)# ipv6 route 3000::/64 5000::1
3000::/64
Configures static route for destinations in the 3000::/64 network
5000::1
IPv6 address of tunnel endpoint
4. Configure the VLAN Used to Reach the First Hop Router in the IPv4 Network
This step configures the tunnel endpoint IPv4 address 30.0.0.1/24 (VLAN1) in VLAN 2 context
so that traffic from VLAN 2 can reach the first hop router in the IPv4 network through the tunnel.
The command is executed in VLAN context.
Example 192 Configuring the IPv4 Tunnel Endpoint Address
HP Switch(vlan-2)# ip address 30.0.0.1/24
5. Configure the IPv4 Default Gateway
The default gateway 30.0.0.2 is configured.
268 IPv6 Tunneling Over IPv4 Using Manually Configured Tunnels