If you chose this method then add the primary statement to address that you want to primary and add the preferred statement if you also want it to be the prefered address. For example
set interfaces ge-0/0/0 unit 0 family inet address 173.xxx.xxx.xx4/24 primary preferred
ge-0/0/0 {
unit 0 {
family inet {
address 173.xxx.xxx.xx1/24;
address 173.xxx.xxx.xx4/24{
primary;
preferred;
}
address 173.xxx.xxx.xx5/24;
address 173.xxx.xxx.xx2/24;
address 173.xxx.xxx.xx3/24;
}
}
aditional info:
The primary address on an interface is the address that is used by default as the local address for broadcast and multicast packets sourced locally and sent out the interface
The preferred address on an interface is the default local address used for packets sourced by the local router to destinations on the subnet. By default, the numerically lowest local address is chosen.