Advertisement
lifeboy

LTSP dhcpd problem

Apr 24th, 2013
175
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 5.48 KB | None | 0 0
  1. Here is my config:
  2.  
  3. $ cat /etc/ltsp/dhcpd.conf
  4. #
  5. # Default LTSP dhcpd.conf config file.
  6. #
  7.  
  8. authoritative;
  9.  
  10. log-facility local0;
  11.  
  12. subnet 172.16.0.0 netmask 255.255.255.0 {
  13.     range 172.16.0.20 172.16.0.50;
  14.     option domain-name "xxx.yyy.co.za";
  15.     option domain-name-servers 192.168.1.1;
  16.     option broadcast-address 172.16.0.255;
  17.     option routers 172.16.0.1;
  18.     next-server 172.16.0.1;
  19. #    get-lease-hostnames true;
  20.     option subnet-mask 255.255.255.0;
  21.     option root-path "/opt/ltsp/i386";
  22.     if substring( option vendor-class-identifier, 0, 9 ) = "PXEClient" {
  23.         filename "/ltsp/i386/pxelinux.0";
  24.     } else {
  25.         filename "/ltsp/i386/nbi.img";
  26.     }
  27. }
  28. # host dorisca {
  29. #        hardware ethernet 08:00:27:89:70:01;
  30. #        fixed-address 172.16.0.20;
  31. #}
  32. >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
  33.  
  34. And:
  35.  
  36. $ cat /etc/default/isc-dhcp-server
  37. # Defaults for dhcp initscript
  38. # sourced by /etc/init.d/dhcp
  39. # installed at /etc/default/isc-dhcp-server by the maintainer scripts
  40.  
  41. #
  42. # This is a POSIX shell fragment
  43. #
  44.  
  45. # On what interfaces should the DHCP server (dhcpd) serve DHCP requests?
  46. #   Separate multiple interfaces with spaces, e.g. "eth0 eth1".
  47. INTERFACES="eth1"
  48. >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
  49.  
  50. And:
  51.  
  52. $ sudo ifconfig
  53. eth0      Link encap:Ethernet  HWaddr 5c:f3:fc:4e:da:a4  
  54.           inet addr:192.168.1.3  Bcast:192.168.1.255  Mask:255.255.255.0
  55.           inet6 addr: fe80::5ef3:fcff:fe4e:daa4/64 Scope:Link
  56.           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
  57.           RX packets:22757 errors:0 dropped:0 overruns:0 frame:0
  58.           TX packets:14959 errors:0 dropped:0 overruns:0 carrier:0
  59.           collisions:0 txqueuelen:1000
  60.           RX bytes:28401230 (28.4 MB)  TX bytes:2077688 (2.0 MB)
  61.           Interrupt:28 Memory:92000000-92012800
  62.  
  63. eth1      Link encap:Ethernet  HWaddr 5c:f3:fc:4e:da:a6  
  64.           inet addr:172.16.0.1  Bcast:172.16.0.255  Mask:255.255.255.0
  65.           inet6 addr: fe80::5ef3:fcff:fe4e:daa6/64 Scope:Link
  66.           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
  67.           RX packets:13655 errors:0 dropped:0 overruns:0 frame:0
  68.           TX packets:20640 errors:0 dropped:0 overruns:0 carrier:0
  69.           collisions:0 txqueuelen:1000
  70.           RX bytes:2019037 (2.0 MB)  TX bytes:28140759 (28.1 MB)
  71.           Interrupt:40 Memory:94000000-94012800
  72.  
  73. (cut local and usb)
  74. >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
  75.  
  76. When dhcpd starts up, this is what the syslog says:
  77.  
  78. Apr 24 16:43:16 Ashton dhcpd: Internet Systems Consortium DHCP Server 4.1-ESV-R4
  79. Apr 24 16:43:16 Ashton dhcpd: Copyright 2004-2011 Internet Systems Consortium.
  80. Apr 24 16:43:16 Ashton dhcpd: All rights reserved.
  81. Apr 24 16:43:16 Ashton dhcpd: For info, please visit https://www.isc.org/software/dhcp/
  82. Apr 24 16:43:16 Ashton kernel: [   12.127155] init: isc-dhcp-server main process (1695) killed by TERM signal
  83. Apr 24 16:43:16 Ashton dhcpd: Internet Systems Consortium DHCP Server 4.1-ESV-R4
  84. Apr 24 16:43:16 Ashton dhcpd: Copyright 2004-2011 Internet Systems Consortium.
  85. Apr 24 16:43:16 Ashton dhcpd: All rights reserved.
  86. Apr 24 16:43:16 Ashton dhcpd: For info, please visit https://www.isc.org/software/dhcp/
  87. Apr 24 16:43:16 Ashton dhcpd: Internet Systems Consortium DHCP Server 4.1-ESV-R4
  88. Apr 24 16:43:16 Ashton dhcpd: Copyright 2004-2011 Internet Systems Consortium.
  89. Apr 24 16:43:16 Ashton dhcpd: All rights reserved.
  90. Apr 24 16:43:16 Ashton dhcpd: For info, please visit https://www.isc.org/software/dhcp/
  91. Apr 24 16:43:16 Ashton dhcpd: Wrote 4 leases to leases file.
  92. Apr 24 16:43:16 Ashton kernel: [   12.200089] init: isc-dhcp-server main process (1717) killed by TERM signal
  93. Apr 24 16:43:16 Ashton dhcpd: Internet Systems Consortium DHCP Server 4.1-ESV-R4
  94. Apr 24 16:43:16 Ashton dhcpd: Copyright 2004-2011 Internet Systems Consortium.
  95. Apr 24 16:43:16 Ashton dhcpd: All rights reserved.
  96. Apr 24 16:43:16 Ashton dhcpd: For info, please visit https://www.isc.org/software/dhcp/
  97. Apr 24 16:43:16 Ashton dhcpd: Internet Systems Consortium DHCP Server 4.1-ESV-R4
  98. Apr 24 16:43:16 Ashton dhcpd: Copyright 2004-2011 Internet Systems Consortium.
  99. Apr 24 16:43:16 Ashton dhcpd: All rights reserved.
  100. Apr 24 16:43:16 Ashton dhcpd: For info, please visit https://www.isc.org/software/dhcp/
  101. Apr 24 16:43:16 Ashton dhcpd: Wrote 4 leases to leases file.
  102. Apr 24 16:43:17 Ashton kernel: [   12.695371] init: isc-dhcp-server main process (1841) killed by TERM signal
  103. Apr 24 16:43:17 Ashton dhcpd: Internet Systems Consortium DHCP Server 4.1-ESV-R4
  104. Apr 24 16:43:17 Ashton dhcpd: Copyright 2004-2011 Internet Systems Consortium.
  105. Apr 24 16:43:17 Ashton dhcpd: All rights reserved.
  106. Apr 24 16:43:17 Ashton dhcpd: For info, please visit https://www.isc.org/software/dhcp/
  107. Apr 24 16:43:17 Ashton dhcpd: Internet Systems Consortium DHCP Server 4.1-ESV-R4
  108. Apr 24 16:43:17 Ashton dhcpd: Copyright 2004-2011 Internet Systems Consortium.
  109. Apr 24 16:43:17 Ashton dhcpd: All rights reserved.
  110. Apr 24 16:43:17 Ashton dhcpd: For info, please visit https://www.isc.org/software/dhcp/
  111. Apr 24 16:43:17 Ashton dhcpd: Wrote 4 leases to leases file.
  112. Apr 24 16:43:19 Ashton dhcpd: Dropped DHCPv4 packet with zero-length client-id
  113. Apr 24 16:43:23 Ashton dhcpd: Dropped DHCPv4 packet with zero-length client-id
  114. Apr 24 16:43:25 Ashton dhcpd: Dropped DHCPv4 packet with zero-length client-id
  115. Apr 24 16:43:27 Ashton dhcpd: Dropped DHCPv4 packet with zero-length client-id
  116. Apr 24 16:43:31 Ashton dhcpd: Dropped DHCPv4 packet with zero-length client-id
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement