Hello
If you have two interfaces configured with IPs overlapping from same subnet.
Junos will have to two create direct-route like below for same esubnet:
Configuration:
*********
root# show interfaces
ge-0/0/0 {
unit 0 {
family inet {
address 10.10.10.1/24;
}
}
}
ge-0/0/6 {
unit 0 {
family inet {
address 10.10.10.2/24;
}
}
}
*********
*********
root> show route
10.10.10.0/24 *[Direct/0] 00:00:19
> via ge-0/0/0.0
[Direct/0] 00:00:19
> via ge-0/0/6.0
10.10.10.1/32 *[Local/0] 00:00:19
Local via ge-0/0/0.0
10.10.10.2/32 *[Local/0] 00:00:19
Local via ge-0/0/6.0
**********
While processing traffic, you would see behavior like you are experiencing now.
Hence it is recommended to have routing-instace configured for overlapping IPs of a subnet.
Hope this clarifies!
Regards,
Raveen