I try to set up my two servers for Mäntykangas school. My old setup was
Ubuntu 6.06.1/LTSP4.2. All old and working conf-files are here:

http://www.arkki.info/howto/Wiki/LTSP-Mantykangas/
http://www.arkki.info/howto/Wiki/LTSP-Mantykangas/dhcpd.conf-master.txt
http://www.arkki.info/howto/Wiki/LTSP-Mantykangas/dhcpd.conf-slave.txt

So first things first.

Is it possible to do similar fail over system with LTSP5?
If not how to do it?

Anyway I run to odd dhcp3-server problem with only one dhcp3-server on
that network (with "master" server as on the old system). I try to use
this dhcpd.conf file, to me it looks ok.

[EMAIL PROTECTED]:~$ cat /etc/ltsp/dhcpd.conf
#
# Default LTSP dhcpd.conf config file.
#

authoritative;

subnet 172.23.24.21 netmask 255.255.255.0 {
    range 172.23.24.100 172.23.24.250;
    option domain-name "ubuntu";
    option domain-name-servers 172.23.24.1;
    option broadcast-address 172.23.255.255;
    option routers 172.23.24.1;
    option subnet-mask 255.255.255.0;
    option root-path "/opt/ltsp/i386";
    if substring( option vendor-class-identifier, 0, 9 ) = "PXEClient" {
        filename "/ltsp/i386/pxelinux.0";
    } else {
        filename "/ltsp/i386/nbi.img";
    }
}
[EMAIL PROTECTED]:~$

I can ping everything on that server:

[EMAIL PROTECTED]:~$ ping ftp.funet.fi
PING ftp.funet.fi (193.166.3.2) 56(84) bytes of data.
64 bytes from ftp.funet.fi (193.166.3.2): icmp_seq=1 ttl=244 time=17.6 ms
64 bytes from ftp.funet.fi (193.166.3.2): icmp_seq=2 ttl=244 time=17.4 ms
64 bytes from ftp.funet.fi (193.166.3.2): icmp_seq=3 ttl=244 time=17.9 ms

--- ftp.funet.fi ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2006ms
rtt min/avg/max/mdev = 17.449/17.661/17.923/0.249 ms
[EMAIL PROTECTED]:~$

Ifconfig looks like this:

[EMAIL PROTECTED]:~$ ifconfig
eth0      Link encap:Ethernet  HWaddr 00:30:05:c5:1c:38
          inet addr:172.23.24.21  Bcast:172.23.24.255  Mask:255.255.255.0
          inet6 addr: fe80::230:5ff:fec5:1c38/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:12944 errors:0 dropped:0 overruns:0 frame:0
          TX packets:2125 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:1215724 (1.1 MB)  TX bytes:538587 (525.9 KB)
          Interrupt:16

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:67 errors:0 dropped:0 overruns:0 frame:0
          TX packets:67 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:5192 (5.0 KB)  TX bytes:5192 (5.0 KB)

[EMAIL PROTECTED]:~$

But when I try to start dhcp3-server, it says:

[EMAIL PROTECTED]:~# /etc/init.d/dhcp3-server restart
dhcpd self-test failed. Please fix the config file.
The error was:
/etc/ltsp/dhcpd.conf line 7: subnet 172.23.24.21 netmask 255.255.255.0:
bad subnet number/mask combination.
subnet 172.23.24.21 netmask 255.255.255.0
                                        ^
Configuration file errors encountered -- exiting
[EMAIL PROTECTED]:~#

I do not remember to see this kind of message anywhere before, it is
really odd to me...

Best Regards Asmo Koskinen.


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_____________________________________________________________________
Ltsp-discuss mailing list.   To un-subscribe, or change prefs, goto:
      https://lists.sourceforge.net/lists/listinfo/ltsp-discuss
For additional LTSP help,   try #ltsp channel on irc.freenode.net

Reply via email to