From owner-freebsd-net@FreeBSD.ORG Sun Apr 19 07:48:21 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 621341065670 for ; Sun, 19 Apr 2009 07:48:21 +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 E65DE8FC12 for ; Sun, 19 Apr 2009 07:48:20 +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 07:36:28 +0000 MIME-Version: 1.0 X-MimeOLE: Produced By Microsoft Exchange V6.5 User-Agent: Microsoft-Entourage/12.15.0.081119 Content-class: urn:content-classes:message Date: Sun, 19 Apr 2009 09:36:15 +0200 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Forwarding w/o promisc on 6.4 Thread-Index: AcnAwYUJE11BVzf5Wky25kEG35Ko6Q== From: "Jon Otterholm" To: Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: 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 07:48:21 -0000 Hi. 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. Some info: net.inet.ip.forwarding: 1 net.inet.ip.fastforwarding: 0 (enableing this does not help) net.inet.tcp.recvspace=3D1048576 net.inet.tcp.sendspace=3D1048576 kern.ipc.maxsockbuf=3D16777216 I use PF for filtering and disableing this does not help either. Anyone with a clue? //JO