Hello everyone, new proxmox user here.
I am really lost on this one. I recently migrated from vmware to proxmox but I have problem setting up my network correctly.
I have 62.XX.XX.160/29 assigned to me by hosting provider, with 62.XX.XX.161 being the default route out.
.162 is used by server management card, .163 is proxmox and .164-166 can be used by VM's (.167 being broadcast)
I am using bridged setup, bridging my physical interface through vmbr0. I was using a similar setup on vmware as well. The problem is, that in proxmox this only works on just one VM , and not on others. I can't get to or from any other VM than 100. Am I doing something wrong, or did my provider started filtering macs? (I have no idea how to test that though ). If so, what options do I have?
HOST configuration
VM 100 configuration (ubuntu) - works perfectly
Testing it all:
VM 101 configuration (ubuntu) - no network
I am really lost on this one. I recently migrated from vmware to proxmox but I have problem setting up my network correctly.
I have 62.XX.XX.160/29 assigned to me by hosting provider, with 62.XX.XX.161 being the default route out.
.162 is used by server management card, .163 is proxmox and .164-166 can be used by VM's (.167 being broadcast)
I am using bridged setup, bridging my physical interface through vmbr0. I was using a similar setup on vmware as well. The problem is, that in proxmox this only works on just one VM , and not on others. I can't get to or from any other VM than 100. Am I doing something wrong, or did my provider started filtering macs? (I have no idea how to test that though ). If so, what options do I have?
HOST configuration
Code:
# cat /etc/network/interfaces
auto lo
iface lo inet loopback
iface enp8s0f0 inet manual
iface enp8s0f1 inet manual
auto vmbr0
iface vmbr0 inet static
address 62.X.X.163
netmask 255.255.255.248
gateway 62.X.X.161
bridge-ports enp8s0f0
bridge-stp off
bridge-fd 0
auto vmbr1
iface vmbr1 inet static
bridge-ports none
bridge-stp off
bridge-fd 0
#local
Code:
# ip route show
default via 62.X.X.161 dev vmbr0 onlink
62.X.X.160/29 dev vmbr0 proto kernel scope link src 62.X.X.163
Code:
# ip address show enp8s0f0
2: enp8s0f0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq master vmbr0 state UP group default qlen 1000
link/ether 00:19:99:98:bb:2e brd ff:ff:ff:ff:ff:ff
# ip address show vmbr0
25: vmbr0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
link/ether 00:19:99:98:bb:2e brd ff:ff:ff:ff:ff:ff
inet 62.X.X.163/29 brd 62.X.X.167 scope global vmbr0
valid_lft forever preferred_lft forever
inet6 fe80::219:99ff:fe98:bb2e/64 scope link
valid_lft forever preferred_lft forever
VM 100 configuration (ubuntu) - works perfectly
Code:
$ cat /etc/netplan/50-cloud-init.yaml
network:
ethernets:
ens18:
addresses:
- 62.X.X.164/29
gateway4: 62.X.X.161
nameservers:
addresses:
- 8.8.8.8
version: 2
Code:
$ ip route show
default via 62.X.X.161 dev ens18 proto static
62.X.X.160/29 dev ens18 proto kernel scope link src 62.X.X.164
Code:
$ ip address show
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: ens18: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000
link/ether fe:f8:90:40:4a:84 brd ff:ff:ff:ff:ff:ff
inet 62.X.X.164/29 brd 62.XX.XX.167 scope global ens18
valid_lft forever preferred_lft forever
inet6 fe80::fcf8:90ff:fe40:4a84/64 scope link
valid_lft forever preferred_lft forever
Testing it all:
Code:
$ ping 8.8.8.8
PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data.
64 bytes from 8.8.8.8: icmp_seq=1 ttl=55 time=20.8 ms
64 bytes from 8.8.8.8: icmp_seq=2 ttl=55 time=20.9 ms
^C
--- 8.8.8.8 ping statistics ---
2 packets transmitted, 2 received, 0% packet loss, time 1001ms
rtt min/avg/max/mdev = 20.896/20.902/20.909/0.144 ms
VM 101 configuration (ubuntu) - no network
Code:
$ cat /etc/netplan/50-cloud-init.yaml
network:
ethernets:
ens18:
addresses:
- 62.X.X.165/29
gateway4: 62.X.X.161
nameservers:
addresses:
- 8.8.8.8
version: 2
Code:
$ ip route show
default via 62.X.X.161 dev ens18 proto static
62.XX.XX.160/29 dev ens18 proto kernel scope link src 62.X.X.165
Code:
$ ip address show
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: ens18: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000
link/ether 16:dd:e4:41:46:63 brd ff:ff:ff:ff:ff:ff
inet 62.X.X.165/29 brd 62.X.X.167 scope global ens18
valid_lft forever preferred_lft forever
inet6 fe80::14dd:e4ff:fe41:3663/64 scope link
valid_lft forever preferred_lft forever
Code:
$ ping 8.8.8.8
PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data.
From 62.XX.XX.165 icmp_seq=1 Destination Host Unreachable
From 62.XX.XX.165 icmp_seq=2 Destination Host Unreachable
From 62.XX.XX.165 icmp_seq=3 Destination Host Unreachable
From 62.XX.XX.165 icmp_seq=4 Destination Host Unreachable
...