Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 3 Jan 2012 21:52:50 GMT
From:      Eugen Konkov <kes-kes@yandex.ru>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   kern/163803: vlan does not work
Message-ID:  <201201032152.q03LqofV091468@red.freebsd.org>
Resent-Message-ID: <201201032200.q03M0Mo9067967@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
        options=1bb<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,JUMBO_MTU,VLAN_HWCSUM,TSO4>
        ether 00:1b:21:45:da:b8
        inet6 fe80::21b:21ff:fe45:dab8%igb0 prefixlen 64 scopeid 0x1
        nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
        media: Ethernet autoselect (1000baseT <full-duplex>)
        status: active
# ifconfig vlan408
vlan408: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
        options=3<RXCSUM,TXCSUM>
        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<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
        media: Ethernet autoselect (1000baseT <full-duplex>)
        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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201201032152.q03LqofV091468>