Lost Connection after "systemctl restart networking"

optimusprime90

New Member
Jun 4, 2025
3
0
1
So i was troubleshooting muti vlans setup on the hot and i did "systemctl restart networking" in ssh, immediately i lost the remote access and when i tried to connect to the host locally it just shows up kernel bootup on the screen and then screen goes off like nothing is connected but the host machine stays up and there is not any connectivity !
 
if you restart that service, than all of the networking stack is torn down and brought up again. likely your config was broken when you did that..

do you have physical access (serial console, ipmi)? if so, you should look at the boot logs and the current state of the network config..
 
i have access to host locally, its currently connected directly to a monitor screen, i went into the bios setup and enabled LAN stack (it was disabled), but same thing, it just loads the kernal and shows "volume detected" etc and then just screen goes off
 
then likely you need to set some kernel cmdline parameters to get graphical output - what kind of GPU does the system have?
 
you can try editing the linux cmdline in the bootloader and add "nomodeset" to it