Date: Sun, 30 Aug 2009 20:38:13 -0400 From: Sin <sinister@gmail.com> To: <freebsd-net@freebsd.org> Subject: ath0 unable to DHCP as part of a bridge Message-ID: <C98FD50473CC484D9A3EFA86867EA14C@dts>
next in thread | raw e-mail | index | archive | help
Hello, I'm using FreeBSD 7-STABLE. I have 6 NICs as a bridged interface, one = of which is a ath0 wireless NIC. I don't understand if this acting the = way it should. If I try to dhclient on interfact ath0 I'll get the = request no problems. But if I dhclient to bridge0 interface, it acts = like there's no server - Even though its bridged. Also note if I = connect a cable to any of the wired NICs, dhclient will then work on = bridge0 interface. The setup is kinda complicated, but i'm hoping someone may have a = different view on it. One thing that confused me is that the line in = /etc/rc.conf ifconfig_ath0=3D"WPA" - it does not matter if this line is = before or after the bridge declaration.=20 Compiled into the kernel: options NETGRAPH options NETGRAPH_L2TP options NETGRAPH_PPP options NETGRAPH_PPPOE options NETGRAPH_PPTPGRE options NETGRAPH_MPPC_ENCRYPTION options IPFIREWALL options IPFIREWALL_VERBOSE options IPFIREWALL_VERBOSE_LIMIT options IPFIREWALL_DEFAULT_TO_ACCEPT device if_bridge #Bridge interface device gre #IP over IP tunneling FreeBSD domainname 7.2-STABLE FreeBSD 7.2-STABLE #0: Sat Aug 29 05:39:09 = EDT 2009 root@domainname:/tmp/CVS/src/sys/i386/compile/TESTROUTER = i386 test# kldstat Id Refs Address Size Name 1 3 0xc0400000 556810 kernel 2 1 0xc0957000 6a49c acpi.ko test# ifconfig -a sk0: flags=3D8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> metric = 0 mtu 1500 options=3D8<VLAN_MTU> ether 00:0f:3d:88:18:31 media: Ethernet autoselect (none) status: no carrier vr0: flags=3D8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> metric = 0 mtu 1500 options=3D2808<VLAN_MTU,WOL_UCAST,WOL_MAGIC> ether 00:05:5d:75:1a:12 media: Ethernet autoselect (none) status: no carrier vr1: flags=3D8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> metric = 0 mtu 1500 options=3D2808<VLAN_MTU,WOL_UCAST,WOL_MAGIC> ether 00:05:5d:e9:61:79 media: Ethernet autoselect (none) status: no carrier ath0: flags=3D8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> = metric 0 mtu 1500 ether 00:17:9a:4c:e7:83 inet 192.168.0.251 netmask 0xffffff00 broadcast 192.168.0.255 media: IEEE 802.11 Wireless Ethernet autoselect (OFDM/48Mbps) status: associated ssid dts channel 2 (2417 Mhz 11g) bssid 00:17:9a:9e:f3:82 authmode WPA privacy ON deftxkey UNDEF TKIP 2:128-bit TKIP = 3:128-bit txpower 31.5 bmiss 7 scanvalid 60 bgscan bgscanintvl 300 bgscanidle 250 roam:rssi11g 7 roam:rate11g 5 protmode CTS burst roaming MANUAL bintval 30 sk1: flags=3D8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> metric = 0 mtu 1500 options=3D8<VLAN_MTU> ether 00:11:95:d7:25:e3 media: Ethernet autoselect (none) status: no carrier sk2: flags=3D8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> metric = 0 mtu 1500 options=3D8<VLAN_MTU> ether 00:11:95:d7:25:ee media: Ethernet autoselect (none) status: no carrier lo0: flags=3D8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384 inet 127.0.0.1 netmask 0xff000000 bridge0: flags=3D8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 = mtu 1500 ether 96:25:58:f9:dd:3d 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: vr1 flags=3D143<LEARNING,DISCOVER,AUTOEDGE,AUTOPTP> ifmaxaddr 0 port 3 priority 128 path cost 55 member: vr0 flags=3D143<LEARNING,DISCOVER,AUTOEDGE,AUTOPTP> ifmaxaddr 0 port 2 priority 128 path cost 55 member: sk2 flags=3D143<LEARNING,DISCOVER,AUTOEDGE,AUTOPTP> ifmaxaddr 0 port 6 priority 128 path cost 55 member: sk1 flags=3D143<LEARNING,DISCOVER,AUTOEDGE,AUTOPTP> ifmaxaddr 0 port 5 priority 128 path cost 55 member: sk0 flags=3D143<LEARNING,DISCOVER,AUTOEDGE,AUTOPTP> ifmaxaddr 0 port 1 priority 128 path cost 55 member: ath0 flags=3D143<LEARNING,DISCOVER,AUTOEDGE,AUTOPTP> ifmaxaddr 0 port 4 priority 128 path cost 76923 - 7.1-RELEASE upgrade to stable without mergemaster - world and kenel built from this supfile: test# cat /tmp/CVS/supfile *default tag=3DRELENG_7 *default host=3Dcvsup1.ca.FreeBSD.org *default prefix=3D/tmp/CVS *default base=3D/var/db *default release=3Dcvs delete use-rel-suffix compress src-all example of the exact issue as found in the command line: test# dhclient bridge0 DHCPDISCOVER on bridge0 to 255.255.255.255 port 67 interval 4 DHCPDISCOVER on bridge0 to 255.255.255.255 port 67 interval 5 DHCPDISCOVER on bridge0 to 255.255.255.255 port 67 interval 10 DHCPDISCOVER on bridge0 to 255.255.255.255 port 67 interval 14 DHCPDISCOVER on bridge0 to 255.255.255.255 port 67 interval 21 DHCPDISCOVER on bridge0 to 255.255.255.255 port 67 interval 7 No DHCPOFFERS received. No working leases in persistent database - sleeping. test# dhclient ath0 DHCPREQUEST on ath0 to 255.255.255.255 port 67 DHCPACK from 192.168.0.1 bound to 192.168.0.177 -- renewal in 43200 seconds.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?C98FD50473CC484D9A3EFA86867EA14C>