Config Network on Proxmox Plz Help me

lesiam.phone

New Member
May 13, 2022
9
0
1
My config on switch

10.223.38.199/24
10.223.38.254
VLAN 130

interface AL17-37U-10GE1/0/33
description To-Server
port link-type trunk
port trunk allow-pass vlan 100 to 500

My Config on Proxmox

auto lo
iface lo inet loopback

iface eno1 inet manual

iface eno2 inet manual

auto enp5s0f0
iface enp5s0f0 inet manual

iface enp5s0f1 inet manual

auto enp5s0f2
iface enp5s0f2 inet manual

auto enp5s0f3
iface enp5s0f3 inet manual

auto vmbr0.130
iface vmbr0.130 inet static
address 10.223.38.199/24
gateway 10.223.38.254
vlan-id 130

auto vmbr0
iface vmbr0 inet manual
bridge-ports enp5s0f0
bridge-stp off
bridge-fd 0
bridge-vlan-aware yes
bridge-vids 2-4094

I can't ping gateway please help me ^_^
 
Your bridge vmbr0.130 has no bridge port.
Bridge interfaces should add a VLAN-Interface, except when being vlan-aware themselves.

You need to add enp5s0f0.130 as "inet manual" without any other configuration and then a vmbr130 with enp5s0f0.130 as bridge port.
If you do not need any VMs accessing VLAN 130 you could also remove the bridge and make the IP configuration directly on enp5s0f0.130.
 
Your bridge vmbr0.130 has no bridge port.
Bridge interfaces should add a VLAN-Interface, except when being vlan-aware themselves.

You need to add enp5s0f0.130 as "inet manual" without any other configuration and then a vmbr130 with enp5s0f0.130 as bridge port.
If you do not need any VMs accessing VLAN 130 you could also remove the bridge and make the IP configuration directly on enp5s0f0.130.
can you Example config Thank you
 
As you already have vmbr0 as vlan-aware for the VMs you really just need a VLAN interface on enp5s0f0. Remove the configuration for vmbr0.130 and add the following:

Code:
auto enp5s0f0.130
iface enp5s0f0.130 inet static
    address 10.223.38.199/24
    gateway 10.223.38.254
 
As you already have vmbr0 as vlan-aware for the VMs you really just need a VLAN interface on enp5s0f0. Remove the configuration for vmbr0.130 and add the following:

Code:
auto enp5s0f0.130
iface enp5s0f0.130 inet static
    address 10.223.38.199/24
    gateway 10.223.38.254


This is Current Config

auto lo
iface lo inet loopback

iface eno1 inet manual

iface eno2 inet manual

iface enp5s0f0 inet manual

auto enp5s0f0.130
iface enp5s0f0.130 inet static
address 10.223.38.199/24
gateway 10.223.38.254

iface enp5s0f1 inet manual

iface enp5s0f2 inet manual

iface enp5s0f3 inet manual

auto vmbr0
iface vmbr0 inet static
address 10.223.37.199/24
bridge-ports eno1
bridge-stp off
bridge-fd 0

auto vmbr1
iface vmbr1 inet manual
bridge-ports enp5s0f0
bridge-stp off
bridge-fd 0
bridge-vlan-aware yes
bridge-vids 2-4094


This Result
root@POX1:~# ping 10.223.38.199
PING 10.223.38.199 (10.223.38.199) 56(84) bytes of data.
64 bytes from 10.223.38.199: icmp_seq=1 ttl=64 time=0.037 ms
64 bytes from 10.223.38.199: icmp_seq=2 ttl=64 time=0.039 ms
64 bytes from 10.223.38.199: icmp_seq=3 ttl=64 time=0.038 ms
^C
--- 10.223.38.199 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2048ms
rtt min/avg/max/mdev = 0.037/0.038/0.039/0.000 ms
root@POX1:~# ping 10.223.38.254
PING 10.223.38.254 (10.223.38.254) 56(84) bytes of data.
From 10.223.38.199 icmp_seq=1 Destination Host Unreachable
^C
--- 10.223.38.254 ping statistics ---
5 packets transmitted, 0 received, +1 errors, 100% packet loss, time 4084ms
pipe 4
root@POX1:~# ping 10.223.38.254
PING 10.223.38.254 (10.223.38.254) 56(84) bytes of data.
From 10.223.38.199 icmp_seq=1 Destination Host Unreachable
From 10.223.38.199 icmp_seq=2 Destination Host Unreachable
From 10.223.38.199 icmp_seq=3 Destination Host Unreachable
^C
--- 10.223.38.254 ping statistics ---
4 packets transmitted, 0 received, +3 errors, 100% packet loss, time 3076ms
pipe 4
root@POX1:~# ^C
root@POX1:~#

help me plz
 
Why did you add vmbr1 and reconfigured vmbr0?
As I wrote remove vmbr0.130 from your original configuration and add enp5s0f0.130. That's all

Code:
auto lo
iface lo inet loopback

iface eno1 inet manual

iface eno2 inet manual

auto enp5s0f0
iface enp5s0f0 inet manual

iface enp5s0f1 inet manual

iface enp5s0f2 inet manual

iface enp5s0f3 inet manual

auto enp5s0f0.130
iface enp5s0f0.130 inet static
    address 10.223.38.199/24
    gateway 10.223.38.254

auto vmbr0
iface vmbr0 inet manual
    bridge-ports enp5s0f0
    bridge-stp off
    bridge-fd 0
    bridge-vlan-aware yes
    bridge-vids 2-4094
 
Why did you add vmbr1 and reconfigured vmbr0?
As I wrote remove vmbr0.130 from your original configuration and add enp5s0f0.130. That's all

Code:
auto lo
iface lo inet loopback

iface eno1 inet manual

iface eno2 inet manual

auto enp5s0f0
iface enp5s0f0 inet manual

iface enp5s0f1 inet manual

iface enp5s0f2 inet manual

iface enp5s0f3 inet manual

auto enp5s0f0.130
iface enp5s0f0.130 inet static
    address 10.223.38.199/24
    gateway 10.223.38.254

auto vmbr0
iface vmbr0 inet manual
    bridge-ports enp5s0f0
    bridge-stp off
    bridge-fd 0
    bridge-vlan-aware yes
    bridge-vids 2-4094

I have add because test lan vmbr0 use manage proxmox GUI



My Solution is

VLAN 130 : 10.223.38.199/24 for Management Proxmox interface enp5s0f0

VLAN 210 : 10.223.50.150/24 for interface 1 vm 999. interface enp5s0f0

VLAN 20 : 2.10.10.2/8 for interface 2 vm 999 interface enp5s0f1

Do you reccommend me ?

1656678601148.png
 

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!