6To4 Tunnel Configuration Example - HPE FlexNetwork 10500 Series Configuration Manual

Layer 3-ip services
Table of Contents

Advertisement

6to4 tunnel configuration example

Network requirements
As shown in
two hosts can reach each other over the IPv4 network.
Figure 91 Network diagram
GE1/0/3
GE1/0/1
Vlan-int101
2002:0201:0101:1::1/64
2002:0201:0101:1::2/64
Requirements analysis
To enable communication between 6to4 networks, configure 6to4 addresses for 6to4 switches and
hosts in the 6to4 networks.
The IPv4 address of VLAN-interface 100 on Switch A is 2.1.1.1/24, and the corresponding 6to4
prefix is 2002:0201:0101::/48. Host A must use this prefix.
The IPv4 address of VLAN-interface 100 on Switch B is 5.1.1.1/24, and the corresponding 6to4
prefix is 2002:0501:0101::/48. Host B must use this prefix.
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:
# Add GigabitEthernet 1/0/2 (the physical interface of the tunnel) to VLAN 100.
<SwitchA> system-view
[SwitchA] vlan 100
[SwitchA-vlan100] port gigabitethernet 1/0/2
[SwitchA-vlan100] quit
# Specify an IPv4 address for VLAN-interface 100.
[SwitchA] interface vlan-interface 100
[SwitchA-Vlan-interface100] ip address 2.1.1.1 24
[SwitchA-Vlan-interface100] quit
# Add GigabitEthernet 1/0/1 to VLAN 101.
[SwitchA] vlan 101
[SwitchA-vlan101] port gigabitethernet 1/0/1
[SwitchA-vlan101] quit
# Specify a 6to4 address for VLAN-interface 101.
[SwitchA] interface vlan-interface 101
[SwitchA-Vlan-interface101] ipv6 address 2002:0201:0101:1::1/64
[SwitchA-Vlan-interface101] quit
Figure
91, configure a 6to4 tunnel between 6to4 switches Switch A and Switch B so the
Switch A
GE1/0/2
6to4 switch
Vlan-int100
2.1.1.1/24
Tunnel 1
2002:0201:0101::1/64
6to4
network 1
Host A
GE1/0/2
Vlan-int100
5.1.1.1/24
IPv4 netwok
6to4 tunnel
Tunnel 1
2002:0501:0101::1/64
Service loopback
interface
2002:0501:0101:1::2/64
247
Switch B
6to4 switch
GE1/0/3
GE1/0/1
Vlan-int101
2002:0501:0101:1::1/64
6to4
network 2
Host B

Advertisement

Table of Contents
loading

Table of Contents