Hi all,
I'm pretty new to ProxMoxVE and have difficulties with getting the networking part. The ProxMox host is connected to our physical network twice:
- one 1GbE network adapter connected to our management switch
- two 10GbE network adapter connected to our main switch, LACP bonded
Both switches are connected to the same physical network, sharing the same IP address range. This all worked well with VMWare, but I can't seem to get it up and running with ProxMox and OVS.
I have assigned the ProxMox a fixed IP Address on the management port and am able to reach it, with the WebConsole as well as through SSH.
I then created an OVS Bridge and an OVS Bond and attached a Windows Server VM. I assigned the Windows VM a static IP Address from the same physical network. However, I can't get a proper network connection. Neither can I ping the gateway from the VM, nor anything else in the physical network.
I've attached my network config file and the output from ip addr down below.
Can anyone tell me what's going wrong?
Thanks,
Harald
My \etc\network\interfaces file:
------------------------------
# network interface settings; autogenerated
# Please do NOT modify this file directly, unless you know what
# you're doing.
#
# If you want to manage part of the network configuration manually,
# please utilize the 'source' or 'source-directory' directives to do
# so.
# PVE will preserve these directives, but will NOT its network
# configuration from sourced files, so do not attempt to move any of
# the PVE managed interfaces into external files!
allow-vmbr0 bond0
iface bond0 inet manual
ovs_bonds eno49 eno50
ovs_type OVSBond
ovs_bridge vmbr0
ovs_options bond_mode=balance-tcp lacp=active
auto lo
iface lo inet loopback
auto eno1
iface eno1 inet static
address 192.168.100.43
netmask 255.255.255.0
gateway 192.168.100.1
network 192.168.100.0
allow-ovs vmbr0
iface eno2 inet manual
iface eno3 inet manual
iface eno4 inet manual
iface eno49 inet manual
iface eno50 inet manual
auto vmbr0
iface vmbr0 inet manual
ovs_type OVSBridge
ovs_ports bond0
------------------------------
My output from ip addr:
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: eno1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000
link/ether 14:02:ec:43:64:98 brd ff:ff:ff:ff:ff:ff
inet 192.168.100.43/24 brd 192.168.100.255 scope global eno1
valid_lft forever preferred_lft forever
inet6 fe80::1602:ecff:fe43:6498/64 scope link
valid_lft forever preferred_lft forever
3: eno2: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default qlen 1000
link/ether 14:02:ec:43:64:99 brd ff:ff:ff:ff:ff:ff
4: eno3: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default qlen 1000
link/ether 14:02:ec:43:64:9a brd ff:ff:ff:ff:ff:ff
5: eno4: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default qlen 1000
link/ether 14:02:ec:43:64:9b brd ff:ff:ff:ff:ff:ff
6: eno49: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq master ovs-system state UP group default qlen 1000
link/ether 5c:b9:01:9a:bd:d8 brd ff:ff:ff:ff:ff:ff
inet6 fe80::5eb9:1ff:fe9a:bdd8/64 scope link
valid_lft forever preferred_lft forever
7: eno50: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq master ovs-system state UP group default qlen 1000
link/ether 5c:b9:01:9a:bd:d9 brd ff:ff:ff:ff:ff:ff
inet6 fe80::5eb9:1ff:fe9a:bdd9/64 scope link
valid_lft forever preferred_lft forever
8: ovs-system: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default qlen 1000
link/ether ea:a8:80:90:39:79 brd ff:ff:ff:ff:ff:ff
9: vmbr0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UNKNOWN group default qlen 1000
link/ether 5c:b9:01:9a:bd:d8 brd ff:ff:ff:ff:ff:ff
inet6 fe80::5eb9:1ff:fe9a:bdd8/64 scope link
valid_lft forever preferred_lft forever
10: bond0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UNKNOWN group default qlen 1000
link/ether 3a:82:ba:33:8d:39 brd ff:ff:ff:ff:ff:ff
inet6 fe80::3882:baff:fe33:8d39/64 scope link
valid_lft forever preferred_lft forever
11: tap100i0: <BROADCAST,MULTICAST,PROMISC,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast master ovs-system state UNKNOWN group default qlen 1000
link/ether fe:9e:dd:04:2c:c4 brd ff:ff:ff:ff:ff:ff
I'm pretty new to ProxMoxVE and have difficulties with getting the networking part. The ProxMox host is connected to our physical network twice:
- one 1GbE network adapter connected to our management switch
- two 10GbE network adapter connected to our main switch, LACP bonded
Both switches are connected to the same physical network, sharing the same IP address range. This all worked well with VMWare, but I can't seem to get it up and running with ProxMox and OVS.
I have assigned the ProxMox a fixed IP Address on the management port and am able to reach it, with the WebConsole as well as through SSH.
I then created an OVS Bridge and an OVS Bond and attached a Windows Server VM. I assigned the Windows VM a static IP Address from the same physical network. However, I can't get a proper network connection. Neither can I ping the gateway from the VM, nor anything else in the physical network.
I've attached my network config file and the output from ip addr down below.
Can anyone tell me what's going wrong?
Thanks,
Harald
My \etc\network\interfaces file:
------------------------------
# network interface settings; autogenerated
# Please do NOT modify this file directly, unless you know what
# you're doing.
#
# If you want to manage part of the network configuration manually,
# please utilize the 'source' or 'source-directory' directives to do
# so.
# PVE will preserve these directives, but will NOT its network
# configuration from sourced files, so do not attempt to move any of
# the PVE managed interfaces into external files!
allow-vmbr0 bond0
iface bond0 inet manual
ovs_bonds eno49 eno50
ovs_type OVSBond
ovs_bridge vmbr0
ovs_options bond_mode=balance-tcp lacp=active
auto lo
iface lo inet loopback
auto eno1
iface eno1 inet static
address 192.168.100.43
netmask 255.255.255.0
gateway 192.168.100.1
network 192.168.100.0
allow-ovs vmbr0
iface eno2 inet manual
iface eno3 inet manual
iface eno4 inet manual
iface eno49 inet manual
iface eno50 inet manual
auto vmbr0
iface vmbr0 inet manual
ovs_type OVSBridge
ovs_ports bond0
------------------------------
My output from ip addr:
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: eno1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000
link/ether 14:02:ec:43:64:98 brd ff:ff:ff:ff:ff:ff
inet 192.168.100.43/24 brd 192.168.100.255 scope global eno1
valid_lft forever preferred_lft forever
inet6 fe80::1602:ecff:fe43:6498/64 scope link
valid_lft forever preferred_lft forever
3: eno2: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default qlen 1000
link/ether 14:02:ec:43:64:99 brd ff:ff:ff:ff:ff:ff
4: eno3: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default qlen 1000
link/ether 14:02:ec:43:64:9a brd ff:ff:ff:ff:ff:ff
5: eno4: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default qlen 1000
link/ether 14:02:ec:43:64:9b brd ff:ff:ff:ff:ff:ff
6: eno49: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq master ovs-system state UP group default qlen 1000
link/ether 5c:b9:01:9a:bd:d8 brd ff:ff:ff:ff:ff:ff
inet6 fe80::5eb9:1ff:fe9a:bdd8/64 scope link
valid_lft forever preferred_lft forever
7: eno50: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq master ovs-system state UP group default qlen 1000
link/ether 5c:b9:01:9a:bd:d9 brd ff:ff:ff:ff:ff:ff
inet6 fe80::5eb9:1ff:fe9a:bdd9/64 scope link
valid_lft forever preferred_lft forever
8: ovs-system: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default qlen 1000
link/ether ea:a8:80:90:39:79 brd ff:ff:ff:ff:ff:ff
9: vmbr0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UNKNOWN group default qlen 1000
link/ether 5c:b9:01:9a:bd:d8 brd ff:ff:ff:ff:ff:ff
inet6 fe80::5eb9:1ff:fe9a:bdd8/64 scope link
valid_lft forever preferred_lft forever
10: bond0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UNKNOWN group default qlen 1000
link/ether 3a:82:ba:33:8d:39 brd ff:ff:ff:ff:ff:ff
inet6 fe80::3882:baff:fe33:8d39/64 scope link
valid_lft forever preferred_lft forever
11: tap100i0: <BROADCAST,MULTICAST,PROMISC,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast master ovs-system state UNKNOWN group default qlen 1000
link/ether fe:9e:dd:04:2c:c4 brd ff:ff:ff:ff:ff:ff