I have created an ec2 ubuntu instance with an initial public IP assigned. After, I added two additional elastic IPs to the machine and did ip addr add ELASTIC_IP/20 dev ens5
to enable them on the machine.
There is an existing program written in NodeJS that constantly sends out rest requests. Just want to confirm my understanding, if localAddress is not specified in the request, then all traffic will still be sent through the initial public IP. am i correct? would be appreciate if anyone can share pointers to this.
Thank you!