375
NextHop : ::FFFF:6.6.6.9 Preference: 255
Interface : POS1/1/1 Cost : 0
Destination: FE80::/10 Protocol : Direct
NextHop : :: Preference: 0
Interface : InLoop0 Cost : 0
Destination: FF00::/8 Protocol : Direct
NextHop : :: Preference: 0
Interface : NULL0 Cost : 0
4.
Verify that PE 3 and PE 4 can ping each other. (Details not shown.)
5.
Verify that CE 3 and CE 4 can ping each other. (Details not shown.)
Configuring multirole host
Network requirements
Configure the multirole host feature to allow Host A to access VPN 1 and VPN 2 and Host B to
access only VPN 1.
Figure 96 Network diagram
Configuration procedure
1.
Configure CE 1:
# Configure IPv6 addresses for interfaces.
<CE1> system-view
[CE1] interface gigabitethernet 1/1/1
[CE1-GigabitEthernet1/1/1] ipv6 address 100::1 64
[CE1-GigabitEthernet1/1/1] quit
[CE1] interface serial 1/1/0
[CE1-Serial1/1/0] ipv6 address 1::2 64
[CE1-Serial1/1/0] quit
# Configure an IPv6 default route to PE 1.
[CE1] ipv6 route-static :: 0 1::1
PE 1
PE 2
Ser1/1/0
2.1.1.1/24
Ser1/1/0
2.1.1.2/24
Ser1/1/1
3::2/64
Ser1/1/0
3::1/64
Ser1/1/1
1::1/64
Ser1/1/0
1::2/64
GE1/1/1
110::1/64
GE1/1/1
100::1/64
CE 1
CE 2
MPLS backbone
Host A
Host C
100::2/64
VPN 1
VPN 2
Host B
100::3/64
110::2/64