The option to change the VRF context setting is available on the Avi Load Balancer UI.
The VRF setting can be changed by navigating to
and clicking the edit option.Configuring static routes available under the Management Network does not affect the SE. As part of SE boot-up process, the Avi Load Balancer Controller only picks the default gateway that is applicable to the specific SE based on the SE management network.
The VRF edit option on the Avi Load Balancer UI is only applicable to data NICs. The VRF context setting for the management network can be changed using CLI.
This section also explains how to configure Avi Load Balancer when there are multiple management networks used across SE Groups.
Instructions
Login to the Avi Load Balancer CLI, and run the following commands:
configure vrfcontext management
static_routes route_id <ID> prefix 0/0 next_hop <IP address of the next hop>
For more information on CLI configuration, see the following snippets.
admin:10-10-30-102]: > configure vrfcontext management Updating an existing object. Currently, the object is: +----------------+-------------------------------------------------+ | Field | Value | +----------------+-------------------------------------------------+ | uuid | vrfcontext-ef7605b5-4d95-41dd-bf22-5d132584ec7b | | name | management | | system_default | True | | tenant_ref | admin | | cloud_ref | Default-Cloud | +----------------+-------------------------------------------------+ [admin:10-10-30-102]: vrfcontext> static_routes route_id 1 prefix 0/0 next_hop 10.10.22.1 New object being created [admin:10-10-30-102]: vrfcontext:static_routes> save [admin:10-10-30-102]: vrfcontext> static_routes route_id 2 prefix 0/0 next_hop 10.10.30.1 New object being created [admin:10-10-30-102]: vrfcontext:static_routes> save
After the changes, the show output
command will exhibit the following information. The VRF for the management network has routing entries for two different subnets.
[admin:10-10-30-102]: vrfcontext:static_routes> save [admin:10-10-30-102]: vrfcontext> wh Tenant: admin +------------------+-------------------------------------------------+ | Field | Value | +------------------+-------------------------------------------------+ | uuid | vrfcontext-ef7605b5-4d95-41dd-bf22-5d132584ec7b | | name | management | | static_routes[1] | | | prefix | 0/0 | | next_hop | 10.10.22.1 | | route_id | 1 | | static_routes[2] | | | prefix | 0/0 | | next_hop | 10.10.30.1 | | route_id | 2 | | system_default | True | | tenant_ref | admin | | cloud_ref | Default-Cloud | +------------------+-------------------------------------------------+