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@vmx1> show configuration interfaces ge-0/0/0.0 family inet
address 10.10.1.0/31;
address 10.10.99.100/24;
address 10.10.99.2/24;
address 10.10.99.3/24;
root@vmx1> show interfaces ge-0/0/0.0 terse
Interface Admin Link Proto Local Remote
ge-0/0/0.0 up up inet 10.10.1.0/31
10.10.99.2/24
10.10.99.3/24
10.10.99.100/24
multiservice
root@vmx1>
..and I execute the "ping 10.10.99.200", then the source address is 10.10.99.2.
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@puck.nether.net
https://puck.nether.net/mailman/listinfo/juniper-nsp
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@vmx1> show configuration interfaces ge-0/0/0.0 family inet
address 10.10.1.0/31;
address 10.10.99.100/24;
address 10.10.99.2/24;
address 10.10.99.3/24;
root@vmx1> show interfaces ge-0/0/0.0 terse
Interface Admin Link Proto Local Remote
ge-0/0/0.0 up up inet 10.10.1.0/31
10.10.99.2/24
10.10.99.3/24
10.10.99.100/24
multiservice
root@vmx1>
..and I execute the "ping 10.10.99.200", then the source address is 10.10.99.2.
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@puck.nether.net
https://puck.nether.net/mailman/listinfo/juniper-nsp