Hello,
I have some issue with vlan on my proxmox homelab.
In short I have a physical router with OPENSENSE (it's like PFSense).
On this router I have config a interface named : PVms, on this interface I have created 2 VLAN:
- PVmsVlan10: 10.10.0.254/24
- PVmsVlan20: 10.20.0.254/24
On Proxmox I have this.
I preferred not to modify the/etc/networks/interfaces file and create everything via the web interface.
My problem is this:
When I create a physical VM (Debian 10) with 2 network interfaces (on vmbr010 and vmbr020),
ens18 (based vmbr010) works but not ens19 (based on vmbr020).
ens19 cannot have an ip by dhcp or static/manual.
Do you have any idea what might be going on?
I have some issue with vlan on my proxmox homelab.
In short I have a physical router with OPENSENSE (it's like PFSense).
On this router I have config a interface named : PVms, on this interface I have created 2 VLAN:
- PVmsVlan10: 10.10.0.254/24
- PVmsVlan20: 10.20.0.254/24
On Proxmox I have this.
I preferred not to modify the/etc/networks/interfaces file and create everything via the web interface.
Code:
auto lo
iface lo inet loopback
iface enp35s0f1 inet manual
iface enp35s0f0 inet manual
auto enp35s0f0.10
iface enp35s0f0.10 inet manual
auto enp35s0f0.20
iface enp35s0f0.20 inet manual
auto vmbr1
iface vmbr1 inet static
address 172.16.0.2/29
gateway 172.16.0.1
bridge-ports enp35s0f1
bridge-stp off
bridge-fd 0
auto vmbr010
iface vmbr010 inet manual
bridge-ports enp35s0f0.10
bridge-stp off
bridge-fd 0
#Pont Defaut
auto vmbr020
iface vmbr020 inet manual
bridge-ports enp35s0f0.20
bridge-stp off
bridge-fd 0
My problem is this:
When I create a physical VM (Debian 10) with 2 network interfaces (on vmbr010 and vmbr020),
ens18 (based vmbr010) works but not ens19 (based on vmbr020).
ens19 cannot have an ip by dhcp or static/manual.
Code:
root@debiantest:~# ip a
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 pfifo_fast state UP group default qlen 1000
link/ether ce:4a:11:73:14:74 brd ff:ff:ff:ff:ff:ff
inet 10.10.0.2/24 brd 10.10.0.255 scope global dynamic ens18
valid_lft 6196sec preferred_lft 6196sec
inet6 fe80::cc4a:11ff:fe73:1474/64 scope link
valid_lft forever preferred_lft forever
3: ens19: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
link/ether f2:b4:51:31:a7:0c brd ff:ff:ff:ff:ff:ff
inet6 fe80::f0b4:51ff:fe31:a70c/64 scope link
valid_lft forever preferred_lft forever
root@debiantest:~# cat /etc/network/interfaces
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
source /etc/network/interfaces.d/*
# The loopback network interface
auto lo
iface lo inet loopback
# The primary network interface
allow-hotplug ens18
iface ens18 inet dhcp
allow-hotplug ens19
iface ens19 inet dhcp
root@debiantest:~#
Do you have any idea what might be going on?