[Dnsmasq-discuss] no address range available for DHCP request via wlan0

richardvoigt at gmail.com richardvoigt at gmail.com
Thu Apr 2 03:39:29 BST 2009


On Wed, Apr 1, 2009 at 3:19 AM, Brent S. Elmer, Ph.D. <webe3vt at aim.com>wrote:

> I don't think it is part of a bridge.  At least I didn't do anything to
> make it part of a bridge yet.  No IP address is configured on wlan0.


Well that's the problem.  dnsmasq only gives out addresses in the same block
as the address on the interface where the request came in (and by default
that address of the dnsmasq box becomes the gateway for clients as well).


>
>
> Here is what ifconfig shows.
>
>
> eth0      Link encap:Ethernet  HWaddr 00:04:5a:66:17:a0
>          inet addr:192.168.1.64  Bcast:192.168.1.255
> Mask:255.255.255.0
>           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
>          RX packets:25884 errors:0 dropped:0 overruns:0 frame:0
>          TX packets:17390 errors:0 dropped:0 overruns:0 carrier:0
>          collisions:0 txqueuelen:1000
>          RX bytes:28571594 (27.2 MiB)  TX bytes:1775015 (1.6 MiB)
>          Interrupt:5 Base address:0xd000
>
> lo        Link encap:Local Loopback
>          inet addr:127.0.0.1  Mask:255.0.0.0
>          UP LOOPBACK RUNNING  MTU:16436  Metric:1
>          RX packets:5258 errors:0 dropped:0 overruns:0 frame:0
>          TX packets:5258 errors:0 dropped:0 overruns:0 carrier:0
>          collisions:0 txqueuelen:0
>          RX bytes:690443 (674.2 KiB)  TX bytes:690443 (674.2 KiB)
>
> mon.wlan0 Link encap:UNSPEC  HWaddr
> 00-1F-1F-1D-39-F3-00-00-00-00-00-00-00-00-00-00
>          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
>          RX packets:300 errors:0 dropped:0 overruns:0 frame:0
>          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
>          collisions:0 txqueuelen:1000
>          RX bytes:21429 (20.9 KiB)  TX bytes:0 (0.0 B)
>
> wmaster0  Link encap:UNSPEC  HWaddr
> 00-1F-1F-1D-39-F3-00-00-00-00-00-00-00-00-00-00
>          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
>          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
>          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
>          collisions:0 txqueuelen:1000
>          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
>
> Here is what ifconfig wlan0 shows:
> wlan0     Link encap:Ethernet  HWaddr 00:1f:1f:1d:39:f3
>          BROADCAST MULTICAST  MTU:1500  Metric:1
>          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
>          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
>          collisions:0 txqueuelen:1000
>          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
>
>
> On Wed, 2009-04-01 at 02:37 +0000, richardvoigt at gmail.com wrote:
> > Is wlan0 a member of a bridge?  Is an IP address configured on wlan0?
> >
> > On Wed, Apr 1, 2009 at 12:38 AM, Brent S. Elmer, Ph.D.
> > <webe3vt at aim.com> wrote:
> >         I am trying to use dnsmasq to assign DHCP addresses for a
> >         wireless
> >         access point.  I keep getting the message above when it is
> >         trying to
> >         give out an address.  My computer that is running dnsmasq is
> >         connected
> >         to the internet via wired ethernet on eth0 to a DSL modem and
> >         gets an
> >         address via DHCP.  I have a wireless card on wlan0 that is set
> >         up to be
> >         an access point.  Obviously I am doing something wrong.  Any
> >         help would
> >         be appreciated.
> >
> >         The DHCP settings on the DSL router are:
> >         Begginning IP address: 192.168.1.64
> >         Ending IP address: 192.168.1.254
> >         Subnet Mask: 255.255.255.0
> >
> >         The dnsmasq.conf settings are:
> >         filterwin2k
> >         domain=theElmers.org
> >         local=/localnet/
> >         interface=wlan0
> >         dhcp-range=192.168.0.50,192.168.0.150,255.255.255.0,12h
> >
> >         Thanks,
> >         Brent
> >
> >
> >
> >
> >         _______________________________________________
> >         Dnsmasq-discuss mailing list
> >         Dnsmasq-discuss at lists.thekelleys.org.uk
> >         http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss
> >
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/attachments/20090402/3d26b478/attachment-0001.htm


More information about the Dnsmasq-discuss mailing list