Vlan on physical interface breaks TCP

Bug #1652946 reported by kvaps
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Expired
Medium
Unassigned

Bug Description

### More info:
http://serverfault.com/questions/820689/tcp-handshake-error-syn-and-syn-ack-packets-are-not-recognised/

### Kernel version
```bash
# uname -a
Linux docker-host 4.4.0-31-generic #50-Ubuntu SMP Wed Jul 13 00:07:12 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
```
### Step to reproduce:
 - I use proxmox hypervisor and create virtual machine with virtio nic
 - Take ubuntu-server 16.04.1 https://www.ubuntu.com/download/server/thank-you?version=16.04.1&architecture=amd64
 - Install in minimal installation
 - Execute:

```bash
# ip link add link ens18 name ens18.111 type vlan id 111
# ip addr add 192.168.111.80/24 dev ens18.111
# ip link set ens18.111 up
# ping 192.168.111.1
PING 192.168.111.1 (192.168.111.1) 56(84) bytes of data.
64 bytes from 192.168.111.1: icmp_seq=1 ttl=64 time=17.9 ms
64 bytes from 192.168.111.1: icmp_seq=2 ttl=64 time=18.8 ms
64 bytes from 192.168.111.1: icmp_seq=3 ttl=64 time=18.5 ms
^C
--- 192.168.111.1 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2002ms
rtt min/avg/max/mdev = 17.932/18.455/18.841/0.414 m

# nslookup
> server 192.168.111.1
Default server: 192.168.111.1
Address: 192.168.111.1#53
> google.com
Server: 192.168.111.1
Address: 192.168.111.1#53

Non-authoritative answer:
Name: google.com
Address: 173.194.222.139
Name: google.com
Address: 173.194.222.113
Name: google.com
Address: 173.194.222.100
Name: google.com
Address: 173.194.222.102
Name: google.com
Address: 173.194.222.138
Name: google.com
Address: 173.194.222.101
> type cv
Server: 192.168.111.1
Address: 192.168.111.1#53

** server can't find type: NXDOMAIN
> google.com
;; connection timed out; no servers could be reached
^C
```

I tested this issue on arch linux iso and it's work properly
```bash
# uname -a
Linux archiso 4.8.11-1-ARCH #1 SMP PREEMPT SUN Nov 27 09:26:14 CET 2016 x86_64 FNU/Linux
```
---
AlsaDevices:
 total 0
 crw-rw---- 1 root audio 116, 1 Dec 29 02:29 seq
 crw-rw---- 1 root audio 116, 33 Dec 29 02:29 timer
AplayDevices: Error: [Errno 2] No such file or directory
ApportVersion: 2.20.1-0ubuntu2.4
Architecture: amd64
ArecordDevices: Error: [Errno 2] No such file or directory
AudioDevicesInUse: Error: command ['fuser', '-v', '/dev/snd/seq', '/dev/snd/timer'] failed with exit code 1:
DistroRelease: Ubuntu 16.04
HibernationDevice: RESUME=/dev/mapper/docker--host-swap
InstallationDate: Installed on 2016-12-28 (0 days ago)
InstallationMedia: Ubuntu-Server 16.04.1 LTS "Xenial Xerus" - Release amd64 (20160719)
IwConfig: Error: [Errno 2] No such file or directory
Lsusb:
 Bus 001 Device 002: ID 0627:0001 Adomax Technology Co., Ltd
 Bus 001 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
MachineType: QEMU Standard PC (i440FX + PIIX, 1996)
Package: linux (not installed)
PciMultimedia:

ProcEnviron:
 LANGUAGE=en_US:en
 TERM=xterm-256color
 PATH=(custom, no user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcFB: 0 cirrusdrmfb
ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-4.4.0-31-generic root=/dev/mapper/docker--host-root ro
ProcVersionSignature: Ubuntu 4.4.0-31.50-generic 4.4.13
RelatedPackageVersions:
 linux-restricted-modules-4.4.0-31-generic N/A
 linux-backports-modules-4.4.0-31-generic N/A
 linux-firmware 1.157.4
RfKill: Error: [Errno 2] No such file or directory
Tags: xenial xenial
Uname: Linux 4.4.0-31-generic x86_64
UnreportableReason: The report belongs to a package that is not installed.
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups:

_MarkForUpload: False
dmi.bios.date: 04/01/2014
dmi.bios.vendor: SeaBIOS
dmi.bios.version: rel-1.7.5.1-0-g8936dbb-20141113_115728-nilsson.home.kraxel.org
dmi.chassis.type: 1
dmi.chassis.vendor: QEMU
dmi.chassis.version: pc-i440fx-2.2
dmi.modalias: dmi:bvnSeaBIOS:bvrrel-1.7.5.1-0-g8936dbb-20141113_115728-nilsson.home.kraxel.org:bd04/01/2014:svnQEMU:pnStandardPC(i440FX+PIIX,1996):pvrpc-i440fx-2.2:cvnQEMU:ct1:cvrpc-i440fx-2.2:
dmi.product.name: Standard PC (i440FX + PIIX, 1996)
dmi.product.version: pc-i440fx-2.2
dmi.sys.vendor: QEMU

Revision history for this message
kvaps (kvapss) wrote :

At the moment I tried to reproduce this error in ubuntu again and I did not succeed.
But something is clearly wrong. :(

Revision history for this message
Brad Figg (brad-figg) wrote : Missing required logs.

This bug is missing log files that will aid in diagnosing the problem. From a terminal window please run:

apport-collect 1652946

and then change the status of the bug to 'Confirmed'.

If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'.

This change has been made by an automated script, maintained by the Ubuntu Kernel Team.

Changed in linux (Ubuntu):
status: New → Incomplete
Revision history for this message
kvaps (kvapss) wrote : CRDA.txt

apport information

tags: added: apport-collected xenial
description: updated
Revision history for this message
kvaps (kvapss) wrote : CurrentDmesg.txt

apport information

Revision history for this message
kvaps (kvapss) wrote : JournalErrors.txt

apport information

Revision history for this message
kvaps (kvapss) wrote : Lspci.txt

apport information

Revision history for this message
kvaps (kvapss) wrote : ProcCpuinfo.txt

apport information

Revision history for this message
kvaps (kvapss) wrote : ProcInterrupts.txt

apport information

Revision history for this message
kvaps (kvapss) wrote : ProcModules.txt

apport information

Revision history for this message
kvaps (kvapss) wrote : UdevDb.txt

apport information

Revision history for this message
kvaps (kvapss) wrote : WifiSyslog.txt

apport information

Revision history for this message
Joseph Salisbury (jsalisbury) wrote :

Did this issue start happening after an update/upgrade? Was there a prior kernel version where you were not having this particular problem?

Would it be possible for you to test the latest upstream kernel? Refer to https://wiki.ubuntu.com/KernelMainlineBuilds . Please test the latest v4.10 kernel[0].

If this bug is fixed in the mainline kernel, please add the following tag 'kernel-fixed-upstream'.

If the mainline kernel does not fix this bug, please add the tag: 'kernel-bug-exists-upstream'.

Once testing of the upstream kernel is complete, please mark this bug as "Confirmed".

Thanks in advance.

[0] http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.10-rc2

Changed in linux (Ubuntu):
importance: Undecided → Medium
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for linux (Ubuntu) because there has been no activity for 60 days.]

Changed in linux (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.