Hi All,
I've added some additional information below. I can see from the remote host that pings are reaching it and they're indeed coming back, but for some reason, despite the fact the replies are getting to the proxmox interface, they're not being pushed across the bridge.
ifconfig of all applicable interfaces:
--------------------------------------------
root@vs1:~# ifconfig eth3
eth3 Link encap:Ethernet HWaddr a0:36:9f:20:aa:9d
inet6 addr: fe80::a236:9fff:fe20:aa9d/64 Scope:Link
UP BROADCAST RUNNING PROMISC MULTICAST MTU:1500 Metric:1
RX packets:898129 errors:0 dropped:0 overruns:0 frame:0
TX packets:164682 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:105904338 (100.9 MiB) TX bytes:8236790 (7.8 MiB)
root@vs1:~# ifconfig vmbr3
vmbr3 Link encap:Ethernet HWaddr 16:f0:a8:4c:35:fc
inet6 addr: fe80::a236:9fff:fe20:aa9d/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:838780 errors:0 dropped:0 overruns:0 frame:0
TX packets:1625 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:84707095 (80.7 MiB) TX bytes:154914 (151.2 KiB)
root@vs1:~# ifconfig tap2000i1
tap2000i1 Link encap:Ethernet HWaddr 16:f0:a8:4c:35:fc
inet6 addr: fe80::14f0:a8ff:fe4c:35fc/64 Scope:Link
UP BROADCAST RUNNING PROMISC MULTICAST MTU:1500 Metric:1
RX packets:44248 errors:0 dropped:0 overruns:0 frame:0
TX packets:697785 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:500
RX bytes:2036480 (1.9 MiB) TX bytes:89501044 (85.3 MiB)
vmbr config for the specified interface and kvm guest:
----------------------------------------------------------------
root@vs1:~# brctl show vmbr3
bridge name bridge id STP enabled interfaces
vmbr3 8000.16f0a84c35fc no eth3
tap2000i1
Pings (requests and replies) on remote host showing the request are arriving (on the correct VLAN 300) and the answer also exiting via VL300:
-------------------------------------------------------------------------------------------------------------------------
root@host1:~# tcpdump -nne -i eth1 host 10.10.255.240
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on eth1, link-type EN10MB (Ethernet), capture size 65535 bytes
12:43:48.170030 4a:30:f6:34:c9:3b > ff:ff:ff:ff:ff:ff, ethertype 802.1Q (0x8100), length 64: vlan 300, p 0, ethertype ARP, Request who-has 10.10.255.253 tell 10.10.255.240, length 46
12:43:48.170034 68:05:ca:07:de:2c > 4a:30:f6:34:c9:3b, ethertype 802.1Q (0x8100), length 46: vlan 300, p 0, ethertype ARP, Reply 10.10.255.253 is-at 68:05:ca:07:de:2c, length 28
12:43:49.168589 4a:30:f6:34:c9:3b > ff:ff:ff:ff:ff:ff, ethertype 802.1Q (0x8100), length 64: vlan 300, p 0, ethertype ARP, Request who-has 10.10.255.253 tell 10.10.255.240, length 46
12:43:49.168598 68:05:ca:07:de:2c > 4a:30:f6:34:c9:3b, ethertype 802.1Q (0x8100), length 46: vlan 300, p 0, ethertype ARP, Reply 10.10.255.253 is-at 68:05:ca:07:de:2c, length 28
12:43:50.168585 4a:30:f6:34:c9:3b > ff:ff:ff:ff:ff:ff, ethertype 802.1Q (0x8100), length 64: vlan 300, p 0, ethertype ARP, Request who-has 10.10.255.253 tell 10.10.255.240, length 46
12:43:50.168589 68:05:ca:07:de:2c > 4a:30:f6:34:c9:3b, ethertype 802.1Q (0x8100), length 46: vlan 300, p 0, ethertype ARP, Reply 10.10.255.253 is-at 68:05:ca:07:de:2c, length 28
12:43:51.186072 4a:30:f6:34:c9:3b > ff:ff:ff:ff:ff:ff, ethertype 802.1Q (0x8100), length 64: vlan 300, p 0, ethertype ARP, Request who-has 10.10.255.253 tell 10.10.255.240, length 46
12:43:51.186082 68:05:ca:07:de:2c > 4a:30:f6:34:c9:3b, ethertype 802.1Q (0x8100), length 46: vlan 300, p 0, ethertype ARP, Reply 10.10.255.253 is-at 68:05:ca:07:de:2c, length 28
tcpdump directly on 'eth3' showing request exiting via VL300 but no sign of replies:
------------------------------------------------------------------------------
root@vs1:~# tcpdump -nne -i eth3
tcpdump: WARNING: eth3: no IPv4 address assigned
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on eth3, link-type EN10MB (Ethernet), capture size 65535 bytes
12:37:46.883871 4a:30:f6:34:c9:3b > ff:ff:ff:ff:ff:ff, ethertype 802.1Q (0x8100), length 46: vlan 300, p 0, ethertype ARP, Request who-has 10.10.255.253 tell 10.10.255.240, length 28
12:37:47.675904 00:18:18:58:71:15 > 00:18:18:58:71:15, ethertype Loopback (0x9000), length 60:
12:37:47.763303 00:18:18:58:71:15 > 01:80:c2:00:00:00, 802.3, length 135: LLC, dsap STP (0x42) Individual, ssap STP (0x42) Command, ctrl 0x03: STP 802.1s, Rapid STP, CIST Flags [Learn, Forward, Agreement]
12:37:47.883803 4a:30:f6:34:c9:3b > ff:ff:ff:ff:ff:ff, ethertype 802.1Q (0x8100), length 46: vlan 300, p 0, ethertype ARP, Request who-has 10.10.255.253 tell 10.10.255.240, length 28
12:37:48.901316 4a:30:f6:34:c9:3b > ff:ff:ff:ff:ff:ff, ethertype 802.1Q (0x8100), length 46: vlan 300, p 0, ethertype ARP, Request who-has 10.10.255.253 tell 10.10.255.240, length 28
12:37:49.776666 00:18:18:58:71:15 > 01:80:c2:00:00:00, 802.3, length 135: LLC, dsap STP (0x42) Individual, ssap STP (0x42) Command, ctrl 0x03: STP 802.1s, Rapid STP, CIST Flags [Learn, Forward, Agreement]
12:37:49.899844 4a:30:f6:34:c9:3b > ff:ff:ff:ff:ff:ff, ethertype 802.1Q (0x8100), length 46: vlan 300, p 0, ethertype ARP, Request who-has 10.10.255.253 tell 10.10.255.240, length 28
12:37:50.899853 4a:30:f6:34:c9:3b > ff:ff:ff:ff:ff:ff, ethertype 802.1Q (0x8100), length 46: vlan 300, p 0, ethertype ARP, Request who-has 10.10.255.253 tell 10.10.255.240, length 28
12:37:51.789814 00:18:18:58:71:15 > 01:80:c2:00:00:00, 802.3, length 135: LLC, dsap STP (0x42) Individual, ssap STP (0x42) Command, ctrl 0x03: STP 802.1s, Rapid STP, CIST Flags [Learn, Forward, Agreement]
12:37:51.917313 4a:30:f6:34:c9:3b > ff:ff:ff:ff:ff:ff, ethertype 802.1Q (0x8100), length 46: vlan 300, p 0, ethertype ARP, Request who-has 10.10.255.253 tell 10.10.255.240, length 28
12:37:52.915840 4a:30:f6:34:c9:3b > ff:ff:ff:ff:ff:ff, ethertype 802.1Q (0x8100), length 46: vlan 300, p 0, ethertype ARP, Request who-has 10.10.255.253 tell 10.10.255.240, length 28
12:37:53.803494 00:18:18:58:71:15 > 01:80:c2:00:00:00, 802.3, length 135: LLC, dsap STP (0x42) Individual, ssap STP (0x42) Command, ctrl 0x03: STP 802.1s, Rapid STP, CIST Flags [Learn, Forward, Agreement]
12:37:53.915862 4a:30:f6:34:c9:3b > ff:ff:ff:ff:ff:ff, ethertype 802.1Q (0x8100), length 46: vlan 300, p 0, ethertype ARP, Request who-has 10.10.255.253 tell 10.10.255.240, length 28
If I configure VL300 directly on eth3 I can see the replies hitting the interface:
--------------------------------------------------------
root@vs1:~# tcpdump -nne -i eth3.300 host 10.10.255.240
tcpdump: WARNING: eth3.300: no IPv4 address assigned
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on eth3.300, link-type EN10MB (Ethernet), capture size 65535 bytes
12:41:11.971885 68:05:ca:07:de:2c > 4a:30:f6:34:c9:3b, ethertype ARP (0x0806), length 60: Reply 10.10.255.253 is-at 68:05:ca:07:de:2c, length 46
12:41:12.972009 68:05:ca:07:de:2c > 4a:30:f6:34:c9:3b, ethertype ARP (0x0806), length 60: Reply 10.10.255.253 is-at 68:05:ca:07:de:2c, length 46
12:41:13.989488 68:05:ca:07:de:2c > 4a:30:f6:34:c9:3b, ethertype ARP (0x0806), length 60: Reply 10.10.255.253 is-at 68:05:ca:07:de:2c, length 46
However, if I do the same on vmbr3 (firstly removing eth3.300) I again only see the requests:
-------------------------------------------------------------
root@vs1:~# tcpdump -nne -i vmbr3.300
tcpdump: WARNING: vmbr3.300: no IPv4 address assigned
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on vmbr3.300, link-type EN10MB (Ethernet), capture size 65535 bytes
12:40:18.683813 4a:30:f6:34:c9:3b > ff:ff:ff:ff:ff:ff, ethertype ARP (0x0806), length 42: Request who-has 10.10.255.253 tell 10.10.255.240, length 28
12:40:19.701773 4a:30:f6:34:c9:3b > ff:ff:ff:ff:ff:ff, ethertype ARP (0x0806), length 42: Request who-has 10.10.255.253 tell 10.10.255.240, length 28
12:40:20.699815 4a:30:f6:34:c9:3b > ff:ff:ff:ff:ff:ff, ethertype ARP (0x0806), length 42: Request who-has 10.10.255.253 tell 10.10.255.240, length 28
12:40:21.699804 4a:30:f6:34:c9:3b > ff:ff:ff:ff:ff:ff, ethertype ARP (0x0806), length 42: Request who-has 10.10.255.253 tell 10.10.255.240, length 28
So clearly, the VM is allowing packets to exit using the correct VLAN, but for some reason, the return packets are getting discarded. This is driving me nuts, don't know where else to look? I've got other linux based (not proxmox) devices which act as a bridge between two interfaces and these forward all VLAN's as a trunk perfectly, so no idea what's going on here.
Thanks
Anubis.