[j-nsp] OSPF from secondary IP addresses
Daniel Roesen
dr at cluenet.de
Tue Oct 21 17:36:31 EDT 2003
On Wed, Oct 22, 2003 at 10:01:31AM +1300, Chris Hellberg wrote:
> Have you tried putting a preferred keyword under the address config
> stanza in the interface?
"primary", not "preferred". The latter selects the preferred IP within
a subnet if more than one IP in the *same* subnet is configured on the
unit.
Example:
10.0.0.1/24
10.0.0.22/24
192.168.0.1/24
"preferred" on 192.168.0.1 would change nothing, as there is no other
IP in 192.168.0.0/24 configured. "primary" would make 192.168.0.1 the
primary address of the interface.
172.16.0.1/24
192.168.55.1/24
192.168.55.22/24
By default, JunOS would use 192.168.55.1 as source address when talking
to other hosts in 192.168.55.0/24. By setting "preferred" on
192.168.55.22, this IP address would be used to talk to hosts in
192.168.55.0/24, but STILL 172.16.0.1 stays the _primary_ interface IP.
Best regards,
Daniel
More information about the juniper-nsp
mailing list