The main server ip is no longer in the network interface eno1 and can't edit

**Operating system:**Debian
**OS version:**10

Hello,

Yesterday I added 4 virtual interfaces (ip failover) to the active iterface named eno1. I named them eno1: 1, eno1: 2, eno1: 3, eno1: 4 and the domains configured on the ip’s are working.
Since for eno1 I no longer have an ip address or subnet mask configured, only ipv6.
if I do an ifconfig in ssh I have this result without inet:

eno1: flags = 4163 <UP, BROADCAST, RUNNING, MULTICAST> mtu 1500
inet6 fe80 :: ae1f: 6bff: fee1: d084 prefixlen 64 scopeid 0x20
ether ac: 1f: 6b: e1: d0: 84 txqueuelen 1000 (Ethernet)
RX packets 89699158 bytes 68623929788 (63.9 GiB)
RX errors 0 dropped 7 overruns 0 frame 0
TX packets 80481292 bytes 85513526589 (79.6 GiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

I cannot edit the interface from the online webmin panel.
Besides, I can no longer access it with the hostname based on the main server IP nor in ssh, I have to use one of the 4 failover IPs.

How to restore the main server ip for inet and the subnet mask to eno1 from the command line?

Thanks
Seb

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.