Hello Suraj,
I changed my comfig to type VR according to this article:
http://kb.juniper.net/InfoCenter/index?page=content&id=KB15545&smlogin=true
Now the backup line works, but the primary not, ## I have to correct myself, the line works just the mgmt acces don't ! That is a problem because of VPN so the primary interface won't accept VPN or any traffic directed to itself.
The article example has a firewall filter that directs traffic to TRUST-VRF.
I think I implemented the article in my lab without errors, but in my TRUST-VRF there is no default route so this is why it is not working.
Here is my route, I attach my new configuration:
trust-vrf.inet.0: 7 destinations, 7 routes (7 active, 0 holddown, 0 hidden)
+ = Active Route, - = Last Active, * = Both
192.168.6.0/24 *[Direct/0] 00:06:39
> via vlan.0
192.168.6.1/32 *[Direct/0] 00:06:41
> via lo0.0
192.168.6.254/32 *[Local/0] 00:06:39
Local via vlan.0
192.168.12.0/24 *[Direct/0] 00:06:39
> via ge-0/0/14.0
192.168.12.199/32 *[Local/0] 00:06:39
Local via ge-0/0/14.0
217.150.139.160/28 *[Direct/0] 00:06:41
> via ge-0/0/15.0
217.150.139.164/32 *[Local/0] 00:06:41
Local via ge-0/0/15.0