[j-nsp] source address selection for RE generated traffic addresses to direct neighbors

Ivan Malyarchuk malyarchuk at cyfra.ua
Wed Jan 23 04:12:50 EST 2019

Look at default-address-selection option description:
For IPv4: If this option is not enabled, and destination is directly 
connected then Is-Preffered address from this subnet is used, if not 
direct then junos uses Is-Primary address of interface.

If option is enabled, then address with "Is-Default" flag used for all 
connections except some special cases like ebgp or ldp (it is lo0.0 in 
most cases)

For IPv6 there is "scope" algorithm described in rfc6724, but I am not 
sure how junos follows it.

22.01.2019 19:18, Martin T пишет:
> Hi,
> how does Junos choose the source address for RE generated traffic
> addresses to direct neighbors if the application(for example ping
> utility) does not bind to specific address? Does it choose the first
> address configured on the egress interface which falls in the same
> network as the destination address? Looks like it because if I have a
> following configuration:
> root at vmx1> show configuration interfaces ge-0/0/0.0 family inet
> address;
> address;
> address;
> address;
> root at vmx1> show interfaces ge-0/0/0.0 terse
> Interface               Admin Link Proto    Local                 Remote
> ge-0/0/0.0              up    up   inet
>                                     multiservice
> root at vmx1>
> ..and I execute the "ping", then the source address is
> And for IPv6 it should be very straightforward. RFC6724 defines the
> "Prefer appropriate scope" rule and as Junos seems to allow only
> single link-local IPv6 address per IFL, then for locally generated
> IPv6 traffic addressed to direct neighbors uses that link-local IPv6
> address as a source address?
> thanks,
> Martin
> _______________________________________________
> juniper-nsp mailing list juniper-nsp at puck.nether.net
> https://puck.nether.net/mailman/listinfo/juniper-nsp

С уважением,
Иван Малярчук
Украина, Киев
(044) 206-77-33 доб.155

More information about the juniper-nsp mailing list