Network issue

Smiley1312

New Member
Jan 26, 2020
4
0
1
28
Hello i'm pretty new to proxmox, and i'm having trouble getting the network connection for my virtual machine working,

this is how my configuration looks

iface eth0 inet static
address 81.7.13.253
netmask 255.255.255.255
up ip route add 81.7.13.1 dev eth0
up ip route add default via 81.7.13.1
down ip route del default via 81.7.13.1
down ip route del 81.7.13.1 dev eth0

iface eth0 inet6 static
address 2a02:0180:0006:0001:0000:0000:0000:04d5
netmask 128
up ip route add 2a02:0180:0006:0001:0000:0000:0000:0001 dev eth0
up ip route add default via 2a02:0180:0006:0001:0000:0000:0000:0001
down ip route del default via 2a02:0180:0006:0001:0000:0000:0000:0001
down ip route del 2a02:0180:0006:0001:0000:0000:0000:0001 dev eth0
hwaddress ether 40:b0:76:dd:11:cd

auto vmbr0
iface vmbr0 inet static
address 91.143.80.56
netmask 255.255.255.255
gateway 91.143.80.1
bridge-ports none
bridge-stp off
bridge-fd 0
 

Attachments

  • network.ng.png
    network.ng.png
    104 KB · Views: 12
  • windows.png
    windows.png
    254.5 KB · Views: 12
bridge-ports none

No VM won't be able to talk with anyone outside the PVE host, if connected through vmbr0 bridge - which it probably is as that's your only bridge.

You want to set eth0 as bridge port and move all network configuration to the bridge entry, so that for eth0 you just have something like iface eth0 inet manual.

By default, we use the vmbr0 bridge for two things:
* PVE host address and network
* Bridge for VMs and CTs to be able to talk to whatever the bridge ports are able to talk to (normally LAN/WAN)

You can do much more complex things but this is a general configuration which allows all, the Host, VMs and CTs talk to the network via a single network interface.


Your configuration leaves the bridge as a "dummy" internal bridge, it has no connection to the outside world (where outside is the network beyond the PVE host itself).

If you need a few specific things it would be good to tell us your network topology and what/how the VMs should connect to it.
 
No VM won't be able to talk with anyone outside the PVE host, if connected through vmbr0 bridge - which it probably is as that's your only bridge.

You want to set eth0 as bridge port and move all network configuration to the bridge entry, so that for eth0 you just have something like iface eth0 inet manual.

By default, we use the vmbr0 bridge for two things:
* PVE host address and network
* Bridge for VMs and CTs to be able to talk to whatever the bridge ports are able to talk to (normally LAN/WAN)

You can do much more complex things but this is a general configuration which allows all, the Host, VMs and CTs talk to the network via a single network interface.


Your configuration leaves the bridge as a "dummy" internal bridge, it has no connection to the outside world (where outside is the network beyond the PVE host itself).

If you need a few specific things it would be good to tell us your network topology and what/how the VMs should connect to it.

When i set eth0 as bridge port, my server won't respond, and i cannot login into proxmox anymore
 
When i set eth0 as bridge port, my server won't respond, and i cannot login into proxmox anymore

Did you moved also all the address configuration away from eth0 so that only iface eth1 inet manual is leftover from that part?

Some information what you actually want to achieve would also still be great to have :)
 
I only have one interface on the server, which is eth0, what do you mean by eth1, i'm sorry for asking, but how do i move all the address configuration, i want to run a windows server 2019 vm, on the proxmox server
 

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!