Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Here is my config:
- $ cat /etc/ltsp/dhcpd.conf
- #
- # Default LTSP dhcpd.conf config file.
- #
- authoritative;
- log-facility local0;
- subnet 172.16.0.0 netmask 255.255.255.0 {
- range 172.16.0.20 172.16.0.50;
- option domain-name "xxx.yyy.co.za";
- option domain-name-servers 192.168.1.1;
- option broadcast-address 172.16.0.255;
- option routers 172.16.0.1;
- next-server 172.16.0.1;
- # get-lease-hostnames true;
- 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";
- }
- }
- # host dorisca {
- # hardware ethernet 08:00:27:89:70:01;
- # fixed-address 172.16.0.20;
- #}
- >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
- And:
- $ cat /etc/default/isc-dhcp-server
- # Defaults for dhcp initscript
- # sourced by /etc/init.d/dhcp
- # installed at /etc/default/isc-dhcp-server by the maintainer scripts
- #
- # This is a POSIX shell fragment
- #
- # On what interfaces should the DHCP server (dhcpd) serve DHCP requests?
- # Separate multiple interfaces with spaces, e.g. "eth0 eth1".
- INTERFACES="eth1"
- >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
- And:
- $ sudo ifconfig
- eth0 Link encap:Ethernet HWaddr 5c:f3:fc:4e:da:a4
- inet addr:192.168.1.3 Bcast:192.168.1.255 Mask:255.255.255.0
- inet6 addr: fe80::5ef3:fcff:fe4e:daa4/64 Scope:Link
- UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
- RX packets:22757 errors:0 dropped:0 overruns:0 frame:0
- TX packets:14959 errors:0 dropped:0 overruns:0 carrier:0
- collisions:0 txqueuelen:1000
- RX bytes:28401230 (28.4 MB) TX bytes:2077688 (2.0 MB)
- Interrupt:28 Memory:92000000-92012800
- eth1 Link encap:Ethernet HWaddr 5c:f3:fc:4e:da:a6
- inet addr:172.16.0.1 Bcast:172.16.0.255 Mask:255.255.255.0
- inet6 addr: fe80::5ef3:fcff:fe4e:daa6/64 Scope:Link
- UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
- RX packets:13655 errors:0 dropped:0 overruns:0 frame:0
- TX packets:20640 errors:0 dropped:0 overruns:0 carrier:0
- collisions:0 txqueuelen:1000
- RX bytes:2019037 (2.0 MB) TX bytes:28140759 (28.1 MB)
- Interrupt:40 Memory:94000000-94012800
- (cut local and usb)
- >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
- When dhcpd starts up, this is what the syslog says:
- Apr 24 16:43:16 Ashton dhcpd: Internet Systems Consortium DHCP Server 4.1-ESV-R4
- Apr 24 16:43:16 Ashton dhcpd: Copyright 2004-2011 Internet Systems Consortium.
- Apr 24 16:43:16 Ashton dhcpd: All rights reserved.
- Apr 24 16:43:16 Ashton dhcpd: For info, please visit https://www.isc.org/software/dhcp/
- Apr 24 16:43:16 Ashton kernel: [ 12.127155] init: isc-dhcp-server main process (1695) killed by TERM signal
- Apr 24 16:43:16 Ashton dhcpd: Internet Systems Consortium DHCP Server 4.1-ESV-R4
- Apr 24 16:43:16 Ashton dhcpd: Copyright 2004-2011 Internet Systems Consortium.
- Apr 24 16:43:16 Ashton dhcpd: All rights reserved.
- Apr 24 16:43:16 Ashton dhcpd: For info, please visit https://www.isc.org/software/dhcp/
- Apr 24 16:43:16 Ashton dhcpd: Internet Systems Consortium DHCP Server 4.1-ESV-R4
- Apr 24 16:43:16 Ashton dhcpd: Copyright 2004-2011 Internet Systems Consortium.
- Apr 24 16:43:16 Ashton dhcpd: All rights reserved.
- Apr 24 16:43:16 Ashton dhcpd: For info, please visit https://www.isc.org/software/dhcp/
- Apr 24 16:43:16 Ashton dhcpd: Wrote 4 leases to leases file.
- Apr 24 16:43:16 Ashton kernel: [ 12.200089] init: isc-dhcp-server main process (1717) killed by TERM signal
- Apr 24 16:43:16 Ashton dhcpd: Internet Systems Consortium DHCP Server 4.1-ESV-R4
- Apr 24 16:43:16 Ashton dhcpd: Copyright 2004-2011 Internet Systems Consortium.
- Apr 24 16:43:16 Ashton dhcpd: All rights reserved.
- Apr 24 16:43:16 Ashton dhcpd: For info, please visit https://www.isc.org/software/dhcp/
- Apr 24 16:43:16 Ashton dhcpd: Internet Systems Consortium DHCP Server 4.1-ESV-R4
- Apr 24 16:43:16 Ashton dhcpd: Copyright 2004-2011 Internet Systems Consortium.
- Apr 24 16:43:16 Ashton dhcpd: All rights reserved.
- Apr 24 16:43:16 Ashton dhcpd: For info, please visit https://www.isc.org/software/dhcp/
- Apr 24 16:43:16 Ashton dhcpd: Wrote 4 leases to leases file.
- Apr 24 16:43:17 Ashton kernel: [ 12.695371] init: isc-dhcp-server main process (1841) killed by TERM signal
- Apr 24 16:43:17 Ashton dhcpd: Internet Systems Consortium DHCP Server 4.1-ESV-R4
- Apr 24 16:43:17 Ashton dhcpd: Copyright 2004-2011 Internet Systems Consortium.
- Apr 24 16:43:17 Ashton dhcpd: All rights reserved.
- Apr 24 16:43:17 Ashton dhcpd: For info, please visit https://www.isc.org/software/dhcp/
- Apr 24 16:43:17 Ashton dhcpd: Internet Systems Consortium DHCP Server 4.1-ESV-R4
- Apr 24 16:43:17 Ashton dhcpd: Copyright 2004-2011 Internet Systems Consortium.
- Apr 24 16:43:17 Ashton dhcpd: All rights reserved.
- Apr 24 16:43:17 Ashton dhcpd: For info, please visit https://www.isc.org/software/dhcp/
- Apr 24 16:43:17 Ashton dhcpd: Wrote 4 leases to leases file.
- Apr 24 16:43:19 Ashton dhcpd: Dropped DHCPv4 packet with zero-length client-id
- Apr 24 16:43:23 Ashton dhcpd: Dropped DHCPv4 packet with zero-length client-id
- Apr 24 16:43:25 Ashton dhcpd: Dropped DHCPv4 packet with zero-length client-id
- Apr 24 16:43:27 Ashton dhcpd: Dropped DHCPv4 packet with zero-length client-id
- 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