From owner-freebsd-questions@FreeBSD.ORG Wed Nov 25 23:01:22 2009 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 5CF03106566C for ; Wed, 25 Nov 2009 23:01:22 +0000 (UTC) (envelope-from paul@stomer.net) Received: from mail-ew0-f226.google.com (mail-ew0-f226.google.com [209.85.219.226]) by mx1.freebsd.org (Postfix) with ESMTP id E063D8FC24 for ; Wed, 25 Nov 2009 23:01:21 +0000 (UTC) Received: by ewy26 with SMTP id 26so242775ewy.3 for ; Wed, 25 Nov 2009 15:01:20 -0800 (PST) Received: by 10.213.25.67 with SMTP id y3mr4652670ebb.31.1259188746745; Wed, 25 Nov 2009 14:39:06 -0800 (PST) Received: from ?172.16.21.11? (5ac80cbe.bb.sky.com [90.200.12.190]) by mx.google.com with ESMTPS id 13sm61047ewy.9.2009.11.25.14.39.05 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 25 Nov 2009 14:39:06 -0800 (PST) From: Paul Grave Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Date: Wed, 25 Nov 2009 22:39:04 +0000 Message-Id: <0D259D8F-9278-45F5-956F-B5C82A7A78B9@stomer.net> To: freebsd-questions@freebsd.org Mime-Version: 1.0 (Apple Message framework v1077) X-Mailer: Apple Mail (2.1077) Subject: DHCP on bridge0 fails on boot 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, 25 Nov 2009 23:01:22 -0000 I need some help configure DHCP on my bridge. I'm pretty much out of = ideas, so I'd be grateful for any help. =20 On boot, I want my FreeBSD install to create a bridge, add a couple of = interfaces to it (re0 and tap0), and they receive an IP address via = DHCP.=20 Here are the relevant lines in rc.conf: cloned_interfaces=3D"bridge0" autobridge_interfaces=3D"bridge0" autobridge_bridge0=3D"tap* re0" ifconfig_re0=3D"up" ifconfig_bridge0=3D"up" ifconfig_bridge0=3D"DHCP" Whilst my system is booting I see this: "Waiting 30s for the default route interface" When that message is being display I can also see output similar to = ifconfig's. I can see that both bridge0 and re0 are up. I can also see = that re0 has a status or "no carrier". I'm not sure if that is = significant or not.=20 If I look at dmesg, "re0: link state changed to UP" is right at the = bottom and ifconfig displays something similar to this: re0: flags=3D8943 metric = 0 mtu 1500 = options=3D3898 ether 00:1c:c0:de:9d:39 media: Ethernet autoselect (1000baseT ) status: active plip0: flags=3D8810 metric 0 mtu 1500 lo0: flags=3D8049 metric 0 mtu 16384 options=3D3 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3=20 inet6 ::1 prefixlen 128=20 inet 127.0.0.1 netmask 0xff000000=20 bridge0: flags=3D8843 metric 0 = mtu 1500 ether 76:15:56:05:de:63 id 00:00:00:00:00:00 priority 32768 hellotime 2 fwddelay 15 maxage 20 holdcnt 6 proto rstp maxaddr 100 timeout 1200 root id 00:00:00:00:00:00 priority 32768 ifcost 0 port 0 member: re0 flags=3D143 ifmaxaddr 0 port 1 priority 128 path cost 20000 member: tap0 flags=3D143 ifmaxaddr 0 port 5 priority 128 path cost 2000000 tap0: flags=3D8942 metric 0 = mtu 1500 ether 00:bd:a0:b1:00:00 Opened by PID 1027 -- Paul Grave=20 email: mailto:paul@stomer.net