From owner-freebsd-net@FreeBSD.ORG Sun Apr 19 20:52:58 2009 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 112A91065673 for ; Sun, 19 Apr 2009 20:52:58 +0000 (UTC) (envelope-from jon.otterholm@ide.resurscentrum.se) Received: from mail1.cil.se (mail1.cil.se [217.197.56.125]) by mx1.freebsd.org (Postfix) with ESMTP id 991B38FC19 for ; Sun, 19 Apr 2009 20:52:57 +0000 (UTC) (envelope-from jon.otterholm@ide.resurscentrum.se) Received: from 192.168.98.90 ([192.168.98.90]) by edusrv05.edu.irc.local ([192.168.44.14]) with Microsoft Exchange Server HTTP-DAV ; Sun, 19 Apr 2009 20:53:09 +0000 User-Agent: Microsoft-Entourage/12.15.0.081119 Date: Sun, 19 Apr 2009 22:52:55 +0200 From: Jon Otterholm To: Robert Watson , "freebsd-net@freebsd.org" Message-ID: Thread-Topic: Forwarding w/o promisc on 6.4 Thread-Index: AcnBMNAO0E7R5tk7QEK44Os+3kX4VA== In-Reply-To: Mime-version: 1.0 Content-type: text/plain; charset="US-ASCII" Content-transfer-encoding: 7bit Cc: Subject: Re: Forwarding w/o promisc on 6.4 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: Sun, 19 Apr 2009 20:52:58 -0000 On 2009-04-19 11.14, "Robert Watson" wrote: > On Sun, 19 Apr 2009, Jon Otterholm wrote: > >> I have a router running 6.4R that does not forward packets if I disable >> PROMISC on the interface. Hardware is a Dell PE with two Intel 82541EI >> chipsets (if_em). I have a number (~100) of vlan-interfaces on em0. >> Everything works as aexpected if I turn on PROMISC on em0 but forwarding >> stops if I disable it, I can still communicate with the router directly on >> the same logical network (for example pinging interface adress on a vlan_if >> from a client on that vlan) but all forwarding stops. > > Try disabling hardware VLAN taggging/processing? I believe you should be able > to do this with "ifconfig em0 -vlanhwtag" (substituting appropriate interface > names). It could be there's a bug in how hardware-optimized tag handling is > being managed, as when promiscuous mode is used we re-insert vlan headers in > software for the benefits of BPF. I tried doing this without any luck. Running GENERIC kernconf. //JO > > Robert N M Watson > Computer Laboratory > University of Cambridge > >> >> Some info: >> net.inet.ip.forwarding: 1 >> net.inet.ip.fastforwarding: 0 (enableing this does not help) >> net.inet.tcp.recvspace=1048576 >> net.inet.tcp.sendspace=1048576 >> kern.ipc.maxsockbuf=16777216 >> >> I use PF for filtering and disableing this does not help either. >> >> Anyone with a clue? >> >> //JO >> >> _______________________________________________ >> freebsd-net@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-net >> To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" >> > _______________________________________________ > freebsd-net@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-net > To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org"