[SOLVED] Can't get IP address to migrated DEBIN guest

muekno

Member
Dec 15, 2023
164
11
18
I'm relative new to PROXMOX, but have lot of knolledge to ESXi and Linux SUSE and Debian.
After successfull installing Linux Mint and Windows Server 2019 and a simple Debian 11 without GUI i tried to migrate a simple Debian 12 to PROXMOX. So far so fine, but I can not get a IP to that server.
Did read quite a lot of articles, and a lot of different /etc/network/interfaces versions but now success

Current version is
Code:
auto lo
iface lo inet loopback
auto ens18
iface ens18 inet manual
auto vmbr0
iface ens18 inet static
    address 172.16.1.99/24
    gateway 172.16.1.254
    bridge-ports ens18
    bridge-stp off
    bridge-fd 0

I got the ens18 from the other fine working VMs

Need som help

Thanks
Rainer
 
thank you it works, I got that from one of the post I read. Seamed curios for me. but as iI had it with vmbr0 before without working, propably something else was still wrong.

Regards

Rainer
 
Sorry to ask you again. The Server I had the fixed issue was a test migration, and I shut it down after it work.
Now I migrated a smilar Debian 11 Server and I configured it the same way, only other IP Address. But starting I get
"failed to raise network interface"
I compared all setting driver etc. no difference, so I started the test server and get the same error.

Other things I did in the meantime I migrated a win 7 testserver without much problem, just had to install additional drivers
and I migrated a production SUSE SLES server without any problems, I even had nothing to change in the network config, vmbr0 foud automaticly

so whats wrong, as a /etc/network/interfaces reference you can take this from above corrected as you wrote and other ip address

Tanks for any help
 
Last edited:
I am more and more confused.
I have a debian12 minimal installation that worked earlier. with the above. after some research I changed
the interfaces to
Code:
cat /etc/network/interfaces
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

source /etc/network/interfaces.d/*

# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
auto ens18
iface ens18 inet static
    address 172.16.1.98/24
    gateway 172.16.1.254
    dns-nameservers 172.16.1.240 172.16.1.242
    dns search muekno.de

# This is an autoconfigured IPv6 interface
iface ens18 inet6 auto

and I can reach the whole world


So I configured the micrated debian1 test server, minimal installation to, that from above the same only other ip address
error "failed to raise network interface"

the same if configured as above with correction


Rainer
 
Please can somebody explain me why
Code:
auto lo
iface lo inet loopback
auto ens18
iface ens18 inet manual
auto vmbr0
iface ens18 inet static
    address 172.16.1.99/24
    gateway 172.16.1.254
    bridge-ports ens18
    bridge-stp off
    bridge-fd 0
does not work

but this

Code:
auto lo
iface lo inet loopback

# The primary network interface
auto ens18
iface ens18 inet static
    address 172.16.1.245
    netmask 255.255.255.0
    network 172.16.1.0
    broadcast 172.16.1.255
    gateway 172.16.1.254
    dns-domain muekno.de
    dns-search gerdakloos.de
    dns-nameserver 172.16.1.242
    dns-nameserver 172.16.1.240

auto ens18:0
iface ens18:0 inet static
    address 172.16.1.246
    netmask 255.255.255.0

works with and without secondary IP address
on Debian 11 servers on new installed and migrated servers.

By the way, my first test was with a new installed Debian and worked with the vmbr0 version untill I installed/migrated windows machines
and now the same machine only works without vmbr0

Thank you
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!