[Bridge] Fixed module loading problem, but can't run dhcp

Stuart Luppescu s-luppescu at uchicago.edu
Fri Feb 13 10:51:15 PST 2004


I fixed the problem with loading the bridge module. I tried doing make
clean and remaking the kernel, but that didn't help, so I did make
mrproper and that fixed it.

Now I've got my wireless and wired networks bridged but I can't get dhcp
to start for my wireless network. Here are the commands I run to get the
bridged network up:

ifconfig eth0 down
modprobe bridge
modprobe hostap_pci
iwconfig wlan0 essid SNL
brctl addbr br0
brctl addif br0 eth0
brctl addif br0 wlan0
ifconfig eth0 0.0.0.0
ifconfig wlan0 0.0.0.0
ifconfig br0 192.168.1.1 up

I have this in my dhcpd.conf:

subnet 192.168.1.0 netmask 255.255.255.0 {
ddns-updates on;
range 192.168.1.100 192.168.1.164;
}

But when I try and start dhcpd I get these messages:

Feb 13 18:42:58 brian dhcpd: Wrote 0 leases to leases file.
Feb 13 18:42:58 brian dhcpd: 
Feb 13 18:42:58 brian dhcpd: No subnet declaration for wlan0 (0.0.0.0).
Feb 13 18:42:58 brian dhcpd: ** Ignoring requests on wlan0.  If this is
not what
Feb 13 18:42:58 brian dhcpd:    you want, please write a subnet
declaration
Feb 13 18:42:58 brian dhcpd:    in your dhcpd.conf file for the network
segment
Feb 13 18:42:58 brian dhcpd:    to which interface wlan0 is attached. **
Feb 13 18:42:58 brian dhcpd: 
Feb 13 18:42:58 brian dhcpd: 
Feb 13 18:42:58 brian dhcpd: Not configured to listen on any interfaces!

I even put in 0.0.0.0 in the network segment instead of 192.168.1.0, but
that didn't result in anything different. 

I've been using Linux for nearly 9 years but have never used dhcp. This
has got me stumped. Can anyone give me some advice?

Thanks.
-- 
Stuart Luppescu -=- s-luppescu .at. uchicago.edu        
University of Chicago -=- CCSR 
才文と智奈美の父 -=-    Kernel 2.6.1-gentoo                
The only "intuitive" interface is the nipple. After
 that, it's all learned. (Bruce Ediger,
 bediger at teal.csn.org, in comp.os.linux.misc, on X 
 interfaces.) 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.linux-foundation.org/pipermail/bridge/attachments/20040213/4687b8bb/attachment-0002.pgp


More information about the Bridge mailing list