Configuring DHCPD for a wireless LAN.

Configuring DHCPD for a wireless LAN.

Post by Nirnime » Sat, 05 Jun 2004 04:30:20



Background: want to configure DHCP for wireless LAN (at present
wired:- has several vlans/subnets configured). using RH-Linux-9.0,
dhcpd, configured /etc/dhcpd.conf

I've setup a DHCP server. Now, if the client falls in the same subnet
as the dhcp server, it's able to fetch an IP and configure its network
as expected. However, if the DHCP server falls in a different subnet,
the client doesn't sense for it. I   want to configure only a single
DHCP server for the whole LAN (across all the subnets)..(I know it's
possible).
Using dhclient -s <dhcpd-server's ip>, and sniffing on the server
using ethereal shows that the dhchpd server does recieve a DHCP
request. But still no response from the dhcpd server. Anyway, I don't
expect the client to be able to specify the source's IP (that's sane,
I guess).

Do I need any specific VLAN configurations to allow this "sensing" of
the DHCP server over the entire network? Or is it that the DHCP server
keeps on making periodic announcements?

Nirnimesh.

 
 
 

Configuring DHCPD for a wireless LAN.

Post by Cameron Ker » Sat, 05 Jun 2004 04:51:02



> However, if the DHCP server falls in a different subnet, the client
> doesn't sense for it. I   want to configure only a single DHCP server
> for the whole LAN (across all the subnets)..(I know it's possible).

Ah, then you need to be using dhcp relay (dhrelay?) on the routers
between the clients and the subnet.

DHCP uses broadcast to communinicate with the DHCP server (dest
255.255.255.255, src 0.0.0.0 (unconfigured)) These packets are never
forwarded by a router, so the router needs to relay the packets (this is
different from forwarding, the practice would be better likened to
proxying)

--
Cameron Kerr

Empowered by Perl!

 
 
 

1. only show Wireless LAN submenu if Wireless LAN is selected

Trivial: This is a follow-up to your "Gigabit Ethernet submenu" precedent.

Only show the Wireless LAN submenu if the Wireless LAN entry is selected.

--

diff -urN a/drivers/net/Kconfig b/drivers/net/Kconfig
--- a/drivers/net/Kconfig       2003-01-01 14:25:27.000000000 +0100

          end of the link as well. It's good enough, for example, to run IP
          over the async ports of a Camtec JNT Pad. If unsure, say N.

-
-menu "Wireless LAN (non-hamradio)"
-       depends on NETDEVICES
-
 config NET_RADIO
+       depends on NETDEVICES
        bool "Wireless LAN (non-hamradio)"
        ---help---

          special kernel support are available from
          <ftp://shadow.cabi.net/pub/Linux/>.

+menu "Wireless LAN (non-hamradio)"
+       depends on NET_RADIO
+
 config STRIP
        tristate "STRIP (Metricom starmode radio IP)"
        depends on NET_RADIO && INET
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in

More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

2. Login command odditties; what's the history?

3. How to configure Linux for a LAN of NT machines + 3COM 3C891 LAN Modem

4. Using an AS/400, Token-Ring and Linux...I need your help

5. Configuring a linux router on LAN-LAN

6. KDE hangs repeatedly on RedHat 7.0

7. trying to get dhcpd working on my LAN

8. Upgrading XFree86

9. Small LAN with DHCPD

10. DHCPD 3.0p1 not offering any IP to my hub-switch based lan, why?

11. dhcpd, firewall gateway, two internal LANs

12. DHCPD server for linux, configuring

13. Howto configure dhcpd?