[Server-devel] DNS/DHCP configuration questions/issues

Reuben K. Caron reuben at laptop.org
Tue May 22 23:13:07 EDT 2012


On May 22, 2012, at 8:45 PM, Xavier Carcelle wrote:

> Dear XS fellows,
> 
> We are currently configuring the XS server for the deployment in
> Madagascar and have some issues on the DNS/DHCP.
> Could you resume the main part of the DNS/DHCP config on the XS (using
> 2 interfaces : eth0 for WAN uplink, wlan0 for LAN wifi delivering IPs,
> DNS to XOs)
> =>We dont seem to have the domain and nameserver propagated to the
> /etc/resolv.conf of the XOs
> =>Our /etc/dhcp-xs.conf is :
> 
> <FILE>
> #
> # School server 1 DHCP Server Configuration file.
> #
> ddns-update-style interim;
> #ignore client-updates;
> 
> option domain-name "nosykomba.org";
> option domain-name-servers      172.18.96.1;
> option ntp-servers              172.18.96.1;



> DHCPDARGS=wlan0

^ I think this is both incorrect and unnecessary.

For correctness it should be DHCPDARGS="wlan0";

But as long as wlan0 is assigned to the 172.18.96.0 network then you do not need to limit the configuration to an interface.

What are you using for a configuration: 

-WAN - eth0 - XS - eth1 - switch - AP - XO?
-WAN - etho - XS - wlan1(1)- XO? In which case, what are you using to share the wlan connection?

When the XO does connect, what does it receive for an IP address?




> 
> subnet 172.18.96.0 netmask 255.255.224.0 {
>        option routers                  172.18.96.1;
>        option subnet-mask              255.255.224.0;
>        option broadcast-address        172.18.127.255;
>        # this is the whole range we have available - 8K addresses
>        # range                           172.18.96.2 172.18.127.254;
>        # instead, we'll save 510 addresses for later.
>        range                           172.18.96.2 172.18.125.254;
>        # the other /24s:
>        # -> 172.18.126.0/24 for static IP addresses
>        #    for printers, AP management consoles, etc.
>        # -> 172.18.127.0/24 for temporary addresses for
>        #    XO activation
> 
>        # As this subnet is wired or wifi a/b/g, these lease
>        #    times are on the long side
>        default-lease-time      10800;
>        max-lease-time          21600;
> }
> </FILE>
> 
> Our best regards,
> 
> Xavier Carcelle.
> _______________________________________________
> Server-devel mailing list
> Server-devel at lists.laptop.org
> http://lists.laptop.org/listinfo/server-devel



More information about the Server-devel mailing list