Public bug reported:

### 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
```

** Affects: linux (Ubuntu)
     Importance: Undecided
         Status: Incomplete

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1652946

Title:
  Vlan on physical interface breaks TCP

Status in linux package in Ubuntu:
  Incomplete

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
  ```

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1652946/+subscriptions

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to     : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to