Hello,
I think it is pretty clear - You are telling Your SRX router the following:
1/ that all other addresses apart from 198.97.232.2 are directly connected to lo0.0
and
2/ that all other addresses apart from 198.97.232.1 are directly connected to lo0.0
No wonder it gets confused where .2 and .1 belong - "do they belong to me or are they directly connected?"
There is a workaround - You need to spell /24 only once as below:
aarseniev@srx210> show configuration interfaces lo0
Jul 17 11:03:52
unit 0 {
family inet {
address 198.97.232.2/24;
address 198.97.232.1/32;
}
}
And the result is:
aarseniev@srx210> show route 198.97.232.0/24
Jul 17 11:03:37
inet.0: 11 destinations, 12 routes (11 active, 0 holddown, 0 hidden)
+ = Active Route, - = Last Active, * = Both
198.97.232.0/24 *[Direct/0] 00:00:04
> via lo0.0
198.97.232.1/32 *[Direct/0] 00:00:04
> via lo0.0
[OSPF/10] 00:00:03, metric 0
> via lo0.0
198.97.232.2/32 *[Local/0] 00:00:04
Local via lo0.0
This is from SRX210 with JUNOS 11.4, I don't have a SRX with 12.1 code but expect it to behave the same.
HTH
Thanks
Alex