Junos
Junos

loopback interfaces

‎06-09-2015 08:37 AM

Hi,

 

i am using Olive with GNS to get habitual with Juniper....

 

To make a lab, i want to create multiple loopback interfaces with IP address.

but i am only able to create lo0 with unit 0.

i m not able to create multiple loopback interfaces like0,1,2,3 etc and when i created multiple unit with lo0 with different ips

erroer appears:

'unit 1'
    if_instance: Multiple loopback interfaces not permitted in master routing instance
error: configuration check-out failed.

 

How to resolve this...

Is it possible to create multiple loopback interfaces in Junos...yes then.how? no then what is work around...

when multiple unit no of same interfaces are used..

 

S@ndy.

 

3 REPLIES 3
Junos

Re: loopback interfaces

‎06-09-2015 11:14 AM
only one unit is allowed in an instance in Junos on loopback interface.
so in master instance you will have to configure only unit 0, if unit 1 or so configured junos won't allow the commit.
on other interfaces like gig you can use vlan tagging and create more units (sub interfaces).
_
Regards
Malik
4xJNCIE, 3xJNCSP, 3xJNCDS, CCIE, HCIE, VCIX-DCV, VCIX-NV, CISSP, JNCIS-ENT-Cloud, JNCIS-DevOps, PCNSE7

[If it helped to solve your problem, Please mark it "Accept as solution"; Kudos are always Appreciated]
Junos

Re: loopback interfaces

‎06-09-2015 12:01 PM

Hi,

 

You can put many IP addresses on a single unit:

 

[edit interfaces]
lab@RTR_A# show lo0
unit 0 {
    family inet {
        address 1.1.1.1/32;
        address 1.1.1.2/32;
        address 1.1.1.3/32;
    }
    family inet6 {
        address fd17:f0f4:f691:15::1/128;
    }
}

 

Hope this helps.

JNCIE-ENT #552, JNCSP-ENT, JNCIP-SEC, JNCIP-SP, JNCIP-DC, JNCDS-DC, JNCDS-SEC, JNCDS-SP, CCNP, CCDA
Junos

Re: loopback interfaces

‎06-14-2015 11:48 PM

You can start using routing-instances for this (VRF on cisco (to keep it simple :-))

Marc



-----------------------------------------------------------------
Please Mark My Solution Accepted if it Helped, Kudos are Appreciated Too
-----------------------------------------------------------------