From owner-freebsd-bugs@FreeBSD.ORG Tue Jul 5 15:10:21 2005 Return-Path: X-Original-To: freebsd-bugs@hub.freebsd.org Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9049616A41C for ; Tue, 5 Jul 2005 15:10:21 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4989B43D48 for ; Tue, 5 Jul 2005 15:10:21 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j65FALSX081815 for ; Tue, 5 Jul 2005 15:10:21 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j65FALwI081814; Tue, 5 Jul 2005 15:10:21 GMT (envelope-from gnats) Resent-Date: Tue, 5 Jul 2005 15:10:21 GMT Resent-Message-Id: <200507051510.j65FALwI081814@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, "Yuriy N. Shkandybin" Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 67B0116A41C for ; Tue, 5 Jul 2005 15:03:17 +0000 (GMT) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [216.136.204.117]) by mx1.FreeBSD.org (Postfix) with ESMTP id 539A143D45 for ; Tue, 5 Jul 2005 15:03:17 +0000 (GMT) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.13.1/8.13.1) with ESMTP id j65F3Hej051520 for ; Tue, 5 Jul 2005 15:03:17 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.13.1/8.13.1/Submit) id j65F3HSe051519; Tue, 5 Jul 2005 15:03:17 GMT (envelope-from nobody) Message-Id: <200507051503.j65F3HSe051519@www.freebsd.org> Date: Tue, 5 Jul 2005 15:03:17 GMT From: "Yuriy N. Shkandybin" To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-2.3 Cc: Subject: kern/83011: nge vlans broken 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, 05 Jul 2005 15:10:21 -0000 >Number: 83011 >Category: kern >Synopsis: nge vlans broken >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Jul 05 15:10:20 GMT 2005 >Closed-Date: >Last-Modified: >Originator: Yuriy N. Shkandybin >Release: CURRENT >Organization: NetAMS >Environment: FreeBSD ftp 6.0-CURRENT FreeBSD 6.0-CURRENT #0: Tue Jul 5 14:47:32 MSD 2005 root@:/usr/obj/usr/src/sys/FTP i386 >Description: There is nge0: flags=8843 mtu 1504 options=13 inet 10.0.0.2 netmask 0xffffff80 broadcast 10.0.0.127 ether 00:40:f4:47:be:10 media: Ethernet autoselect (1000baseSX ) status: active vlan100: flags=8843 mtu 1500 inet 10.0.1.1 netmask 0xffffff00 broadcast 10.0.1.255 ether 00:40:f4:47:be:10 media: Ethernet autoselect (1000baseSX ) status: active vlan: 100 parent interface: nge0 This config is working with FreeBSD-5 with applied patches HEAD 1.70-1.72 то if_nge.c (otherwise core dumps) And vlans completely broken in HEAD. But native nge0 interface is working. >How-To-Repeat: kldload if_nge ifconfig nge0 mtu 1504 up Provide dot1q trunk (there is vlan 100 with ip 10.0.1.1/24 for example) ifconfig vlan100 create ifconfig vlan 100 vlan 100 vlandev nge0 inet 10.0.1.2 netmask 255.255.255.0 ping 10.0.1.1 >Fix: >Release-Note: >Audit-Trail: >Unformatted: