From owner-freebsd-questions@FreeBSD.ORG Thu Dec 29 08:17:55 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C7ECA1065670 for ; Thu, 29 Dec 2011 08:17:55 +0000 (UTC) (envelope-from james@colannino.org) Received: from gateway09.websitewelcome.com (gateway09.websitewelcome.com [67.18.15.8]) by mx1.freebsd.org (Postfix) with ESMTP id 9913C8FC12 for ; Thu, 29 Dec 2011 08:17:55 +0000 (UTC) Received: by gateway09.websitewelcome.com (Postfix, from userid 507) id 77B1C97B5A08F; Thu, 29 Dec 2011 01:48:19 -0600 (CST) Received: from gator1823.hostgator.com (gator1823.hostgator.com [184.173.227.20]) by gateway09.websitewelcome.com (Postfix) with ESMTP id 69F6997B5A06B for ; Thu, 29 Dec 2011 01:48:19 -0600 (CST) Received: from [127.0.0.1] (port=43139 helo=localhost) by gator1823.hostgator.com with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.69) (envelope-from ) id 1RgAip-00006M-DD; Thu, 29 Dec 2011 01:48:19 -0600 Received: from 69.12.176.48 ([69.12.176.48]) by gator1823.hostgator.com (Horde Framework) with HTTP; Thu, 29 Dec 2011 01:48:19 -0600 Message-ID: <20111229014819.11102imhiognb9es@gator1823.hostgator.com> Date: Thu, 29 Dec 2011 01:48:19 -0600 From: james@colannino.org To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; DelSp="Yes"; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: 7bit User-Agent: Internet Messaging Program (IMP) H3 (4.3.9) X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - gator1823.hostgator.com X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - colannino.org X-BWhitelist: no X-Source: X-Source-Args: X-Source-Dir: X-Source-Sender: (localhost) [127.0.0.1]:43139 X-Source-Auth: james@colannino.org X-Email-Count: 1 X-Source-Cap: Y3JhenlkcmM7Y3JhenlkcmM7Z2F0b3IxODIzLmhvc3RnYXRvci5jb20= Subject: Static IP on a Bridge X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 29 Dec 2011 08:17:55 -0000 Hey everyone. I've successfully setup a network bridge in /etc/rc.conf. However, I am only able to access the network if I dhcp on bridge0 *after* the bridge is configured. If I try to set a static IP on the bridge, things don't work. Here's my /etc/rc.conf: cloned_interfaces="bridge0 tap0 tap1" ifconfig_bridge0="addm re0 addm tap0 addm tap1 up inet 192.168.1.6 netmask 255.255.255.0" ifconfig_re0="up" ifconfig_tap0="up" ifconfig_tap1="up" defaultrouter="192.168.1.1" bridge0 is configured with the IP 192.168.1.6, but I can't ping out. However, once I run dhclient in bridge0, things magically work. Does anyone know why the above won't work? Thanks! James