2 IP Address not working in 1 VM with 2 Network Adapters in Cloud-Init

sahiltech

New Member
Jun 6, 2024
4
0
1
Hi Team,

I am assigning 2 IP addresses in the VM with the help of Cloud-init and I have connected 2 Adapters as well (1 for each IP),

Even though only 1 IP is pinging, the IP that is pinging is the least one.

I have tried assigning IPs single and both the IPs work, but when I am assigning 2 IPs simultaneously it is not working

Please check the screenshot as well,

I request to please help me in this issue,

Thanks & Regards

1717658891475.png1717658999978.png

1717659046888.png
 
Hi Gurubert,

Thank you for your quick response,

So you mean to say that instead of clou-init if I assign the IPs of 2 different gateways that will also not work?
 
Ohkk Understood, Thanks Gurubert,

So if I assign the 2 IP addresses of the same gateway that will work.
 
Hi,

That seems not be a issue with the different gateways,

Now I have tried assigning 2 IPs with same Gateways and found no luck

1717660303482.png1717660377421.png1717660422370.png