Hello Community!
I'm currently having a problem with the network settings. I've already a working cluster with server-hardware (using VLAN taggs).
Now I'm trying to setup a second cluster (with consumer hardware) to test new updates and to play around without being afraid to break something on the important cluster.
I first focused on creating a bond and next creating vmbridges onto that bond but I couldn't figured it out to work properly. So I just tried to get vlans working on just the interfaces itself.
Here's the output of ip a:
and here is /etc/network/interfaces:
enp8s1 is currently plugged in to a network configured with the vlan tag 40.
enp6s0 is currently plugged into the same network but untagged (just for debugging purposes).
So I'm trying to get this node working with any interface with the vlan-tag 40.
Best regards
Floh
I'm currently having a problem with the network settings. I've already a working cluster with server-hardware (using VLAN taggs).
Now I'm trying to setup a second cluster (with consumer hardware) to test new updates and to play around without being afraid to break something on the important cluster.
I first focused on creating a bond and next creating vmbridges onto that bond but I couldn't figured it out to work properly. So I just tried to get vlans working on just the interfaces itself.
Here's the output of ip a:
Code:
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: enp6s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
link/ether bc:ae:c5:22:8f:8f brd ff:ff:ff:ff:ff:ff
inet6 fe80::beae:c5ff:fe22:8f8f/64 scope link
valid_lft forever preferred_lft forever
3: enp5s0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default qlen 1000
link/ether bc:ae:c5:22:8c:1c brd ff:ff:ff:ff:ff:ff
4: enp8s1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast master vmbr0 state UP group default qlen 1000
link/ether 00:0e:0c:bc:a4:39 brd ff:ff:ff:ff:ff:ff
5: vmbr0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
link/ether 00:0e:0c:bc:a4:39 brd ff:ff:ff:ff:ff:ff
inet 192.168.10.23/24 scope global vmbr0
valid_lft forever preferred_lft forever
inet6 fe80::20e:cff:febc:a439/64 scope link
valid_lft forever preferred_lft forever
6: vmbr1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UNKNOWN group default qlen 1000
link/ether 66:b9:a6:06:55:aa brd ff:ff:ff:ff:ff:ff
inet 192.168.10.24/24 scope global vmbr1
valid_lft forever preferred_lft forever
inet6 fe80::64b9:a6ff:fe06:55aa/64 scope link
valid_lft forever preferred_lft forever
and here is /etc/network/interfaces:
Code:
# network interface settings; autogenerated
# Please do NOT modify this file directly, unless you know what
# you're doing.
#
# If you want to manage parts of the network configuration manually,
# please utilize the 'source' or 'source-directory' directives to do
# so.
# PVE will preserve these directives, but will NOT read its network
# configuration from sourced files, so do not attempt to move any of
# the PVE managed interfaces into external files!
auto lo
iface lo inet loopback
iface enp5s0 inet manual
iface enp6s0 inet manual
iface enp8s1 inet manual
iface enp6s0.40 inet manual
#iface enp5s0.40 inet manual
iface enp8s1.40 inet manual
auto vmbr0
iface vmbr0 inet static
address 192.168.10.23
netmask 255.255.255.0
gateway 192.168.10.17
bridge-ports enp8s1
bridge-stp off
bridge-fd 0
auto vmbr1
iface vmbr1 inet static
address 192.168.10.24
netmask 24
bridge-ports enp6s0.40
bridge-stp off
bridge-fd 0
enp8s1 is currently plugged in to a network configured with the vlan tag 40.
enp6s0 is currently plugged into the same network but untagged (just for debugging purposes).
So I'm trying to get this node working with any interface with the vlan-tag 40.
Best regards
Floh
Last edited: