RTNETLINK answers: File exists

I am facing issue while assigning ip to app0 to app4 labs … IP is not assigning to dev eth0 interface. i tried sudo ip addr add ip_address dev eth0 command then i got error message like RTNETLINK answers: File exist error.

Hello @umesh.patil,
Can you please share the lab URL?

Thanks,
KodeKloud Support

I just tried and resolved this issue. thank for help.

You are welcome.
Happy learning!

I am also the same problems at DevOps Pre-Requisite Course | KodeKloud
When i assign sudo ip addr add 172.16.239.16/24 dev eth0, i always got "RTNETLINK answers: File exists

how to solve it?

Many thanks in advance.

I could solve my self, i just forget to login first to the app with ssh app01, 02…