Re: [j-nsp] Independent /32s for Interfaces - anybody doing that?

2016-05-31 Thread Chris Kawchuk
Just to add to this

On 31 May 2016, at 9:31 pm, Vincent Bernat  wrote:

> Unfortunately, the support vary widely accross vendors. I believe the
> support is pretty good with Cisco. With Juniper, it really depends on
> the equipment. The MX has pretty good support, but has some limitations
> (for example, static BFD + unnumbered doesn't work). 


Doing ip-unnumbered/OSPF on interfaces and also enabling LDP in the interface 
-- every now and then the LDP doesn't survive reboot, and have to "kick" (clear 
ldp neighbors) the LDP sessions for inet.3 to correctly populate on the box 
once OSPF is back up and established. It's once of the reasons I have never 
widely deployed using ip-unnumbered w/OSPF and MPLS in anything other than my 
lab environments. Happened on 13.x through 15.x on MX80 and MX480s with various 
RE's and SCBs/SCBEs. Never got around to opening a PR on this though...

Agreed is great for lab and quick prototyping so I don't have to fiddle around 
with assigning /30s and /31s when Im trying to do something higher-layer 
(L3VPN/VPLS/eVPN/iBGP/etc..)

Juniper produced a J-Learn called "MPLS Plug and Play for Metro Ethernet" 
(google for it) from many years ago (2007) which explicitly showed how to setup 
your devices to automatically create an IGP/MPLS/LDP mesh in a metro (for 
L2CKTs)...although it works for any topology of your choice.  Heavily uses the 
ip-unnubered and the lo0.0 inheritance schemes discussed in this thread; so 
should be widely supported if they were pushing this

- CK.


___
juniper-nsp mailing list juniper-nsp@puck.nether.net
https://puck.nether.net/mailman/listinfo/juniper-nsp


Re: [j-nsp] Independent /32s for Interfaces - anybody doing that?

2016-05-31 Thread v

Now I understand - thank you very much for your explanations!

Am 2016-05-31 um 13:31 schrieb Vincent Bernat:

  ❦ 31 mai 2016 13:12 CEST, v  :


I just read about using independent /32 addresses for interfaces and I
would like to know whether anybody uses that. Found the following
information about such a configuration:
-This means that there is no relation between the addresses on the two ends of 
an interface
-This relies on the IGP to provide this relationship
-This significantly reduces the burden of address management and synchronization
-Also, reconfiguration of topology is much easier

Are there more pros and cons than that?
Does anyone have experience with such a configuration?

Hi!

I believe that you are talking about unnumbered interfaces: you put a
/32 on a loopback and you tell other interfaces to use the loopback
address. For example:

interfaces {
 lo0 {
 unit 1 {
 family inet {
 address 203.0.113.3/32;
 }
 }
 }
 ge-0/0/1 {
 unit 0 {
 family inet {
 unnumbered-address lo0.1;
 }
 }
 }
 ge-0/0/2 {
 unit 0 {
 family inet {
 unnumbered-address lo0.1;
 }
 }
 }
}

I find this scheme very convienent:

  1. You can use only one public IP address for the whole equipment.

  2. You have less configuration to do and this is less error-prone. An
 IGP like OSPF would make each router discover the addresses of all
 other routers automatically.

Unfortunately, the support vary widely accross vendors. I believe the
support is pretty good with Cisco. With Juniper, it really depends on
the equipment. The MX has pretty good support, but has some limitations
(for example, static BFD + unnumbered doesn't work). The QFX doesn't
support unnumbered interfaces in various places (like for example, on an
IRB interface). From what I have been told, Juniper has no plan to fix
that. Cumulus supports them too (but I can't testify on the completeness
of the support). Other vendors may have no support at all for this, so
you get into some kind of vendor-lockin if you rely on this.


___
juniper-nsp mailing list juniper-nsp@puck.nether.net
https://puck.nether.net/mailman/listinfo/juniper-nsp

Re: [j-nsp] Independent /32s for Interfaces - anybody doing that?

2016-05-31 Thread Vincent Bernat
 ❦ 31 mai 2016 13:12 CEST, v  :

> I just read about using independent /32 addresses for interfaces and I
> would like to know whether anybody uses that. Found the following
> information about such a configuration:
> -This means that there is no relation between the addresses on the two ends 
> of an interface
> -This relies on the IGP to provide this relationship
> -This significantly reduces the burden of address management and 
> synchronization
> -Also, reconfiguration of topology is much easier
>
> Are there more pros and cons than that?
> Does anyone have experience with such a configuration?

Hi!

I believe that you are talking about unnumbered interfaces: you put a
/32 on a loopback and you tell other interfaces to use the loopback
address. For example:

interfaces {
lo0 {
unit 1 {
family inet {
address 203.0.113.3/32;
}
}
}
ge-0/0/1 {
unit 0 {
family inet {
unnumbered-address lo0.1;
}
}
}
ge-0/0/2 {
unit 0 {
family inet {
unnumbered-address lo0.1;
}
}
}
}

I find this scheme very convienent:

 1. You can use only one public IP address for the whole equipment.

 2. You have less configuration to do and this is less error-prone. An
IGP like OSPF would make each router discover the addresses of all
other routers automatically.

Unfortunately, the support vary widely accross vendors. I believe the
support is pretty good with Cisco. With Juniper, it really depends on
the equipment. The MX has pretty good support, but has some limitations
(for example, static BFD + unnumbered doesn't work). The QFX doesn't
support unnumbered interfaces in various places (like for example, on an
IRB interface). From what I have been told, Juniper has no plan to fix
that. Cumulus supports them too (but I can't testify on the completeness
of the support). Other vendors may have no support at all for this, so
you get into some kind of vendor-lockin if you rely on this.
-- 
Program defensively.
- The Elements of Programming Style (Kernighan & Plauger)
___
juniper-nsp mailing list juniper-nsp@puck.nether.net
https://puck.nether.net/mailman/listinfo/juniper-nsp

Re: [j-nsp] Independent /32s for Interfaces - anybody doing that?

2016-05-31 Thread Mark Tinka


On 31/May/16 13:12, v wrote:

> Hello,
>
> I just read about using independent /32 addresses for interfaces and I
> would like to know whether anybody uses that. Found the following
> information about such a configuration:
> -This means that there is no relation between the addresses on the two
> ends of an interface
> -This relies on the IGP to provide this relationship
> -This significantly reduces the burden of address management and
> synchronization
> -Also, reconfiguration of topology is much easier
>
> Are there more pros and cons than that?
> Does anyone have experience with such a configuration?

For your Loopback interface.

Think of it as a unique way to identify every device in your network,
regardless of the forwarding path taken to get to it.

Mark.
___
juniper-nsp mailing list juniper-nsp@puck.nether.net
https://puck.nether.net/mailman/listinfo/juniper-nsp


[j-nsp] Independent /32s for Interfaces - anybody doing that?

2016-05-31 Thread v

Hello,

I just read about using independent /32 addresses for interfaces and I would 
like to know whether anybody uses that. Found the following information about 
such a configuration:
-This means that there is no relation between the addresses on the two ends of 
an interface
-This relies on the IGP to provide this relationship
-This significantly reduces the burden of address management and synchronization
-Also, reconfiguration of topology is much easier

Are there more pros and cons than that?
Does anyone have experience with such a configuration?

Regards,
v
___
juniper-nsp mailing list juniper-nsp@puck.nether.net
https://puck.nether.net/mailman/listinfo/juniper-nsp