From owner-freebsd-net Fri Oct 4 10: 9:49 2002 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 BFEB937B404; Fri, 4 Oct 2002 10:09:46 -0700 (PDT) Received: from venus.vincentjardin.net (AVelizy-102-1-1-238.abo.wanadoo.fr [193.253.255.238]) by mx1.FreeBSD.org (Postfix) with ESMTP id D611943E3B; Fri, 4 Oct 2002 10:09:45 -0700 (PDT) (envelope-from jardin@venus.vincentjardin.net) Received: by venus.vincentjardin.net (Postfix, from userid 501) id B4FE41503A0; Fri, 4 Oct 2002 17:39:03 +0200 (CEST) Content-Type: text/plain; charset="iso-8859-1" From: Vincent Jardin To: "Vladimir B. " Grebenschikov , sumikawa@FreeBSD.org Subject: Re: zebra interface flags problem on 4.7-RC2 (IFF_PROMISC) Date: Fri, 4 Oct 2002 17:39:03 +0200 X-Mailer: KMail [version 1.3.1] Cc: freebsd-net@freebsd.org, sobomax@freebsd.org References: <1033739506.1060.16.camel@vbook.express.ru> In-Reply-To: <1033739506.1060.16.camel@vbook.express.ru> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-Id: <20021004153903.B4FE41503A0@venus.vincentjardin.net> Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org It looks like your BSD kernel is not compiled with the IPv6 support. Le Vendredi 4 Octobre 2002 15:51, "Vladimir B. " Grebenschikov a écrit : > Hi > > I have tried to install fresh zebra (from ports) on 4.7-RC2 > > have a problem - zebra turns on promiscuity mode on interface, > it is completely unacceptable when interface connected to HUB (not > switch) - router begins resend all packets. > > # ifconfig fxp1 > fxp1: flags=8843 mtu 1500 > inet 193.125.143.129 netmask 0xffffff00 broadcast > 193.125.143.255 > ether 00:a0:c9:41:a3:a3 > media: Ethernet autoselect (10baseT/UTP) > status: active You do not have any link-local address on this interface. > # zebra -d > 2002/10/04 16:33:42 ZEBRA: can't get ip6forwarding value If you do not need any IPv6 support, you can compile zebra without the IPv6 support: --disable-ipv6 > # ifconfig fxp1 > fxp1: flags=8943 mtu > 1500 > inet 193.125.143.129 netmask 0xffffff00 broadcast > 193.125.143.255 > ether 00:a0:c9:41:a3:a3 > media: Ethernet autoselect (10baseT/UTP) > status: active > > > Nothing special in zebra config, just installed 4.7-RC2, just upgraded > zebra. > > I am not sure is it Zebra-related or FreeBSD-related problem > digging into zebra code do not show any abnormal interface flags > installed. > > May be problem related to following commit: > > date: 2002/08/30 14:23:38; author: sobomax; state: Exp; lines: +25 -4 > MFC: user-setable promisc mode. The code is slightly diffrent (and > uglier) > than in HEAD, because we have had to preserve kernel ABI, so that > increasing > if_flags to 32 bits was not an option. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message