Why the ip address of my virtual centos server get changed after reboot. what is the exact procedure to set it permanently? [closed]

enter image description here

When I set ip address using ip addr add / dev , it is visible while executing ifconfig. but after reboot , it is not showing in my centos virtual box. how to set ip address and it should not impact after reboot.

  • 1

    Welcome to Stack Overflow! Please re-read the guidance for the tags you’ve used. This is clearly a question about system configuration, not about programming, so is off-topic for Stack Overflow. It might be suitable for Server Fault or Super User or Unix & Linux: consult the Help Centre for the site before you post.

    – 

Leave a Comment