Training and Certification

last person joined: 8 days ago 

How to get the most from Juniper's education services and get advice on your certification journey.
  • 1.  Need to create Multiple loopback units

    Posted 06-30-2017 23:55

    Hello,

     

    Please suggest the way if i can create multiple loopback unit on master routing instance, if i am trying to do so i am getting below error.

     

    [edit]
    root@R1# set interfaces lo0 unit 1 family inet address 10.10.1.1/24

    [edit]
    root@R1# commit check
    [edit interfaces lo0]
    'unit 1'
    if_instance: Multiple loopback interfaces not permitted in master routing instance
    error: configuration check-out failed



  • 2.  RE: Need to create Multiple loopback units
    Best Answer

    Posted 07-01-2017 03:57

    Hello,

    This is not supported. BUT - You can add multiple IP addresses to the same unit:

    set interfaces lo0 unit 0 family inet address 10.10.2.1/24
    set interfaces lo0 unit 0 family inet address 172.16.1.1/24
    set interfaces lo0 unit 0 family inet address 192.168.1.1/24

    HTH

    Thx

    Alex



  • 3.  RE: Need to create Multiple loopback units

    Posted 07-01-2017 11:40

    Hello,

     

    As mentioned in the below juniper document "Only unit 0 is permitted as the master loopback interface. If you want to add more IP addresses to unit 0, you configure them in the normal way under unit 0".

     

    https://www.juniper.net/documentation/en_US/junos/topics/task/configuration/loopback-interface.html 


    In the below snapshot, adding multiple addresses under unit 0 doesn't give any error on commit check. However, when we add another unit junos doesn't accept it : "Multiple loopback interfaces not permitted in master routing instance". Another loopback unit is permitted under a routing instance.


    lab@R1# set interfaces lo0 unit 0 family inet address 2.2.2.2

    [edit]
    lab@R1# set interfaces lo0 unit 0 family inet address 3.3.3.3

    [edit]
    lab@R1# commit check
    configuration check succeeds

    [edit]
    lab@R1# set interfaces lo0 unit 1 family inet address 5.5.5.5

    [edit]
    lab@R1# commit check
    [edit interfaces lo0]
    'unit 1'
    if_instance: Multiple loopback interfaces not permitted in master routing instance
    error: configuration check-out failed

     

     


    Regards,
    Rahul

    Please mark my solution as accepted if it helped.