Multiple NIC's and Vlan, Unable to PING to Gateway

xateayam

New Member
Oct 4, 2020
2
0
1
Hi folks,

I'm a newbie on proxmox envy. I'm using VE 6.2.-4.
Currently, I have 3 nic's.
eno1 attached on vmbr0 uses for management with 10.21.4.10/24, gateway 10.21.4.254
eno3 and eno4 attached on bond0
And, I configured vlan1, and vlan100.
vlan1 10.21.4.0/24
vlan100 100.100.100.0/24
vlan1 has configured on vmbr0 with 10.21.4.12/24
vlan100 has configured on vmbr100 100.100.100.254/24
The plan is, all VMs are going to be configured to 100.100.100.0/24
All these configuration has done.
All VMs able to be accessed each other and able to PING.
I have 2 VMs. One with 100.100.100.174 and 100.100.100.15
My VMs are able to PING to 10.21.4.10 (vmbr0), but all VMs unable to PING to 10.21.4.254 as gateway of vmbr0.
So, what should I do to make all VMs to be connected to the gateway 10.21.4.254?

Here is my /etc/network/interfaces :
Code:
root@pve1:~# cat /etc/network/interfaces

# 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 eno2 inet manual


auto eno1

iface eno1 inet manual


iface eno3 inet manual


iface eno4 inet manual


auto bond0

iface bond0 inet manual

        bond-slaves eno3 eno4

        bond-miimon 100

        bond-mode balance-rr


auto bond0.100

iface bond0.100 inet manual


auto bond0.1

iface bond0.1 inet manual


auto vmbr0

iface vmbr0 inet static

        address 10.21.4.10/24

        gateway 10.21.4.254

        bridge-ports eno1

        bridge-stp off

        bridge-fd 0


auto vmbr1

iface vmbr1 inet static

        address 10.21.4.12/24

        bridge-ports bond0.1

        bridge-stp off

        bridge-fd 0


auto vmbr100

iface vmbr100 inet static

        address 100.100.100.254/24

        bridge-ports bond0.100

        bridge-stp off

        bridge-fd 0
 
Last edited:
Hi and welcome,

I'm using VE 6.2.-4.
please update to the current Proxmox-VE version [1]

You should never use VLAN 1 because this is not exactly defined what it is.
VLAN1 is also interpreted as no VLAN.

Also if your Switch does not connect VLAN1 and untagged it is not p[ossible that you reach 10.21.4.10.
Proxmox does no routing in default mode, so the connectivity has been done on the switch.

1.) https://pve.proxmox.com/wiki/Package_Repositories