VLAN not working anymore

proximoxi

Active Member
Aug 24, 2018
18
0
41
39
Hi there
got new Hardware and setting up proxmox new.

my old config look like this:


Code:
auto lo
iface lo inet loopback


iface enp0s31f6 inet manual

iface enp4s0 inet manual

iface enp4s0.20 inet manual

auto enp0s31f6
iface enp0s31f6 inet static
    address 10.0.0.10/24
    gateway 10.0.0.254
    bridge-ports enp0s31f6.5
    bridge-stp off
    bridge-fd 0


auto vmbr20
iface vmbr20 inet manual
    bridge-ports enp4s0.20
    bridge-stp off
    bridge-fd 0


this has worked for years now...

My new config

Code:
auto lo
iface lo inet loopback

iface enp9s0 inet manual

iface enp12s0 inet manual

iface enp13s0 inet manual

iface enp14s0 inet manual

iface enp15s0 inet manual

auto enp12s0.20
iface enp12s0.20 inet manual

auto enp12s0.90
iface enp12s0.90 inet manual

auto enp9s0.5
iface enp9s0.5 inet manual

auto vmbr0
iface vmbr0 inet static
    address 10.0.0.10/24
    gateway 10.0.0.254
    bridge-ports enp9s0.5
    bridge-stp off
    bridge-fd 0

auto vmbr20
iface vmbr20 inet manual
    bridge-ports enp12s0.20
    bridge-stp off
    bridge-fd 0

auto vmbr90
iface vmbr90 inet manual
    bridge-ports enp12s0.90
    bridge-stp off
    bridge-fd 0

i'm not able to ping anything from the vm, also can't ping host -> vm or vm-> host.

did something change with proxmox 7 or do i have something wrong?

VLAN 5 on Networkcard 1 is working good, but the VLAN's on Card 2 are not... the Networkcard is the same, only the names changed with new Hardware
 

Attachments

  • asdf.png
    asdf.png
    64.7 KB · Views: 5
Last edited:
Hi,

you could try to add the auto keyword for each interface. Without this, the interfaces won't come up automatically at boot.
 
hi there

i found out, with my internal NIC it's working. But the second NIC (4 Port Ethernet Card) will not work :( but in the old "Server" they worked...

Internal NIC (working):
Code:
root@proxmox:~# ethtool -i enp9s0
driver: r8169
version: 5.11.22-1-pve
firmware-version: rtl8168h-2_0.0.2 02/26/15
expansion-rom-version:
bus-info: 0000:09:00.0
supports-statistics: yes
supports-test: no
supports-eeprom-access: no
supports-register-dump: yes
supports-priv-flags: no

external 4 Port NIC (not working)
Code:
root@proxmox:~# ethtool -i enp12s0
driver: r8169
version: 5.11.22-1-pve
firmware-version: rtl8168g-2_0.0.1 02/06/13
expansion-rom-version:
bus-info: 0000:0c:00.0
supports-statistics: yes
supports-test: no
supports-eeprom-access: no
supports-register-dump: yes
supports-priv-flags: no

i also try'd to install Realtek driver from the official Homepage:

Code:
root@proxmox:~# ethtool -i enp12s0
driver: r8168
version: 8.049.02-NAPI
firmware-version:
expansion-rom-version:
bus-info: 0000:0c:00.0
supports-statistics: yes
supports-test: no
supports-eeprom-access: no
supports-register-dump: yes
supports-priv-flags: no
root@proxmox:~#


Code:
root@proxmox:~# dmesg | grep enp12
[    3.601300] r8168 0000:0c:00.0 enp12s0: renamed from eth1
[   19.719454] enp12s0: 0xffffa25a40171000, 00:0a:cd:36:82:ef, IRQ 93
[   19.898342] vmbr20: port 1(enp12s0.20) entered blocking state
[   19.898346] vmbr20: port 1(enp12s0.20) entered disabled state
[   19.898387] device enp12s0.20 entered promiscuous mode
[   19.899907] device enp12s0 entered promiscuous mode
[   22.956900] r8168: enp12s0: link up
[   22.956957] IPv6: ADDRCONF(NETDEV_CHANGE): enp12s0: link becomes ready
[   22.957084] vmbr20: port 1(enp12s0.20) entered blocking state
[   22.957086] vmbr20: port 1(enp12s0.20) entered forwarding state
root@proxmox:~#

it seems the onboard chip is the same as the 4-port nic.

Code:
root@proxmox:~# lspci | grep -i net
09:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 16)
0c:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 0c)
0d:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 0c)
0e:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 0c)
0f:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 0c)
root@proxmox:~#
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!