From owner-freebsd-bugs@FreeBSD.ORG Tue Jan 3 22:00:22 2012 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A45F5106566B for ; Tue, 3 Jan 2012 22:00:22 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 806A98FC13 for ; Tue, 3 Jan 2012 22:00:22 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q03M0MR6067968 for ; Tue, 3 Jan 2012 22:00:22 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q03M0Mo9067967; Tue, 3 Jan 2012 22:00:22 GMT (envelope-from gnats) Resent-Date: Tue, 3 Jan 2012 22:00:22 GMT Resent-Message-Id: <201201032200.q03M0Mo9067967@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Eugen Konkov Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BD824106564A for ; Tue, 3 Jan 2012 21:52:50 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22]) by mx1.freebsd.org (Postfix) with ESMTP id A0A688FC14 for ; Tue, 3 Jan 2012 21:52:50 +0000 (UTC) Received: from red.freebsd.org (localhost [127.0.0.1]) by red.freebsd.org (8.14.4/8.14.4) with ESMTP id q03Lqo4O091474 for ; Tue, 3 Jan 2012 21:52:50 GMT (envelope-from nobody@red.freebsd.org) Received: (from nobody@localhost) by red.freebsd.org (8.14.4/8.14.4/Submit) id q03LqofV091468; Tue, 3 Jan 2012 21:52:50 GMT (envelope-from nobody) Message-Id: <201201032152.q03LqofV091468@red.freebsd.org> Date: Tue, 3 Jan 2012 21:52:50 GMT From: Eugen Konkov To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: kern/163803: vlan does not work X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 03 Jan 2012 22:00:22 -0000 >Number: 163803 >Category: kern >Synopsis: vlan does not work >Confidential: no >Severity: critical >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Jan 03 22:00:21 UTC 2012 >Closed-Date: >Last-Modified: >Originator: Eugen Konkov >Release: FreeBSD 9.0-CURRENT >Organization: ISP FreeLine >Environment: FreeBSD 9.0-CURRENT FreeBSD 9.0-CURRENT #1: Wed Dec 28 15:40:29 EET 2011 @:/usr/obj/usr/src/sys/KES_KERN_v9 i386 >Description: as you can see on vlan408 there is arp reply messages from localhost but on igb0 there is arp replay traffic. >How-To-Repeat: on the switch turn off port where igb0 is connected, reboot system, leave system in this state for two days, after two days trun on port: # ifconfig igb0 igb0: flags=8843 metric 0 mtu 1500 options=1bb ether 00:1b:21:45:da:b8 inet6 fe80::21b:21ff:fe45:dab8%igb0 prefixlen 64 scopeid 0x1 nd6 options=29 media: Ethernet autoselect (1000baseT ) status: active # ifconfig vlan408 vlan408: flags=8843 metric 0 mtu 1500 options=3 ether 00:1b:21:45:da:b8 inet 10.11.19.54 netmask 0xfffffff8 broadcast 10.11.19.55 inet6 fe80::21b:21ff:fe45:dab8%vlan408 prefixlen 64 scopeid 0x23 nd6 options=29 media: Ethernet autoselect (1000baseT ) status: active vlan: 408 parent interface: igb0 on one console: # tcpdump -n -i vlan408 tcpdump: verbose output suppressed, use -v or -vv for full protocol decode listening on vlan408, link-type EN10MB (Ethernet), capture size 65535 bytes 23:26:55.636979 ARP, Request who-has 10.11.19.54 tell 10.11.19.53, length 46 23:26:55.636996 ARP, Reply 10.11.19.54 is-at 00:1b:21:45:da:b8, length 28 23:26:56.842635 ARP, Request who-has 10.11.19.51 tell 10.11.19.52, length 42 23:26:57.841024 ARP, Request who-has 10.11.19.51 tell 10.11.19.52, length 42 23:26:58.616629 IP 10.11.19.54.42483 > 10.11.19.53.22: Flags [S], seq 1536743224, win 8192, options [mss 1460,sackOK,eol], length 0 23:26:58.841133 ARP, Request who-has 10.11.19.51 tell 10.11.19.52, length 42 23:26:59.309114 ARP, Request who-has 10.11.19.50 tell 10.11.19.54, length 28 23:27:00.558856 ARP, Request who-has 10.11.19.50 tell 10.11.19.52, length 42 23:27:00.700957 IP 10.11.19.54.53179 > 10.11.19.53.22: Flags [S], seq 1698787765, win 8192, options [mss 1460,nop,wscale 9,sackOK,TS val 1581662728 ecr 0], length 0 on other console: # tcpdump -n -i igb0 -XXX 23:26:55.636975 ARP, Request who-has 10.11.19.54 tell 10.11.19.53, length 46 0x0000: ffff ffff ffff 0030 679d 8f26 8100 0198 .......0g..&.... 0x0010: 0806 0001 0800 0604 0001 0030 679d 8f26 ...........0g..& 0x0020: 0a0b 1335 0000 0000 0000 0a0b 1336 0000 ...5.........6.. 0x0030: 0000 0000 0000 0000 0000 0000 0000 0000 ................ 23:26:56.842630 ARP, Request who-has 10.11.19.51 tell 10.11.19.52, length 42 0x0000: ffff ffff ffff 0006 4f76 9695 8100 0198 ........Ov...... 0x0010: 0806 0001 0800 0604 0001 0006 4f76 9695 ............Ov.. 0x0020: 0a0b 1334 0000 0000 0000 0a0b 1333 0000 ...4.........3.. 0x0030: 0000 0000 0000 0000 0000 0000 ............ 23:26:57.841018 ARP, Request who-has 10.11.19.51 tell 10.11.19.52, length 42 0x0000: ffff ffff ffff 0006 4f76 9695 8100 0198 ........Ov...... 0x0010: 0806 0001 0800 0604 0001 0006 4f76 9695 ............Ov.. 0x0020: 0a0b 1334 0000 0000 0000 0a0b 1333 0000 ...4.........3.. 0x0030: 0000 0000 0000 0000 0000 0000 ............ 23:26:58.841126 ARP, Request who-has 10.11.19.51 tell 10.11.19.52, length 42 0x0000: ffff ffff ffff 0006 4f76 9695 8100 0198 ........Ov...... 0x0010: 0806 0001 0800 0604 0001 0006 4f76 9695 ............Ov.. 0x0020: 0a0b 1334 0000 0000 0000 0a0b 1333 0000 ...4.........3.. 0x0030: 0000 0000 0000 0000 0000 0000 ............ 23:27:00.558844 ARP, Request who-has 10.11.19.50 tell 10.11.19.52, length 42 0x0000: ffff ffff ffff 0006 4f76 9695 8100 0198 ........Ov...... 0x0010: 0806 0001 0800 0604 0001 0006 4f76 9695 ............Ov.. 0x0020: 0a0b 1334 0000 0000 0000 0a0b 1332 0000 ...4.........2.. 0x0030: 0000 0000 0000 0000 0000 0000 ............ reboot system after reboot traffice flows in normal way. >Fix: Does that related to save energy subsystem of LAN card? (it turns off, but do not turn on something) >Release-Note: >Audit-Trail: >Unformatted: