beautypg.com

Enabling or disabling vip rhi – Brocade Virtual ADX Server Load Balancing Guide (Supporting ADX v03.1.00) User Manual

Page 142

background image

126

Brocade Virtual ADX Server Load Balancing Guide

53-1003247-01

Miscellaneous options

2

For IPv6, enter commands similar to the following.

Virtual ADX(config)#interface loopback 1

Virtual ADX(config-lbif-1)#ipv6 address 2001:db8::1/64

Virtual ADX(config-lbif-1)#ipv6 dont-advertise 2001:db8::1/64

Syntax: ipv6 dont-advertise ipv6-prefix/prefix length

The following example of the display from the show ipv6 route command shows how
dont-advertise routes are represented for IPv6 routes. As shown, the route type for these
routes is “C (N)”.

Loopback interface, non-dangling VIPs, or dangling VIPs - For VIP RHI to work, you must
configure a loopback interface or VE interface in the same subnet as the VIP subnet
(non-dangling VIP) or configure the VIP without any associated interface (dangling VIP
described in

“VIP RHI with dangling subnets”

on page 130).

The loopback interface or VE interface must have the ip dont-advertise command configured.
The following example configures a loopback interface to support two VIPs.

Virtual server 1 IP: 10.1.152.65

Virtual server 2 IP: 10.1.152.66

If the subnet of the VIPs is /30 then you need to configure either a VE interface or a loopback
interface as follows:

Virtual ADX(config)#interface loopback 2

Virtual ADX(config-lbif-2)#ip address 10.1.152.67/28

Virtual ADX(config-lbif-2)#ip dont-advertise 10.1.152.67/28

Enabling or disabling VIP RHI

The Brocade Virtual ADX can enable VIP RHI globally or at the VIP sublevel for IPv4 hosts, IPv6
hosts or both. To enable VIP RHI feature globally for all IPv4 VIPs, enter commands such as the
following.

Virtual ADX(config)#server global-advertise-vip-route v4-only

To enable VIP RHI feature globally for all IPv6 VIPs, enter commands such as the following.

Virtual ADX(config)#server global-advertise-vip-route v6-only

Syntax: [no] server global-advertise-vip-route [v4-only | v6-only | both]

The v4-only parameter enables VIP RHI globally or at the VIP sublevel for IPv4 hosts.

The v6-only parameter enables VIP RHI globally or at the VIP sublevel for IPv6 hosts.

The both parameter enables VIP RHI globally or at the VIP sublevel for IPv4 and IPv6 hosts.

If none of these parameters are specified, VIP RHI is enabled globally for IPv4 hosts only.

Virtual ADX(config-lbif-3)#show ipv6 route

IPv6 Routing Table - 5 entries:

Type Codes: C - Connected, C(N) Connected(Dont-Advertise), S - Static, R -

RIP, O - OSPF, B - BGP, D - RA

Type IPv6 Prefix Next Hop Router Interface Dis/Metric

C

2001:DB8:3000::/64:: e 1 0/0

C

2001:DB8:4000::/64:: ve 40 0/0

C(N) 2001:DB8:4444::/64:: loopback 1 0/0

S

2001:DB8:4444::/96 2001:DB8:4444::110 loopback 1 1/1

C(N) 2001:DB8:6020::/78:: loopback 3 0/0