Hello,
Have been breaking my head for the past 6 hours on the following problem.
I have a VM (OPSense) in which i have an interface (connected to VMBR0), on that interface a created a vlan interface (vlan 10).
The vm has ip (10.8.10.254) and my core switch as well (10.8.10.200). Ping doesnt work (the firewall allows ping).
this is the output of my /etc/network/interfaces
output of: bridge -compressvlans vlan show
root@pve03:~# bridge -compressvlans vlan show
port vlan-id
tap110i0 1 PVID Egress Untagged
fwbr110i0 1 PVID Egress Untagged
fwln110i0 1 PVID Egress Untagged
tap110i1 1 PVID Egress Untagged
fwbr110i1 1 PVID Egress Untagged
fwln110i1 1 PVID Egress Untagged
bond0 1 PVID Egress Untagged
10-20
vmbr0 1 PVID Egress Untagged
bond0.10 1 PVID Egress Untagged
vmbr10 1 PVID Egress Untagged
bond0.15 1 PVID Egress Untagged
vmbr15 1 PVID Egress Untagged
bond0.20 1 PVID Egress Untagged
vmbr20 1 PVID Egress Untagged
bond0.21 1 PVID Egress Untagged
vmbr21 1 PVID Egress Untagged
bond0.50 1 PVID Egress Untagged
vmbr50 1 PVID Egress Untagged
bond0.51 1 PVID Egress Untagged
vmbr51 1 PVID Egress Untagged
bond0.60 1 PVID Egress Untagged
vmbr60 1 PVID Egress Untagged
bond0.61 1 PVID Egress Untagged
vmbr61 1 PVID Egress Untagged
bond0.756 1 PVID Egress Untagged
vmbr756 1 PVID Egress Untagged
tcpdump -i bond0 vlan 10 shows (when doing pinging from both sides at the same time)
tcpdump: verbose output suppressed, use -v[v]... for full protocol decode
listening on bond0, link-type EN10MB (Ethernet), snapshot length 262144 bytes
14:35:44.467300 ARP, Request who-has 10.8.10.200 tell 10.8.10.254, length 28
14:35:44.842153 ARP, Request who-has 10.8.10.254 tell 10.8.10.200, length 46
14:35:45.288033 STP 802.1w, Rapid STP, Flags [Proposal, Learn, Forward, Agreement], bridge-id 800a.74:86:e2:c3:4a:a0.8a6b, length 42
14:35:45.522237 ARP, Request who-has 10.8.10.200 tell 10.8.10.254, length 28
14:35:45.896700 ARP, Request who-has 10.8.10.254 tell 10.8.10.200, length 46
14:35:46.577244 ARP, Request who-has 10.8.10.200 tell 10.8.10.254, length 28
14:35:46.996690 ARP, Request who-has 10.8.10.254 tell 10.8.10.200, length 46
14:35:47.307011 STP 802.1w, Rapid STP, Flags [Proposal, Learn, Forward, Agreement], bridge-id 800a.74:86:e2:c3:4a:a0.8a6b, length 42
14:35:47.628470 ARP, Request who-has 10.8.10.200 tell 10.8.10.254, length 28
14:35:48.096714 ARP, Request who-has 10.8.10.254 tell 10.8.10.200, length 46
14:35:48.668444 ARP, Request who-has 10.8.10.200 tell 10.8.10.254, length 28
14:35:49.197014 ARP, Request who-has 10.8.10.254 tell 10.8.10.200, length 46
14:35:49.324383 STP 802.1w, Rapid STP, Flags [Proposal, Learn, Forward, Agreement], bridge-id 800a.74:86:e2:c3:4a:a0.8a6b, length 42
14:35:49.708467 ARP, Request who-has 10.8.10.200 tell 10.8.10.254, length 28
14:35:50.737165 ARP, Request who-has 10.8.10.200 tell 10.8.10.254, length 28
14:35:51.341634 STP 802.1w, Rapid STP, Flags [Proposal, Learn, Forward, Agreement], bridge-id 800a.74:86:e2:c3:4a:a0.8a6b, length 42
I dont understand what i am doing wrong..
Have been breaking my head for the past 6 hours on the following problem.
I have a VM (OPSense) in which i have an interface (connected to VMBR0), on that interface a created a vlan interface (vlan 10).
The vm has ip (10.8.10.254) and my core switch as well (10.8.10.200). Ping doesnt work (the firewall allows ping).
this is the output of my /etc/network/interfaces
Code:
root@pve03:~# cat /etc/network/interfaces
# loopback
auto lo
iface lo inet loopback
# 25 Gbit
iface eno12399np0 inet manual
mtu 9000
post-up /sbin/ethtool -K eno12399np0 gro off
iface eno12409np1 inet manual
mtu 9000
post-up /sbin/ethtool -K eno12409np1 gro off
# bond
auto bond0
iface bond0 inet static
bond-slaves eno12399np0 eno12409np1
bond-mode 4
bond-miimon 100
bond-downdelay 200
bond-updelay 200
bond-lacp-active yes
bond-lacp-rate fast
bond-xmit-hash-policy layer3+4
mtu 9000
# bond subinterfaces
auto bond0.10
mtu 9000
auto bond0.15
mtu 9000
auto bond0.20
mtu 9000
auto bond0.21
mtu 9000
auto bond0.50
mtu 9000
auto bond0.51
mtu 9000
auto bond0.60
mtu 9000
auto bond0.61
mtu 9000
auto bond0.756
mtu 9000
# trunk
auto vmbr0
iface vmbr0 inet static
bridge-ports bond0
bridge-stp off
bridge-fd 0
mtu 9000
bridge-vlan-aware yes
bridge-vids 10-20
#Trunk
# management
auto vmbr10
iface vmbr10 inet static
bridge-ports bond0.10
bridge-stp off
bridge-fd 0
mtu 9000
#Management
# service
auto vmbr15
iface vmbr15 inet static
bridge-ports bond0.15
bridge-stp off
bridge-fd 0
address 10.8.15.13/24
gateway 10.8.15.254
mtu 9000
#Service
# proxmox migration
auto vmbr20
iface vmbr20 inet static
bridge-ports bond0.20
bridge-stp off
bridge-fd 0
address 10.8.20.13/24
mtu 9000
#Proxmox - Migration
# proxmox ceph
auto vmbr21
iface vmbr21 inet static
bridge-ports bond0.21
bridge-stp off
bridge-fd 0
address 10.8.21.13/24
mtu 9000
#Proxmox - Ceph
# lan
auto vmbr50
iface vmbr50 inet static
bridge-ports bond0.50
bridge-stp off
bridge-fd 0
mtu 9000
#LAN
# guest
auto vmbr51
iface vmbr51 inet static
bridge-ports bond0.51
bridge-stp off
bridge-fd 0
mtu 9000
#Guest
# security
auto vmbr60
iface vmbr60 inet static
bridge-ports bond0.60
bridge-stp off
bridge-fd 0
mtu 9000
#Security
# iot
auto vmbr61
iface vmbr61 inet static
bridge-ports bond0.61
bridge-stp off
bridge-fd 0
mtu 9000
#IoT
# wan
auto vmbr756
iface vmbr756 inet static
bridge-ports bond0.756
bridge-stp off
bridge-fd 0
mtu 9000
#WAN
source /etc/network/interfaces.d/*
output of: bridge -compressvlans vlan show
root@pve03:~# bridge -compressvlans vlan show
port vlan-id
tap110i0 1 PVID Egress Untagged
fwbr110i0 1 PVID Egress Untagged
fwln110i0 1 PVID Egress Untagged
tap110i1 1 PVID Egress Untagged
fwbr110i1 1 PVID Egress Untagged
fwln110i1 1 PVID Egress Untagged
bond0 1 PVID Egress Untagged
10-20
vmbr0 1 PVID Egress Untagged
bond0.10 1 PVID Egress Untagged
vmbr10 1 PVID Egress Untagged
bond0.15 1 PVID Egress Untagged
vmbr15 1 PVID Egress Untagged
bond0.20 1 PVID Egress Untagged
vmbr20 1 PVID Egress Untagged
bond0.21 1 PVID Egress Untagged
vmbr21 1 PVID Egress Untagged
bond0.50 1 PVID Egress Untagged
vmbr50 1 PVID Egress Untagged
bond0.51 1 PVID Egress Untagged
vmbr51 1 PVID Egress Untagged
bond0.60 1 PVID Egress Untagged
vmbr60 1 PVID Egress Untagged
bond0.61 1 PVID Egress Untagged
vmbr61 1 PVID Egress Untagged
bond0.756 1 PVID Egress Untagged
vmbr756 1 PVID Egress Untagged
tcpdump -i bond0 vlan 10 shows (when doing pinging from both sides at the same time)
tcpdump: verbose output suppressed, use -v[v]... for full protocol decode
listening on bond0, link-type EN10MB (Ethernet), snapshot length 262144 bytes
14:35:44.467300 ARP, Request who-has 10.8.10.200 tell 10.8.10.254, length 28
14:35:44.842153 ARP, Request who-has 10.8.10.254 tell 10.8.10.200, length 46
14:35:45.288033 STP 802.1w, Rapid STP, Flags [Proposal, Learn, Forward, Agreement], bridge-id 800a.74:86:e2:c3:4a:a0.8a6b, length 42
14:35:45.522237 ARP, Request who-has 10.8.10.200 tell 10.8.10.254, length 28
14:35:45.896700 ARP, Request who-has 10.8.10.254 tell 10.8.10.200, length 46
14:35:46.577244 ARP, Request who-has 10.8.10.200 tell 10.8.10.254, length 28
14:35:46.996690 ARP, Request who-has 10.8.10.254 tell 10.8.10.200, length 46
14:35:47.307011 STP 802.1w, Rapid STP, Flags [Proposal, Learn, Forward, Agreement], bridge-id 800a.74:86:e2:c3:4a:a0.8a6b, length 42
14:35:47.628470 ARP, Request who-has 10.8.10.200 tell 10.8.10.254, length 28
14:35:48.096714 ARP, Request who-has 10.8.10.254 tell 10.8.10.200, length 46
14:35:48.668444 ARP, Request who-has 10.8.10.200 tell 10.8.10.254, length 28
14:35:49.197014 ARP, Request who-has 10.8.10.254 tell 10.8.10.200, length 46
14:35:49.324383 STP 802.1w, Rapid STP, Flags [Proposal, Learn, Forward, Agreement], bridge-id 800a.74:86:e2:c3:4a:a0.8a6b, length 42
14:35:49.708467 ARP, Request who-has 10.8.10.200 tell 10.8.10.254, length 28
14:35:50.737165 ARP, Request who-has 10.8.10.200 tell 10.8.10.254, length 28
14:35:51.341634 STP 802.1w, Rapid STP, Flags [Proposal, Learn, Forward, Agreement], bridge-id 800a.74:86:e2:c3:4a:a0.8a6b, length 42
I dont understand what i am doing wrong..