Junos
Junos

Dual RE with same IP address on fxp0?

12.15.08   |  
‎12-15-2008 12:48 AM

Hi,

In all example I have seen there are different IP addresses on each RE fxp0.

 

Is it possible to have the same IP address on both RE ?

 

//Niklas

1 REPLY
Highlighted
Junos

Re: Dual RE with same IP address on fxp0?

12.15.08   |  
‎12-15-2008 01:33 PM

Hi Niklas,

 

Yes, it is possible for both to have the same address.  Just configure fxp0.0 in the main section of the config with a single address, commit synchronise and you're done.  However, this has some significant issues.  First of all, you will probably see duplicate IP addresses on your network if both are physically connected!

 

It is possible for both REs to share an address that is only active on the master RE.  You can configure this under  groups as follows.

 

groups {

  re0 {

    interfaces {

      fxp0 {

        unit 0 {

          family inet {

            address 192.168.1.1/24;

            address 192.168.1.254/24 {

              master-only;

            }

          }

        }

      }

    }

  }

  re1 {

    interfaces {

      fxp0 {

        unit 0 {

          family inet {

            address 192.168.1.2/24;

            address 192.168.1.254/24 {

              master-only;

            }

          }

        }

      }

    }

  }

}

 

Rgds,

 

Guy