I switched network card in my home proxmox instance, and now I can't start / create a new vm.

akosvr

New Member
Feb 3, 2023
5
1
1
I changed the interface in /etc/network/interfaces, now it has an IP on my home network. But something is messed up in the config. Im not a networking expert nor deep einough in IT to be able to figure out what could be the problem. Here is my current /etc/network/interfaces
 

Attachments

  • Képernyőfotó 2023-02-03 - 17.39.57.png
    Képernyőfotó 2023-02-03 - 17.39.57.png
    49.1 KB · Views: 8
  • Képernyőfotó 2023-02-03 - 17.40.28.png
    Képernyőfotó 2023-02-03 - 17.40.28.png
    52.3 KB · Views: 8
The "iface ens1 inet static" stanza can not have a "bridge_ports xyz" ;-)

Which is your actual interface? eno0 or ens1? Check with "ip add show". If it is ens1 try this to create a bridge:

Code:
iface ens1 inet manual

auto vmbr0
iface vmbr0 inet static
        address 192.168.1.57/24
        gateway 192.168.1.1
        bridge-ports ens1
        bridge-stp off
        bridge-fd 0
 
The "iface ens1 inet static" stanza can not have a "bridge_ports xyz" ;-)

Which is your actual interface? eno0 or ens1? Check with "ip add show". If it is ens1 try this to create a bridge:

Code:
iface ens1 inet manual

auto vmbr0
iface vmbr0 inet static
        address 192.168.1.57/24
        gateway 192.168.1.1
        bridge-ports ens1
        bridge-stp off
        bridge-fd 0
Képernyőfotó 2023-02-04 - 14.59.15.png
 
The "iface ens1 inet static" stanza can not have a "bridge_ports xyz" ;-)

Which is your actual interface? eno0 or ens1? Check with "ip add show". If it is ens1 try this to create a bridge:

Code:
iface ens1 inet manual

auto vmbr0
iface vmbr0 inet static
        address 192.168.1.57/24
        gateway 192.168.1.1
        bridge-ports ens1
        bridge-stp off
        bridge-fd 0
I've tried the config that you suggested, above. Luckily I still able to reach my proxmox instance, but the network bridge still doens't show up. I did a "systemctl restart networking" and a "service pveproxy restart" before trying. EDIT: I did a full reboot, still didn't show up :/
 
Last edited:
Ah nevermind, I didn't save it correctly, after the restart, I pasted it again, and pressed a ctrl+s in nano. It's fine now, sorry. Thank you for your help ^^
 
  • Like
Reactions: UdoB

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!