From owner-freebsd-net@FreeBSD.ORG Tue Jun 21 09:17:34 2005 Return-Path: X-Original-To: freebsd-net@freebsd.org Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4E3DE16A41C for ; Tue, 21 Jun 2005 09:17:34 +0000 (GMT) (envelope-from jura@netams.com) Received: from networks.ru (orange.networks.ru [80.249.138.5]) by mx1.FreeBSD.org (Postfix) with ESMTP id C21EF43D1D for ; Tue, 21 Jun 2005 09:17:33 +0000 (GMT) (envelope-from jura@netams.com) X-Spam-Status: No, hits=0.0 required=2.0 Received: from [81.195.67.217] (account jura@netams.com HELO Jura) by networks.ru (CommuniGate Pro SMTP 4.2.8) with ESMTP-TLS id 1618090 for freebsd-net@freebsd.org; Tue, 21 Jun 2005 13:17:25 +0400 Message-ID: <07c501c57642$1d7d7ed0$6504010a@Jura> From: "Yuriy N. Shkandybin" To: Date: Tue, 21 Jun 2005 13:17:57 +0400 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="koi8-r"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.2527 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2527 Subject: vlan problems X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 Jun 2005 09:17:34 -0000 Hello I've met next problem. There is router under freebsd with nge card as parent for several vlans. vlan102: flags=8843 mtu 1500 inet 10.0.4.1 netmask 0xfffffe00 broadcast 10.0.5.255 ether 00:40:f4:47:be:10 media: Ethernet autoselect (1000baseSX ) status: active vlan: 102 parent interface: nge0 Under 5.4 vlan + nge doesn't work - core dumps but with 3 diffs from HEAD 1.70-1.72 for if_nge.c - all is working. Under 6 - it doen's work - but i've tried after Brooks Davis commits. It looks next: 1) vlan sends packets, but do not receive netstat -i shows 0 for ipackets field 2) tcpdump for parent interface shows nothing , but other side sees this arp tcpdump -n -i nge0 vlan 102 - shows nothing except outgoing "arp who has" 3)i've met same problem for lnc card under vmware I've saw in freebsd-net notes about linux-freebsd connectivity problems for dot1q It possible same problem here. Also i've checked same configuration for rl and em cards - they works well. My question: How can i debug this situation ? I've looked through if_rl, if_lnc and if_nge diffs as befor so after brooks@ patches - nothig special. Jura