[prev in list] [next in list] [prev in thread] [next in thread] 

List:       juniper-nsp
Subject:    RE: [j-nsp] Loopbacks per VRF or in inet.0
From:       "Bosco Sachanandani" <Bosco.Sachanandani () orange ! co ! in>
Date:       2004-06-16 10:22:14
Message-ID: B624AC5C59E82B43B94C6204F4F125E5A95151 () mumlpa2kap01 ! hmtl ! co ! in
[Download RAW message or body]


I want to use 1.1.1.1/32 for one BGP session with customer A and 2.2.2.2/32 for \
another BGP session with customer B. I have specified the 'local-address' for both \
customer BGP groups (1.1.1.1/32 for A and 2.2.2.2/32 for B).

I am able to ping the BGP peer IP addresses of both customers by specifying the \
source as the loopbacks. There are no firewalls dropping TCP sessions for BGP to come \
up. However, the above config does not work.

Customer B's BGP Session (source 2.2.2.2/32 to peer x.x.x.x) just sits there and does \
nothing. I am able to ping x.x.x.x.


I came accross this too today. Say:

    protocols {
        bgp {
            group customer {
                type external;
                peer-as 100;
                as-override;
                neighbor 10.49.0.1;
                neighbor 20.49.0.1;
            }
        }

BGP comes up between source 1.1.1.1/32 and destination 10.49.0.1. But does not do \
anything for 20.49.0.1. (I am able to ping 20.49.0.1) It just sits there. If I \
deactivate 10.49.0.1 then it comes up instantly.

I am using Junos 5.5R3.1 (with encryption) and trying to peer with a Cisco box at the \
other end.

Thanks for your time with this.

regards,
Bosco








-----Original Message-----
From: Cliff DeGuzman [mailto:cliff@juniper.net]
Sent: Tuesday, June 15, 2004 8:26 PM
To: Bosco Sachanandani; Paul Goyette; juniper-nsp@puck.nether.net
Subject: RE: [j-nsp] Loopbacks per VRF or in inet.0


Bosco,

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

Regards,
Cliff

+++++++++++++++++++++++++++++++++++++++
cliff@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@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@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@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@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@puck.nether.net 
> [mailto:juniper-nsp-bounces@puck.nether.net] On Behalf Of 
> Bosco Sachanandani
> Sent: Tuesday, June 15, 2004 7:04 AM
> To: Paul Goyette; juniper-nsp@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@juniper.net]
> Sent: Tuesday, June 15, 2004 7:08 PM
> To: Bosco Sachanandani; juniper-nsp@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@puck.nether.net
> [mailto:juniper-nsp-bounces@puck.nether.net]On Behalf Of 
> Bosco Sachanandani
> Sent: Tuesday, June 15, 2004 6:39 AM
> To: juniper-nsp@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@puck.nether.net 
> http://puck.nether.net/mailman/listinfo/junipe> r-nsp
> 
> 
> 
> _______________________________________________
> 
> juniper-nsp mailing list juniper-nsp@puck.nether.net 
> http://puck.nether.net/mailman/listinfo/junipe> r-nsp
> 

_______________________________________________
juniper-nsp mailing list juniper-nsp@puck.nether.net
http://puck.nether.net/mailman/listinfo/juniper-nsp


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic