[j-nsp] Loopbacks per VRF or in inet.0

Cliff DeGuzman cliff at juniper.net
Tue Jun 15 10:56:06 EDT 2004


Bosco,

Just curious, which part does not work?  What version of JUNOS?

Regards,
Cliff

+++++++++++++++++++++++++++++++++++++++
cliff at vpn12# show interfaces lo0 
unit 0 {
    family inet {
        address 127.0.0.1/32;
    }
}
unit 1 {
    family inet {
        address 1.1.1.1/32;
        address 2.2.2.2/32;
    }
}

[edit]
cliff at vpn12# show routing-instances 
vpna {
    instance-type vrf;
    interface t1-0/1/2.1;
    interface lo0.1;                       <<<<<<<<<<<
    vrf-target target:200:100;
    protocols {
        bgp {
            group customer {
                type external;
                peer-as 100;
                as-override;
                neighbor 10.49.0.1;
            }
        }
    }
}

[edit]
cliff at vpn12# run show route table vpna protocol direct 

vpna.inet.0: 4 destinations, 4 routes (4 active, 0 holddown, 0 hidden)
+ = Active Route, - = Last Active, * = Both

1.1.1.1/32         *[Direct/0] 00:03:18
                    > via lo0.1
2.2.2.2/32         *[Direct/0] 00:01:54
                    > via lo0.1

[edit]
cliff at vpn12# run ping 1.1.1.1 routing-instance vpna 
PING 1.1.1.1 (1.1.1.1): 56 data bytes
64 bytes from 1.1.1.1: icmp_seq=0 ttl=255 time=0.370 ms
64 bytes from 1.1.1.1: icmp_seq=1 ttl=255 time=0.243 ms
^C
--- 1.1.1.1 ping statistics ---
2 packets transmitted, 2 packets received, 0% packet loss
round-trip min/avg/max/stddev = 0.243/0.306/0.370/0.064 ms

[edit]
cliff at vpn12# run ping 2.2.2.2 routing-instance vpna    
PING 2.2.2.2 (2.2.2.2): 56 data bytes
64 bytes from 2.2.2.2: icmp_seq=0 ttl=255 time=0.375 ms
64 bytes from 2.2.2.2: icmp_seq=1 ttl=255 time=0.240 ms
^C
--- 2.2.2.2 ping statistics ---
2 packets transmitted, 2 packets received, 0% packet loss
round-trip min/avg/max/stddev = 0.240/0.307/0.375/0.067 ms

> -----Original Message-----
> From: juniper-nsp-bounces at puck.nether.net 
> [mailto:juniper-nsp-bounces at puck.nether.net] On Behalf Of 
> Bosco Sachanandani
> Sent: Tuesday, June 15, 2004 7:04 AM
> To: Paul Goyette; juniper-nsp at puck.nether.net
> Subject: RE: [j-nsp] Loopbacks per VRF or in inet.0
> 
> 
> 
> Tried that as well but it does not work.... thanks anyways
> 
> regards,
> Bosco
> 
> -----Original Message-----
> From: Paul Goyette [mailto:pgoyette at juniper.net]
> Sent: Tuesday, June 15, 2004 7:08 PM
> To: Bosco Sachanandani; juniper-nsp at puck.nether.net
> Subject: RE: [j-nsp] Loopbacks per VRF or in inet.0
> 
> 
> Why not simply put multiple addresses on a single loopback interface?
> 
> -----Original Message-----
> From: juniper-nsp-bounces at puck.nether.net
> [mailto:juniper-nsp-bounces at puck.nether.net]On Behalf Of 
> Bosco Sachanandani
> Sent: Tuesday, June 15, 2004 6:39 AM
> To: juniper-nsp at puck.nether.net
> Subject: [j-nsp] Loopbacks per VRF or in inet.0
> 
> 
> 
> hi all,
> 
> I just discovered that only one loopback interface can be 
> part of a single VRF or inet.0.
> 
> I was trying to add 2 loopbacks (unit 1 and unit 2) as part 
> of the same VRF but it fails. Anyone suggest why is it so ?
> 
> My requirement is that in one VRF I have 4 BGP peers (2 
> providers at 2 different POPs). I would like to use 1 
> loopback interface for one provider and another loopback 
> interface for the other.
> 
> This requirement is because one provider wants me to use the 
> BGP peering IP address from his IP range and hence would give 
> me the IP.
> 
> Thanks in advance.
> 
> Bosco
> 
> 
> _______________________________________________
> juniper-nsp mailing list juniper-nsp at puck.nether.net 
> http://puck.nether.net/mailman/listinfo/junipe> r-nsp
> 
> 
> 
> _______________________________________________
> 
> juniper-nsp mailing list juniper-nsp at puck.nether.net 
> http://puck.nether.net/mailman/listinfo/junipe> r-nsp
> 



More information about the juniper-nsp mailing list