Skip to main content
  • Place orders quickly and easily
  • View orders and track your shipping status
  • Create and access a list of your products
  • Manage your Dell EMC sites, products, and product-level contacts using Company Administration.

Dell EMC Configuration Guide for the S3100 Series 9.14.2.4

PDF

VRRP in a VRF: Non-VLAN Scenario

The following example shows how to enable VRRP in a non-VLAN.

The following example shows a typical use case in which you create three virtualized overlay networks by configuring three VRFs in two switches. The default gateway to reach the Internet in each VRF is a static route with the next hop being the virtual IP address configured in VRRP. In this scenario, a single VLAN is associated with each VRF.

Both Switch-1 and Switch-2 have three VRF instances defined: VRF-1, VRF-2, and VRF-3. Each VRF has a separate physical interface to a LAN switch and an upstream VPN interface to connect to the Internet. Both Switch-1 and Switch-2 use VRRP groups on each VRF instance in order that there is one MASTER and one backup router for each VRF. In VRF-1 and VRF-2, Switch-2 serves as owner-master of the VRRP group and Switch-1 serves as the backup. On VRF-3, Switch-1 is the owner-master and Switch-2 is the backup.

In VRF-1 and VRF-2 on Switch-2, the virtual IP and node IP address, subnet, and VRRP group are the same. On Switch-1, the virtual IP address, subnet, and VRRP group are the same in VRF-1 and VRF-2, but the IP address of the node interface is unique. There is no requirement for the virtual IP and node IP addresses to be the same in VRF-1 and VRF-2; similarly, there is no requirement for the IP addresses to be different. In VRF-3, the node IP addresses and subnet are unique.

Figure 1. VRRP in a VRF: Non-VLAN Example
Illustration of a VRRP in a VRP, non-VLAN example.

Example of Configuring VRRP in a VRF on Switch-1 (Non-VLAN)

Switch-1
S1(conf)#ip vrf default-vrf 0
!
S1(conf)#ip vrf VRF-1 1
!
S1(conf)#ip vrf VRF-2 2
!
S1(conf)#ip vrf VRF-3 3
!
S1(conf)#interface GigabitEthernet 1/1
S1(conf-if-gi-1/1)#ip vrf forwarding VRF-1
S1(conf-if-gi-1/1)#ip address 10.10.1.5/24
S1(conf-if-gi-1/1)#vrrp-group 11
% Info: The VRID used by the VRRP group 11 in VRF 1 will be 177.
S1(conf-if-gi-1/1-vrid-101)#priority 100
S1(conf-if-gi-1/1-vrid-101)#virtual-address 10.10.1.2
S1(conf-if-gi-1/1)#no shutdown
!
S1(conf)#interface GigabitEthernet 1/2
S1(conf-if-gi-1/2)#ip vrf forwarding VRF-2
S1(conf-if-gi-1/2)#ip address 10.10.1.6/24
S1(conf-if-gi-1/2)#vrrp-group 11
% Info: The VRID used by the VRRP group 11 in VRF 2 will be 178.
S1(conf-if-gi-1/2-vrid-101)#priority 100
S1(conf-if-gi-1/2-vrid-101)#virtual-address 10.10.1.2
S1(conf-if-gi-1/2)#no shutdown
!
S1(conf)#interface GigabitEthernet 1/3
S1(conf-if-gi-1/3)#ip vrf forwarding VRF-3
S1(conf-if-gi-1/3)#ip address 20.1.1.5/24
S1(conf-if-gi-1/3)#vrrp-group 15
% Info: The VRID used by the VRRP group 15 in VRF 3 will be 243.
S1(conf-if-gi-1/3-vrid-105)#priority 255
S1(conf-if-gi-1/3-vrid-105)#virtual-address 20.1.1.5
S1(conf-if-gi-1/3)#no shutdown

DellEMC#show vrrp gigabitethernet 2/8
------------------
GigabitEthernet 2/8, IPv4 VRID: 1, Version: 2, Net: 10.1.1.1
VRF: 0 default
State: Master, Priority: 100, Master: 10.1.1.1 (local)
Hold Down: 0 sec, Preempt: TRUE, AdvInt: 1 sec
Adv rcvd: 0, Bad pkts rcvd: 0, Adv sent: 119, Gratuitous ARP sent: 1
Virtual MAC address:
00:00:5e:00:01:01
Virtual IP address:
10.1.1.100
Authentication: (none)

Example of Configuring VRRP in a VRF on Switch-2 (Non-VLAN Configuration)

Switch-2
S2(conf)#ip vrf default-vrf 0
!
S2(conf)#ip vrf VRF-1 1
!
S2(conf)#ip vrf VRF-2 2
!
S2(conf)#ip vrf VRF-3 3
!
S2(conf)#interface GigabitEthernet 1/1
S2(conf-if-gi-1/1)#ip vrf forwarding VRF-1
S2(conf-if-gi-1/1)#ip address 10.10.1.2/24
S2(conf-if-gi-1/1)#vrrp-group 11
% Info: The VRID used by the VRRP group 11 in VRF 1 will be 177.
S2(conf-if-gi-1/1-vrid-101)#priority 255
S2(conf-if-gi-1/1-vrid-101)#virtual-address 10.10.1.2
S2(conf-if-gi-1/1)#no shutdown
!
S2(conf)#interface GigabitEthernet 1/2
S2(conf-if-gi-1/2)#ip vrf forwarding VRF-2
S2(conf-if-gi-1/2)#ip address 10.10.1.2/24
S2(conf-if-gi-1/2)#vrrp-group 11
% Info: The VRID used by the VRRP group 11 in VRF 2 will be 178.
S2(conf-if-gi-1/2-vrid-101)#priority 255
S2(conf-if-gi-1/2-vrid-101)#virtual-address 10.10.1.2
S2(conf-if-gi-1/2)#no shutdown
!
S2(conf)#interface GigabitEthernet 1/3
S2(conf-if-gi-1/3)#ip vrf forwarding VRF-3
S2(conf-if-gi-1/3)#ip address 20.1.1.6/24
S2(conf-if-gi-1/3)#vrrp-group 15
% Info: The VRID used by the VRRP group 15 in VRF 3 will be 243.
S2(conf-if-gi-1/3-vrid-105)#priority 100
S2(conf-if-gi-1/3-vrid-105)#virtual-address 20.1.1.5
S2(conf-if-gi-1/3)#no shutdown

Rate this content

Accurate
Useful
Easy to understand
Was this article helpful?
0/3000 characters
  Please provide ratings (1-5 stars).
  Please provide ratings (1-5 stars).
  Please provide ratings (1-5 stars).
  Please select whether the article was helpful or not.
  Comments cannot contain these special characters: <>()\