Sun Ethernet Fabric Operating System VRRP Administration Guide

Exit Print View

Updated: July 2015
 
 

Configure Additional Associated IP Addresses to a VRRP Instance

A VRRP instance can be associated with more than one IP address. When the router becomes master for an instance, then it replies to the ARP request(s) for all the associated IP addresses.

See the first figure in VRRP Topology for the topology used in this example.

  1. In both switches, configure additional associated IP addresses to a VRRP instance.
    1. Enter Global Configuration mode.
      SEFOS# configure terminal
      
    2. Enable VRRP and enter VRRP Configuration mode.
      SEFOS(config)# router vrrp
      
    3. Select an interface to configure VRRP and enter Interface Configuration mode.
      SEFOS(config-vrrp)# interface vlan 2
      
    4. Create a VRRP instance and specify a virtual IP address to configure.
      SEFOS(config-vrrp-if)# vrrp 1 ipv4 12.0.0.5
      
    5. Add an additional associated IP address 12.0.0.6 to the VRRP instance.
      SEFOS(config-vrrp-if)# vrrp 1 ipv4 12.0.0.6 secondary
      
    6. Exit Interface Configuration mode.
      SEFOS(config-vrrp-if)# end
      
  2. View the VRRP associated IP addresses in switch 1.
    SEFOS# show  vrrp interface vlan 2 detail
    vlan2  - vrID 1
    ---------------
    State is Backup
    Virtual IP address is 12.0.0.5
    Virtual MAC address is 00:00:5e:00:01:01
    Master router is 12.0.0.5
    Associated IpAddresses :
    ----------------------
    12.0.0.5
    12.0.0.6
    Advertise time is 1 secs
    Current priority is 100
    Configured priority is 100, may preempt
    Accept Mode Disabled
    
  3. View the VRRP associated IP addresses in switch 2.
    SEFOS# show vrrp interface vlan 2 detail
    vlan2  - vrID 1
    ---------------
    State is Master
    Virtual IP address is 12.0.0.5
    Virtual MAC address is 00:00:5e:00:01:01
    Master router is 12.0.0.5
    Associated IpAddresses :
    ----------------------
    12.0.0.5
    12.0.0.6
    Advertise time is 1 secs
    Current priority is 100
    Configured priority is 100, may preempt
    Accept Mode Disabled
    

    Maximum number of associated IP addresses per instance is 10.