HP 6125G HP 6125G & 6125G/XG Blade Switches High Availability Configur - Page 138

Creating a VRRP group and configuring a virtual IPv6 address, Configuration guidelines

Page 138 highlights

• Virtual MAC to virtual IP mapping-By default, a virtual MAC address is automatically created for a VRRP group when the VRRP group is created, and the virtual IPv6 address of the VRRP group is mapped to the virtual MAC address. When such a mapping is adopted, the hosts in the internal network do not need to update the mapping between the IPv6 address and the MAC address when the master changes. • Real MAC to virtual IP mapping-In case that an IP address owner exists in a VRRP group, if the virtual IPv6 address is mapped to the virtual MAC address, two MAC addresses are mapped to one IPv6 address. To avoid such as problem, map the virtual IPv6 address of the VRRP group to the real MAC address of an interface to forward the packets from a host to the IP address owner. When VRRP is operating in load balancing mode, a virtual IPv6 address is always mapped to a virtual MAC address regardless of which type of MAC addresses are specified to be mapped to virtual IPv6 addresses. Specify the type of the MAC addresses mapped to the virtual IPv6 addresses before creating a VRRP group. Otherwise, you cannot change the type of the MAC addresses mapped to virtual IPv6 addresses. To specify the type of MAC addresses mapped to virtual IPv6 addresses: Step 1. Enter system view. 2. Specify the type of MAC addresses mapped to virtual IPv6 addresses. Command system-view vrrp ipv6 method { real-mac | virtual-mac } Remarks N/A Optional. Virtual MAC address by default. Creating a VRRP group and configuring a virtual IPv6 address When creating a VRRP group, configure a virtual IPv6 address for the VRRP group. You can configure multiple virtual IPv6 addresses for a VRRP group. A VRRP group is automatically created when you specify the first virtual IPv6 address for the VRRP group. If you specify another virtual IPv6 address for the VRRP group later, the virtual IPv6 address is added to the virtual IPv6 address list of the VRRP group. Configuration guidelines • When a router is the IP address owner in a VRRP group, HP recommends you not to use the IPv6 address of the interface (virtual IPv6 address of the VRRP group) to establish an OSPFv3 neighbor relationship with the adjacent router, that is, not to use the ospfv3 area command to enable OSPFv3 on the interface. For more information about ospfv3 area command, see Layer 3-IP Routing Command Reference. • When VRRP is operating in load balancing mode, the virtual IPv6 address of a VRRP group cannot be the same as the IPv6 address of any interface in the VRRP group. In other words, a VRRP group does not have an IP address owner in load balancing mode. • A VRRP group is removed after you remove all the virtual IPv6 addresses in it. In addition, configurations on that VRRP group do not take effect any longer. • Removal of the VRRP group on the IP address owner causes IP address collision. To resolve the collision, change the IPv6 address of the interface on the IP address owner first and then remove the VRRP group from the interface. 131

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114
  • 115
  • 116
  • 117
  • 118
  • 119
  • 120
  • 121
  • 122
  • 123
  • 124
  • 125
  • 126
  • 127
  • 128
  • 129
  • 130
  • 131
  • 132
  • 133
  • 134
  • 135
  • 136
  • 137
  • 138
  • 139
  • 140
  • 141
  • 142
  • 143
  • 144
  • 145
  • 146
  • 147
  • 148
  • 149
  • 150
  • 151
  • 152
  • 153
  • 154
  • 155
  • 156
  • 157
  • 158
  • 159
  • 160
  • 161
  • 162
  • 163
  • 164
  • 165
  • 166
  • 167
  • 168
  • 169
  • 170
  • 171
  • 172
  • 173
  • 174
  • 175
  • 176
  • 177
  • 178
  • 179
  • 180
  • 181
  • 182
  • 183
  • 184
  • 185
  • 186
  • 187
  • 188
  • 189
  • 190
  • 191
  • 192
  • 193
  • 194
  • 195
  • 196
  • 197
  • 198
  • 199
  • 200
  • 201
  • 202
  • 203
  • 204
  • 205
  • 206
  • 207
  • 208
  • 209
  • 210
  • 211
  • 212
  • 213
  • 214
  • 215
  • 216
  • 217
  • 218
  • 219
  • 220
  • 221
  • 222

131
Virtual MAC to virtual IP mapping
—By default, a virtual MAC address is automatically created for
a VRRP group when the VRRP group is created, and the virtual IPv6 address of the VRRP group is
mapped to the virtual MAC address. When such a mapping is adopted, the hosts in the internal
network do not need to update the mapping between the IPv6 address and the MAC address when
the master changes.
Real MAC to virtual IP mapping
—In case that an IP address owner exists in a VRRP group, if the
virtual IPv6 address is mapped to the virtual MAC address, two MAC addresses are mapped to one
IPv6 address. To avoid such as problem, map the virtual IPv6 address of the VRRP group to the real
MAC address of an interface to forward the packets from a host to the IP address owner.
When VRRP is operating in load balancing mode, a virtual IPv6 address is always mapped to a virtual
MAC address regardless of which type of MAC addresses are specified to be mapped to virtual IPv6
addresses.
Specify the type of the MAC addresses mapped to the virtual IPv6 addresses before creating a VRRP
group. Otherwise, you cannot change the type of the MAC addresses mapped to virtual IPv6 addresses.
To specify the type of MAC addresses mapped to virtual IPv6 addresses:
Step
Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Specify the type of MAC
addresses mapped to virtual
IPv6 addresses.
vrrp ipv6 method
{
real-mac
|
virtual-mac
}
Optional.
Virtual MAC address by default.
Creating a VRRP group and configuring a virtual IPv6 address
When creating a VRRP group, configure a virtual IPv6 address for the VRRP group. You can configure
multiple virtual IPv6 addresses for a VRRP group.
A VRRP group is automatically created when you specify the first virtual IPv6 address for the VRRP group.
If you specify another virtual IPv6 address for the VRRP group later, the virtual IPv6 address is added to
the virtual IPv6 address list of the VRRP group.
Configuration guidelines
When a router is the IP address owner in a VRRP group, HP recommends you not to use the IPv6
address of the interface (virtual IPv6 address of the VRRP group) to establish an OSPFv3 neighbor
relationship with the adjacent router, that is, not to use the
ospfv3 area
command to enable
OSPFv3 on the interface. For more information about
ospfv3 area
command, see
Layer 3—IP
Routing Command Reference.
When VRRP is operating in load balancing mode, the virtual IPv6 address of a VRRP group cannot
be the same as the IPv6 address of any interface in the VRRP group. In other words, a VRRP group
does not have an IP address owner in load balancing mode.
A VRRP group is removed after you remove all the virtual IPv6 addresses in it. In addition,
configurations on that VRRP group do not take effect any longer.
Removal of the VRRP group on the IP address owner causes IP address collision. To resolve the
collision, change the IPv6 address of the interface on the IP address owner first and then remove the
VRRP group from the interface.