Can I pass 802.1q (VLAN tagged) through a VPN Tincin HUB/Switchmode?

Ramses II ramses.sevilla at gmail.com
Mon Apr 5 13:02:10 CEST 2010


Hi again,

I have changed both routers by two servers with CentOS linux and two
physical interfaces (eth0 and eth1).

I have connected both servers by the eth1 interface.

I have created a bridge and I have added the tap0 and the eth0 interface.

Each eth0 interface was connect to a trunk port (802.1q) of a switch.

I have connected a PC to a untagged port (VLAN5) of one of the switches.

I can see the Mac Address of this PC in the trunk port of the other switch
but is asociated to the VLAN1 (Default).

I have captured the traffic of the eth0 interface of the server that is
connected to the trunk interface of the same switch tha is connected the PC
and not show me the VLAN ID:

-----------------------------------------------------------------------
[root@ /]# tcpdump -ne -i eth0 | grep ICMP
tcpdump: WARNING: eth0: no IPv4 address assigned
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on eth0, link-type EN10MB (Ethernet), capture size 96 bytes
12:55:57.984204 00:17:c5:12:f6:80 > 00:19:66:3a:06:a3, ethertype IPv4
(0x0800), length 98: 10.158.3.60 > 10.158.5.50: ICMP echo request, id 16148,
seq 4, length 64
12:55:58.983872 00:17:c5:12:f6:80 > 00:19:66:3a:06:a3, ethertype IPv4
(0x0800), length 98: 10.158.3.60 > 10.158.5.50: ICMP echo request, id 16148,
seq 5, length 64
12:55:59.983579 00:17:c5:12:f6:80 > 00:19:66:3a:06:a3, ethertype IPv4
(0x0800), length 98: 10.158.3.60 > 10.158.5.50: ICMP echo request, id 16148,
seq 6, length 64
12:56:00.983273 00:17:c5:12:f6:80 > 00:19:66:3a:06:a3, ethertype IPv4
(0x0800), length 98: 10.158.3.60 > 10.158.5.50: ICMP echo request, id 16148,
seq 7, length 64
12:56:01.982993 00:17:c5:12:f6:80 > 00:19:66:3a:06:a3, ethertype IPv4
(0x0800), length 98: 10.158.3.60 > 10.158.5.50: ICMP echo request, id 16148,
seq 8, length 64
12:56:02.982721 00:17:c5:12:f6:80 > 00:19:66:3a:06:a3, ethertype IPv4
(0x0800), length 98: 10.158.3.60 > 10.158.5.50: ICMP echo request, id 16148,
seq 9, length 64
12:56:03.982380 00:17:c5:12:f6:80 > 00:19:66:3a:06:a3, ethertype IPv4
(0x0800), length 98: 10.158.3.60 > 10.158.5.50: ICMP echo request, id 16148,
seq 10, length 64
12:56:18.506129 00:17:c5:12:f6:80 > 00:15:e9:86:2a:d9, ethertype IPv4
(0x0800), length 98: 10.158.3.60 > 10.158.5.67: ICMP echo request, id 32789,
seq 1, length 64
12:56:18.657118 00:17:c5:12:f6:80 > 00:19:66:3a:06:a3, ethertype IPv4
(0x0800), length 98: 10.158.3.60 > 10.158.5.50: ICMP echo request, id 43029,
seq 1, length 64
224 packets captured
224 packets received by filter
0 packets dropped by kernel

[root@ /]#
-----------------------------------------------------------------------

Can anybody help me with this?


Best regards,

Ramses




More information about the tinc mailing list