From owner-freebsd-questions@FreeBSD.ORG Wed Mar 23 22:33:13 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 B21A5106566C for ; Wed, 23 Mar 2011 22:33:13 +0000 (UTC) (envelope-from devnullaccount@yahoo.se) Received: from nm6.bullet.mail.ird.yahoo.com (nm6.bullet.mail.ird.yahoo.com [77.238.189.63]) by mx1.freebsd.org (Postfix) with SMTP id 1CC448FC1B for ; Wed, 23 Mar 2011 22:33:12 +0000 (UTC) Received: from [77.238.189.54] by nm6.bullet.mail.ird.yahoo.com with NNFMP; 23 Mar 2011 22:20:06 -0000 Received: from [212.82.108.122] by tm7.bullet.mail.ird.yahoo.com with NNFMP; 23 Mar 2011 22:20:06 -0000 Received: from [127.0.0.1] by omp1031.mail.ird.yahoo.com with NNFMP; 23 Mar 2011 22:20:06 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 481523.95918.bm@omp1031.mail.ird.yahoo.com Received: (qmail 27030 invoked by uid 60001); 23 Mar 2011 22:20:06 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.se; s=s1024; t=1300918806; bh=XYxveT3Ib5XW/sG5gx0aMXCmXrUVlA29tfPCvtl/e5Y=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type; b=UX5FuL8Xq7QiAzogngZTmVhHY1143xPJJhULz6xCcHGA2tuJhmZUTqvHAPqv18GB1I8Iev273k6BMwNP+MLGX+orqFllxZzzh7eolO7dbLOExtEFfE5ynKlKsJNtTisNNXQ9H63UC4BAUWfWiUugYv4btTng9KWYPxGTBTJiW4s= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.se; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type; b=myc70uKNT2Kfrfb1hGuulZ1wsYWwhTnB7yI0nboCpLfHVdPr36ZW2GzCUIFKtd68MoaqGiEKEba0e7s0WGY+6ykVYkBuhpD8fwu9Tb9cgDzJNcmmgHkdZoOJT1Xk8Ok8mwyGtQ3eFRwPSMIw1eE6pEqRWS7KYcfJezx6k6ffrtc=; Message-ID: <246940.22392.qm@web29003.mail.ird.yahoo.com> X-YMail-OSG: Ci4A1D8VM1lDWdifL7oOqV6sCAdnPUaFufGNvYfqH_lb6QV qL_BbdIgz1k.939yJRpfVoINEKbgr5qaX3F1cMjZHAueYijDJs_ZHlOpQVTR _Ad4uAhAGlpYPXRO7LOO2UWoehI1cNGHy1OyoeaPYEvnrqC.XhKygVUk27QB hELlCnMWYWEfGnzUin57arfi_4dViOEQfmedjUrl0XGa5GiS.4IeDYIT0d4O b4EiPOQj4MVqfXRqgvdtvmObmNQ4nVk7urGED7g0WOSu2VTcv.2rphr1LqRs zypwycP5PceuQHvaNI_umpAl1Rna5QC9TJ6KxYZ5qTokT8NhBeis- Received: from [213.113.1.56] by web29003.mail.ird.yahoo.com via HTTP; Wed, 23 Mar 2011 22:20:06 GMT X-Mailer: YahooMailClassic/12.0.2 YahooMailWebService/0.8.109.295617 Date: Wed, 23 Mar 2011 22:20:06 +0000 (GMT) From: Chris To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: Bridge, dpcpd, sshd 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: Wed, 23 Mar 2011 22:33:13 -0000 Hi all, I have a server machine that I use as DHCP server, sshd login etc, and since I have multiple Ethernet interfaces on it, I would like to use two of those for the internal network to avoid adding one more ethernet switch for just one extra machine. DHCP should configure hosts on both those interfaces and all the hosts should be on the same subnet. So, I set up a bridge interface as per the FreeBSD handbook (ch. 31.5), but now dhcpd is refusing to start during boot as it claim that the "bridge0" interface doesn't exist. If I manually start dhcpd with the same parameters after the machine has come up, it will start and it will also work as expected and assign addresses to users connecting from teh bridge interface. sshd seems to do something similar, it refuses to start, but can manually be re-started later on. Is this some kinf of expected behavior, or does it sound like I'm doing something badly wrong? Can I force bride0 to be configured earlier in the boot so it is always there when the daemons start waking up? Configuration info below. TIA, Chris ===== rc.conf extract ==== dhcpd_enable="YES" dhcpd_ifaces="bridge0" cloned_interfaces="bridge0" ifconfig_bridge0="addm dc0 addm dc1 up" ifconfig_bridge0="inet 172.16.0.100/24" ifconfig_dc0="up" ifconfig_dc1="up" ===== sshd.conf extract ===== ListenAddress 172.16.0.100 === the dhcpd.conf is quite standard and does not say anything about the interfaces, that info is in rc.conf above ==== === /var/log/messages extract ==== dhcpd: bridge0: not found