Date: Wed, 25 Nov 2009 22:39:04 +0000 From: Paul Grave <paul@stomer.net> To: freebsd-questions@freebsd.org Subject: DHCP on bridge0 fails on boot Message-ID: <0D259D8F-9278-45F5-956F-B5C82A7A78B9@stomer.net>
next in thread | raw e-mail | index | archive | help
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<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> metric = 0 mtu 1500 = options=3D3898<VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,WOL_UCAST,WOL_MCAST,WOL= _MAGIC> ether 00:1c:c0:de:9d:39 media: Ethernet autoselect (1000baseT <full-duplex>) status: active plip0: flags=3D8810<POINTOPOINT,SIMPLEX,MULTICAST> metric 0 mtu 1500 lo0: flags=3D8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384 options=3D3<RXCSUM,TXCSUM> 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<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> 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<LEARNING,DISCOVER,AUTOEDGE,AUTOPTP> ifmaxaddr 0 port 1 priority 128 path cost 20000 member: tap0 flags=3D143<LEARNING,DISCOVER,AUTOEDGE,AUTOPTP> ifmaxaddr 0 port 5 priority 128 path cost 2000000 tap0: flags=3D8942<BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> metric 0 = mtu 1500 ether 00:bd:a0:b1:00:00 Opened by PID 1027 -- Paul Grave=20 email: mailto:paul@stomer.net
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?0D259D8F-9278-45F5-956F-B5C82A7A78B9>