From owner-freebsd-stable Fri Dec 14 20:36:17 2001 Delivered-To: freebsd-stable@freebsd.org Received: from bleys.tpgi.com.au (bleys.tpgi.com.au [203.12.160.38]) by hub.freebsd.org (Postfix) with ESMTP id C621E37B405 for ; Fri, 14 Dec 2001 20:36:13 -0800 (PST) Received: (from smtpd@localhost) by bleys.tpgi.com.au (8.11.2/8.11.2) id fBF4aB021702 for ; Sat, 15 Dec 2001 15:36:11 +1100 Received: from muras-remote182.ocs.mq.edu.au(137.111.7.196), claiming to be "tpgi.com.au" via SMTP by bleys.tpgi.com.au, id smtpdzayAwD; Sat Dec 15 15:36:06 2001 Message-ID: <3C1AD304.55FC5863@tpgi.com.au> Date: Sat, 15 Dec 2001 15:35:16 +1100 From: eirvine X-Mailer: Mozilla 4.6 [en] (Win98; I) X-Accept-Language: en MIME-Version: 1.0 To: freebsd-stable@FreeBSD.ORG Subject: bridge funny stuff Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi all, I've got a freebsd box which I'm attempting to configure as a bridging firewall. I've got the bridge part to work, but there are a few wierd things that are happening. First, my config: fxp0 | ----- | | de0-| |-de1 | | ----- de0: external network. Unplumbed. de1: internal network. Unplumbed. fxp0: internal network. Control interface plumbed to ip and ipv6. Wierd thing (a). After I initialise the bridge, de0 and de1 come up with those auto-configured site local (?) ipv6 addresses. They were not there before. Here are the commands I use to initialise the bridge: sysctl net.link.ether.bridge=1 sysctl net.link.ether.bridge_cfg=de0:0,de1:0 sysctl net.link.ether.bridge_ipfw=1 Wierd thing (b): The kernel seems to get responses from network pings at both fxp0 and de1. I get messages like this on the console: Dec 13 19:16:43 teddy /kernel: arp: 00:03:47:13:6a:88 is using my IP address 137.111.240.192! Dec 13 19:16:43 teddy /kernel: xx ouch, bdg_forward for local pkt Dec 13 19:16:44 teddy /kernel: arp: 00:03:47:13:6a:88 is using my IP address 137.111.240.192! etc... de1 is part of the bridge, not the IP stack, right? The idea of setting up a bridge with two unplumbed bridge interfaces and a third plumbed "control" interface is the standard way to do it with Solaris and OpenBSD - I think. Is freebsd different in this respect? Have I found a bug? Eddie. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message