EasyManuals Logo

HPE FlexNetwork MSR Series Comware 7 Layer 3 - Ip Services Configuration Guides

HPE FlexNetwork MSR Series
554 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #338 background imageLoading...
Page #338 background image
324
6to4 tunnel configuration example
Network requirements
As shown in Figure 126, configure a 6to4 tunnel between 6to4 routers Router A and Router B so the
two hosts can reach each other over the IPv4 network.
Figure 126 Network diagram
Requirements analysis
To enable communication between 6to4 networks, configure 6to4 addresses for 6to4 routers and
hosts in the 6to4 networks.
• The IPv4 address of GigabitEthernet 2/0/2 on Router 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 GigabitEthernet 2/0/2 on Router 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 Router A and Router B can reach each other through IPv4.
• Configure Router A:
# Specify an IPv4 address for GigabitEthernet 2/0/2.
<RouterA> system-view
[RouterA] interface gigabitethernet 2/0/2
[RouterA-GigabitEthernet2/0/2] ip address 2.1.1.1 24
[RouterA-GigabitEthernet2/0/2] quit
# Specify a 6to4 address for GigabitEthernet 2/0/1.
[RouterA] interface gigabitethernet 2/0/1
[RouterA-GigabitEthernet2/0/1] ipv6 address 2002:0201:0101:1::1/64
[RouterA-GigabitEthernet2/0/1] quit
# Create the 6to4 tunnel interface Tunnel 0.
[RouterB] interface tunnel 0 mode ipv6-ipv4 6to4
# Specify an IPv6 address for the tunnel interface.
[RouterA-Tunnel0] ipv6 address 3001::1/64
# Specify the source interface as GigabitEthernet 2/0/2 for the tunnel interface.
[RouterA-Tunnel0] source gigabitethernet 2/0/2
[RouterA-Tunnel0] quit
# Configure a static route destined for 2002::/16 through the tunnel interface.
[RouterA] ipv6 route-static 2002:: 16 tunnel 0
GE2/0/2
2.1.1.1/24
GE2/0/2
5.1.1.1/24
GE2/0/1
2002:0201:0101:1::1/64
GE2/0/1
2002:0501:0101:1::1/64
Router A
Router B
6to4 router
Host A
2002:0201:0101:1::2/64
Host B
2002:0501:0101:1::2/64
6to4
network 1
IPv4 netwok
6to4 router
6to4
network 2
6to4 tunnel
Tunnel 0
3001::1/64
Tunnel 0
3002::1/64

Table of Contents

Other manuals for HPE FlexNetwork MSR Series

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the HPE FlexNetwork MSR Series and is the answer not in the manual?

HPE FlexNetwork MSR Series Specifications

General IconGeneral
BrandHPE
ModelFlexNetwork MSR Series
CategoryNetwork Router
LanguageEnglish

Related product manuals