Internal IP changed after losing power and rebooting. Centos 8

cbar

New member
Joined
Nov 4, 2020
Messages
1
Hi, guys, I lost connectivity to the server, all domains down, ,and after login back on the machine found out that the machine ip changed by running
/sbin/ifconfig

so, I went into the router and changed as well and then run cd/ usr/local/directadmin/custombuild
./build rewite_confs

problem resolved but how can I avoid the machine Ip changing again?

thank you for your help!
 
ip not change if you use static ip
in this case, you are using dynamic ip

try config static ip in your server.
( should config with ssh console )


Thanks,
 
Back
Top