Tuesday 9 July 2013

Junos : VRRP

For Ethernet, Fast Ethernet, Gigabit Ethernet, 10-Gigabit Ethernet, and logical interfaces, you can configure the Virtual Router Redundancy Protocol (VRRP) or VRRP for IPv6. VRRP enables hosts on a LAN to make use of redundant routing platforms on that LAN without requiring more than the static configuration of a single default route on the hosts. 

The VRRP routing platforms share the IP address corresponding to the default route configured on the hosts. At any time, one of the VRRP routing platforms is the master (active) and the others are backups. If the master fails, one of the backup routers or switches becomes the new master router, providing a virtual default routing platform and enabling traffic on the LAN to be routed without relying on a single routing platform. Using VRRP, a backup router can take over a failed default router within a few seconds. This is done with minimum VRRP traffic and without any interaction with the hosts.


Routers or running VRRP dynamically elect master and backup routers. You can also force assignment of master and backup routers using priorities from 1 through 255, with 255 being the highest priority. In VRRP operation, the default master router sends advertisements to backup routers at regular intervals. The default interval is 1 second. If a backup router does not receive an advertisement for a set period, the backup router with the next highest priority takes over as master and begins forwarding packets.


Configure one master (Router A) and one backup (Router B) routing platform. The address configured in the virtual-address statements differs from the addresses configured in the address statements. When you configure multiple VRRP groups on an interface, you configure one to be the master virtual router for that group.
On Router A
[edit interfaces]
ge-0/0/0 {unit 0 {family inet {address 192.168.1.20/24 {vrrp-group 27 {virtual-address 192.168.1.15;priority 254;authentication-type simple;authentication-key booJUM;}}}}}
On Router B
[edit interfaces]
ge-4/2/0 {unit 0 {family inet {address 192.168.1.24/24 {vrrp-group 27 {virtual-address 192.168.1.15;priority 200;authentication-type simple;authentication-key booJUM;}}}}}
Configuring One Router to Be the Master Virtual Router for the Group
[edit interfaces]
ge-0/0/0 {unit 0 {family inet {address 192.168.1.20/24 {vrrp-group 2 {virtual-address 192.168.1.20;priority 255;advertise-interval 3;preempt;}vrrp-group 10 {virtual-address 192.168.1.55;priority 201;advertise-interval 3;}vrrp-group 1 {virtual-address 192.168.1.54;priority 22;advertise-interval 4;}}}}}
Configuring VRRP and MAC Source Address Filtering
The VRRP group number is the decimal equivalent of the last byte of the virtual MAC address.
[edit interfaces]
ge-5/2/0 {gigether-options {source-filtering;source-address-filter {00:00:5e:00:01:0a; # Virtual MAC address}}unit 0 {family inet {address 192.168.1.10/24 {vrrp-group 10; # VRRP group numbervirtual-address 192.168.1.10;priority 255;preempt;}}}}

8 comments:

  1. Never read about this operating system meanwhile it is interesting to know what are the requirements to install this operating system on a system.

    Thanks
    Silvester Norman

    Change Mac Address

    ReplyDelete
    Replies
    1. Hi Silvester Norman,

      This is Embedded OS for Juniper Next Generation Equipment, like screenOS in SSG equipment.

      Junos is OS for Juniper SRX Firewall, Switch and router OS.

      If you want to experience Junos OS, you may setup the lab environment via Oliver version of junos which able to ran in virtual environment.

      Delete
    2. Thanks for the information I would like to use this particular so from where i can download this operating system?

      Regards
      Silvester Norman

      Change Mac Address

      Delete
    3. Hi Sikvester,

      You need to have Juniper Account to download the Junos OS and then please follow the below url on how to setup PC emulation Junos, http://juniper.cluepon.net/index.php/Olive.

      Hope this will help you to explore the Junos.

      Delete
    4. Read all the details to install Junos OS but disappointed to find JunOS 8.5 requires a minimum of 256MB of RAM but i would go for the other versions requiring less RAM capacity. Thanks one again for sharing the details.

      Regards
      Silvester Norman

      Change Mac Address

      Delete
    5. Hi Sikvester,

      I had Oliver vdmk file which able to run under vmware environment.

      Next option is ran Junos under virtual box.

      if you need any 1 of the image do let me know. I can share with you.

      Delete
  2. Hi,

    I want to configure all the Juniper Devices Like Cisco Devices in Cisco Packet Tracer.If its Possible Please Share With me

    ReplyDelete
  3. Hi Prabha,

    Please refer to http://www.juniper.net/us/en/products-services/nos/junosphere/ see whether is what you looking for ?

    ReplyDelete

loading...