Routing

Expand all | Collapse all

Why is the vrrp not running?

  • 1.  Why is the vrrp not running?

    Posted 03-15-2017 10:04

    Hi, 

    Please see the below config. Why is the vrrp not running in two juniper routers? Thank you

     

    PN# run show vrrp brief
    VRRP is not running

     

     

    PN# run show configuration | display set | match 12.1.1.1
    set interfaces em0 unit 0 family inet address 12.1.1.1/30 vrrp-group 1 virtual-address 12.1.1.12
    set interfaces em0 unit 0 family inet address 12.1.1.1/30 vrrp-group 1 priority 110
    set interfaces em0 unit 0 family inet address 12.1.1.1/30 vrrp-group 1 accept-data
    set interfaces em1 unit 0 family inet address 12.1.1.1/24

     

    K# run show configuration | display set | match 12.1.1.2
    set interfaces em0 unit 0 family inet address 12.1.1.2/30 vrrp-group 1 virtual-address 12.1.1.12
    set interfaces em0 unit 0 family inet address 12.1.1.2/30 vrrp-group 1 priority 100
    set interfaces em0 unit 0 family inet address 12.1.1.2/30 vrrp-group 1 accept-data
    set interfaces em1 unit 0 family inet address 12.1.1.2/24



  • 2.  RE: Why is the vrrp not running?

     
    Posted 03-15-2017 10:16
    Hi eesunj,

    You are using em0 and em1 ports which are control links for a cluster/jsrpd.
    Please try using physical ports.

    HTH


  • 3.  RE: Why is the vrrp not running?

    Posted 03-15-2017 10:21

    hi

    for me it seesm that the VIP address (.12)  does not belong to the network  12.1.1.0/30

    the vip-adress is outside the /30 network

     

    regards

     

    alexander

     

    PS independent of teh fact that the em interfaces are RE-based and not PFE based, so maybe this is also a reason



  • 4.  RE: Why is the vrrp not running?

    Posted 03-15-2017 12:10

    Hi Thanks for your reply. After I changed interface and ip, vrrp can run, but it is down status. The two router are connected with 12.1.1.21/24 and 12.1.1.22/24. The ip address can ping each other. Please see below:

     

    21.PNG22.PNG

     

     

     

     



  • 5.  RE: Why is the vrrp not running?

     
    Posted 03-16-2017 06:22

    1. Change your em0 addresses to some other subnet

    2. Bridge irb.0 between your two routers with a cable  

    3. Upgrade to something higher than 12.1R1



  • 6.  RE: Why is the vrrp not running?

     
    Posted 03-16-2017 22:53

    Hi Folks,

    This will help us with some insight on the observation,

     

    Logs/Traceoptions: 
    set protocols vrrp traceoptions file vrrp files 10 size 50m
    set protocols vrrp traceoptions flag general
    set protocols vrrp traceoptions flag packets
    set protocols vrrp traceoptions flag state

     

    Also, do a TCPdump on the interface connecting between them  and look for vrrp packets from peer on the both sides,

     

    Also, look for extensive command for brief idea on PDU;s sent/received,

     

    root@Backup> show vrrp extensive 
    Interface: fe-0/0/0.0, Interface index :72, Groups: 1, Active :1
    Interface VRRP PDU statistics
    Advertisement sent :0 
    Advertisement received :8890 
    Packets received :8890 
    No group match received :0 
    Interface VRRP PDU error statistics
    Invalid IPAH next type received :0 
    Invalid VRRP TTL value received :0 
    Invalid VRRP version received :0 
    Invalid VRRP PDU type received :0 
    Invalid VRRP authentication type received:0 
    Invalid VRRP IP count received :0 
    Invalid VRRP checksum received :0

     



  • 7.  RE: Why is the vrrp not running?

     
    Posted 03-18-2017 10:45

    You need to remove manual configuration from the em interfaces.  These are internal Junos interfaces and are not for use and manual configuration.



  • 8.  RE: Why is the vrrp not running?

    Posted 03-22-2017 17:28

    Hi Spuluka,Sorry for the delay since i had another project. The below are all interface the router has. so do you think which interface can be used for vrrp configuration? thank you

     

     

    PN# run show interfaces terse
    Interface Admin Link Proto Local Remote
    cbp0 up up
    demux0 up up
    dsc up up
    em0 up up
    em0.0 up up inet 12.0.0.1/24
    22.1.1.1/24
    em1 up up
    em1.0 up up inet 12.1.1.11/24
    em2 up down
    gre up up
    ipip up up
    irb up up
    irb.0 up down inet
    lo0 up up
    lo0.16384 up up inet 127.0.0.1 --> 0/0
    lo0.16385 up up inet 128.0.0.4 --> 0/0
    inet6 fe80::200:f:fc00:1111
    lsi up up
    mtun up up
    pimd up up
    pime up up
    pip0 up up
    pp0 up up
    tap up up



  • 9.  RE: Why is the vrrp not running?

     
    Posted 03-23-2017 17:36

    You don't seem to have any ethernet interfaces visible.  What type of device is this?

     

    Use this to verify what is installed

    show chassis hardware

     

    or on a chassis device like the MX

    show chassis hardware models



  • 10.  RE: Why is the vrrp not running?

     
    Posted 03-23-2017 19:33

    Hi Folks,

    For devices with dedicated management ports, Junos OS automatically configures the router’s management Ethernet interface, as either em0 or fxp0. You can use the show interfaces terse | match fxp0 or show interfaces terse | match em0 command to display management interface information.

     

    To use the management Ethernet interface as a management port, you must configure its logical port, em0.0 or fxp0.0, with a valid IP address.

     

    For PTX Series Packet Transport Routers, the Junos OS automatically creates the router’s management Ethernet interface, em0. To use em0 as an out-of-band management port, you must configure its logical port (for example, em0.0) with a valid IP address.

     

    Please avoid enabling protocls on the router’s management Ethernet interface.



  • 11.  RE: Why is the vrrp not running?

    Posted 04-03-2017 23:46

    Take a look at this explanation for these interfaces

    http://forums.juniper.net/t5/Routing/Show-interface-terse-in-Juniper/td-p/302355

    See this article understanding the interface requirements for vrrp

    https://www.juniper.net/documentation/en_US/junos/topics/concept/vrrp-overview-ha.html

     

    IRB Interfaces and RVI Functions and Other Technologies

    IRB interfaces and RVIs are similar to switch virtual interfaces (SVIs) and bridge-group virtual interfaces (BVIs), which are supported on other vendors’ devices. They can also be combined with other functions:

    • VRF is often used in conjunction with Layer 3 subinterfaces, allowing traffic on a single physical interface to be differentiated and associated with multiple virtual routers. For more information about VRF, see Understanding Virtual Routing Instances on EX Series Switches .
    • For redundancy, you can combine an IRB interface or RVI with implementations of the Virtual Router Redundancy Protocol (VRRP) in both bridging and virtual private LAN service (VPLS) environments. For more information about VRRP, see Understanding VRRP on EX Series Switches.