Hi all

I'm trying to configure a LTSP server (Ubuntu 5.10) on a 172.16.XX.YY network, but dhcpd refuses to start. Here's my config, I don't understand what's wrong.

#cat /var/log/syslog
...
Dec  9 13:35:54 ltsp dhcpd: No subnet declaration for eth0 (172.16.122.10).
Dec  9 13:35:54 ltsp dhcpd: ** Ignoring requests on eth0.  If this is
not what
Dec  9 13:35:54 ltsp dhcpd:    you want, please write a subnet declaration
Dec  9 13:35:54 ltsp dhcpd:    in your dhcpd.conf file for the network
segment
Dec  9 13:35:54 ltsp dhcpd:    to which interface eth0 is attached. **
Dec  9 13:35:54 ltsp dhcpd:
Dec  9 13:35:54 ltsp dhcpd:
Dec  9 13:35:54 ltsp dhcpd: Not configured to listen on any interfaces!

#ifconfig
eth0      Link encap:Ethernet  HWaddr 00:12:3F:A2:D6:D3
          inet addr:172.16.122.10  Bcast:172.16.255.255  Mask:255.255.0.0
          inet6 addr: fe80::212:3fff:fea2:d6d3/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:6344 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1257 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:1619811 (1.5 MiB)  TX bytes:211002 (206.0 KiB)

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:78 errors:0 dropped:0 overruns:0 frame:0
          TX packets:78 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:6192 (6.0 KiB)  TX bytes:6192 (6.0 KiB)

#cat /etc/dhcp3-server/dhcpd.conf
ddns-update-style            none;
default-lease-time           21600;
max-lease-time               21600;
option subnet-mask           255.255.0.0;
option broadcast-address     172.16.255.255;
option routers               172.16.122.10;
option domain-name-servers   172.16.122.10;
option domain-name           "ltsp";          # <--Fix this domain name
option root-path             "172.16.122.10:/opt/ltsp/i386";
option option-128 code 128 = string;
option option-129 code 129 = text;
subnet 172.16.0.0 netmask 255.255.0.0 {
    use-host-decl-names      on;
    option log-servers       172.16.122.10;
}
host cdi5 {
hardware ethernet 00:C0:4F:A9:89:E3;
fixed-address 172.16.122.6;
filename "/tftpboot/lts/vmlinuz-2.4.26-ltsp-3";
}

#cat /etc/network/interfaces
# The loopback network interface
auto lo
iface lo inet loopback
# This is a list of hotpluggable network interfaces.
# They will be activated automatically by the hotplug subsystem.
mapping hotplug
        script grep
        map eth0
# The primary network interface
iface eth0 inet static
        address 172.16.122.10
        netmask 255.255.0.0
        network 172.16.0.0
        broadcast 172.16.255.255
        gateway 172.16.0.1
        dns-nameservers 172.16.0.1

#cat /etc/default/dhcp3-server
INTERFACES="eth0"

#cat /etc/default/portmap
OPTIONS=""


--
DenisG




-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_____________________________________________________________________
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