Hey proxmox community,
I use proxmox on my home server and I have a simple setup at the moment.
I tested my write speed from the host and the VM and there was a massive difference:
I created a new bridge on the host system: /etc/network/interfaces
Added the new network device in the hardware tab of proxmox to my VM.
Added the new interface on the VM: /etc/netplan/50-cloud-init.yaml
I'm not 100% sure, but I think my routing table looks fine:
On host:
On VM:
But I can't ping from host to VM nor from VM to host. I'm new to networking and I'm not a Linux guru. Not sure, what's missing here. Does anyone have an Idea?
I use proxmox on my home server and I have a simple setup at the moment.
- Proxmox host with zfs
- VM Ubuntu 18.04 with OpenVPN and Samba
I tested my write speed from the host and the VM and there was a massive difference:
- host: 2.5 Gb/s
- VM: 96.1 Mb/s
I created a new bridge on the host system: /etc/network/interfaces
Code:
auto lo
iface lo inet loopback
iface enp3s0 inet manual
#bridged network card
auto vmbr0
iface vmbr0 inet static
address 192.168.122.15
netmask 255.255.255.0
gateway 192.168.122.1
bridge_ports enp3s0
bridge_stp off
bridge_fd 0
#direct host connection
auto vmbr1
iface vmbr1 inet static
address 192.168.132.1
netmask 255.255.255.0
bridge_ports none
bridge_stp off
bridge_fd 0
iface enp6s0 inet manual
Added the new network device in the hardware tab of proxmox to my VM.
Added the new interface on the VM: /etc/netplan/50-cloud-init.yaml
Code:
network:
ethernets:
ens18:
addresses: []
dhcp4: true
ens19:
addresses: [192.168.132.18/24]
dhcp4: no
version: 2
I'm not 100% sure, but I think my routing table looks fine:
On host:
Code:
default via 192.168.122.1 dev vmbr0 onlink
192.168.122.0/24 dev vmbr0 proto kernel scope link src 192.168.122.15
192.168.132.0/24 dev vmbr1 proto kernel scope link src 192.168.132.1
On VM:
Code:
default via 192.168.122.1 dev ens18 proto dhcp src 192.168.122.18 metric 100
10.8.0.0/24 via 10.8.0.2 dev tun0
10.8.0.2 dev tun0 proto kernel scope link src 10.8.0.1
192.168.122.0/24 dev ens18 proto kernel scope link src 192.168.122.18
192.168.122.1 dev ens18 proto dhcp scope link src 192.168.122.18 metric 100
192.168.132.0/24 dev ens19 proto kernel scope link src 192.168.132.18
But I can't ping from host to VM nor from VM to host. I'm new to networking and I'm not a Linux guru. Not sure, what's missing here. Does anyone have an Idea?