[K12OSN] Problems with dhcp packets

"Terrell Prudé Jr." microman at cmosnetworks.com
Tue Jul 3 05:10:42 UTC 2007


Just took a look at this and compared it to my dhcpd.conf.  I do see one
potential problem.  Take a look at the entry for host ws003, as an example:

host ws003 {
hardware ethernet 00:03:BA:D7:3A:C1;
fixed-address 192.168.2.117;
# kernels are specified
in /tftpboot/lts/boot/pxe/pxelinux.cfg/
filename "/lts/boot/pxe/pxelinux.0";

Note carefully the line that starts with "# kernels are specified" and
the one right after it, "in /tftpboot/lts/boot/pxe/pxelinux.cfg/". 
These two lines actually should be *one* line, like so:

# kernels are specified in /tftpboot/lts/boot/pxe/pxelinux.cfg/

What happens when you try to netboot a client that doesn't have a static
reservation?  Does it netboot, and do you get any error messages for it?

--TP
_______________________________
Do you GNU!?
Microsoft Free since 2003 <http://www.gnu.org/>--the ultimate antivirus
protection!


Lic.Ruben Dario Portillo T. wrote:
> Nice day for everybody. I just installed de K12 ltsp on my sun v20 z.
> No installations problems but my sun workstation try to get an ip
> number and they can't.Any idea where to begin? The log file says:
>
> May 10 12:02:17 server dhcpd: DHCPACK on 192.168.2.129 to
> 00:03:ba:d7:36:b2 via eth0
> May 10 12:02:17 server dhcpd: DHCPINFORM from 192.168.2.129 via eth0:
> not authoritative for subnet 192.168.2.0
> May 10 12:02:17 server dhcpd: DHCPINFORM from 192.168.2.229 via eth0:
> not authoritative for subnet 192.168.2.0
> May 10 12:02:17 server dhcpd: DHCPINFORM from 192.168.2.223 via eth0:
> not authoritative for subnet 192.168.2.0
> May 10 12:02:17 server dhcpd: DHCPINFORM from 192.168.2.228 via eth0:
> not authoritative for subnet 192.168.2.0
> May 10 12:02:17 server dhcpd: If this DHCP server is authoritative
> for that subnet,
> May 10 12:02:17 server dhcpd: please write an `authoritative;'
> directive either in the
> May 10 12:02:17 server dhcpd: subnet declaration or in some scope
> that encloses the
> May 10 12:02:17 server dhcpd: subnet declaration - for example, write
> it at the top
> May 10 12:02:17 server dhcpd: of the dhcpd.conf file.
> May 10 12:02:17 server dhcpd: DHCPINFORM from 192.168.2.91 via eth0:
> not authoritative for subnet 192.168.2.0
> May 10 12:02:18 server dhcpd: DHCPINFORM from 192.168.2.123 via eth0:
> not authoritative for subnet 192.168.2.0
> May 10 12:02:18 server dhcpd: DHCPINFORM from 192.168.2.225 via eth0:
> not authoritative for subnet 192.168.2.0 lease
> May 10 12:02:18 server dhcpd: uid lease 192.168.2.230 for client
> 00:03:ba:d7:36:34 is duplicate on WORKSTATIONS
> May 10 12:02:18 server dhcpd: DHCPDISCOVER from 00:03:ba:d7:36:34 via
> eth0
> May 10 12:02:18 server dhcpd: DHCPOFFER on 192.168.2.125 to
> 00:03:ba:d7:36:34 via eth0
> May 10 12:02:18 server dhcpd: Dynamic and static leases present for
> 192.168.2.125.
>
> THE CONFIGUARTION FILE IS THIS:
>
> # Sample configuration file for ISCD dhcpd
> #
> # Don't forget to set run_dhcpd=1 in /etc/init.d/dhcpd
> # once you adjusted this file and copied it to /etc/dhcpd.conf.
> #
>
> default-lease-time 21600;
> max-lease-time 21600;
> ddns-update-style none;
> allow booting;
> allow bootp;
>
> option subnet-mask 255.255.255.0;
> option broadcast-address 192.168.2.255;
> option routers 192.168.2.90;
> option domain-name-servers 192.168.2.90;
> next-server 192.168.2.90;
> option domain-name "ltsp";
> option root-path "192.168.2.90:/opt/ltsp/i386";
> option option-128 code 128 = string;
> option option-129 code 129 = text;
> option option-221 code 221 = text;
>
> shared-network WORKSTATIONS {
> subnet 192.168.2.0 netmask 255.255.255.0 {
> range dynamic-bootp 192.168.2.100 192.168.2.253;
> use-host-decl-names on;
> option log-servers 192.168.2.90;
>
> # trick from Peter Rundle <peter.rundle at ...>
> # newer Macs
> if substring (option vendor-class-identifier, 0, 9) = "AAPLBSDPC"
> {
> filename "yaboot";
> option vendor-class-identifier "AAPLBSDPC";
> }
> # really old iMacs
> elsif substring (option option-221, 0, 5) = "Apple"
> {
> filename "yaboot";
> option vendor-class-identifier "AAPLBSDPC";
> }
> # Intel PXE
> elsif substring (option vendor-class-identifier, 0, 9)
> = "PXEClient"
> {
> # NOTE: kernels are specified
> in /tftpboot/lts/pxe/pxelinux.cfg/
> filename "/lts/pxe/pxelinux.0";
> }
> # default to an i386 BOOTP image
> else
> {
> filename "/lts/vmlinuz.ltsp";
> }
>
> if substring (option vendor-class-identifier, 20, 3) = "ppc" {
> option root-path "192.168.2.90:/opt/ltsp/ppc";
> } else {
> option root-path "192.168.2.90:/opt/ltsp/i386";
> }
> }
> }
>
> # example configurations for specifying specific kernels to specific
> clients
> group {
> use-host-decl-names on;
> option log-servers 192.168.2.90;
>
> host ws001 {
> hardware ethernet 00:03:BA:D7:37:DC;
> fixed-address 192.168.2.108;
> filename "/lts/vmlinuz.ltsp";
> option option-128 e4:45:74:68:00:00;
> option option-129 "NIC=3c509";
> }
> host ws002 {
> hardware ethernet 00:03:BA:D7:36:61;
> fixed-address 192.168.2.115;
> filename "/lts/vmlinuz.ltsp";
> option option-128 e4:45:74:68:00:00;
> option option-129 "NIC=ne";
> }
> host ws003 {
> hardware ethernet 00:03:BA:D7:3A:C1;
> fixed-address 192.168.2.117;
> # kernels are specified
> in /tftpboot/lts/boot/pxe/pxelinux.cfg/
> filename "/lts/boot/pxe/pxelinux.0";
> }
> host ws004 {
> hardware ethernet 00:03:BA:CC:D5:99;
> fixed-address 192.168.2.112;
> # kernels are specified
> in /tftpboot/lts/boot/pxe/pxelinux.cfg/
> filename "/lts/boot/pxe/pxelinux.0";
> }
> host ws005 {
> hardware ethernet 00:03:BA:D7:37:14;
> fixed-address 192.168.2.110;
> # kernels are specified
> in /tftpboot/lts/boot/pxe/pxelinux.cfg/
> filename "/lts/boot/pxe/pxelinux.0";
> }
> host ws006 {
> hardware ethernet 00:03:BA:D7:37:55;
> fixed-address 192.168.2.136;
> # kernels are specified
> in /tftpboot/lts/boot/pxe/pxelinux.cfg/
> filename "/lts/boot/pxe/pxelinux.0";
> }
> host ws007 {
> hardware ethernet 00:03:BA:D7:36:6A;
> fixed-address 192.168.2.113;
> # kernels are specified
> in /tftpboot/lts/boot/pxe/pxelinux.cfg/
> filename "/lts/boot/pxe/pxelinux.0";
> }
> host ws008 {
> hardware ethernet 00:3B:BA:D7:36:88;
> fixed-address 192.168.2.133;
> # kernels are specified
> in /tftpboot/lts/boot/pxe/pxelinux.cfg/
> filename "/lts/boot/pxe/pxelinux.0";
> }
> host ws009 {
> hardware ethernet 00:03:BA:D7:39:DA;
> fixed-address 192.168.2.140;
> # kernels are specified
> in /tftpboot/lts/boot/pxe/pxelinux.cfg/
> filename "/lts/boot/pxe/pxelinux.0";
> }
> host ws010 {
> hardware ethernet 00:03:BA:D7:36:4A;
> fixed-address 192.168.2.102;
> # kernels are specified
> in /tftpboot/lts/boot/pxe/pxelinux.cfg/
> filename "/lts/boot/pxe/pxelinux.0";
> }
> host ws011 {
> hardware ethernet 00:03:BA:D7:36:E9;
> fixed-address 192.168.2.124;
> # kernels are specified
> in /tftpboot/lts/boot/pxe/pxelinux.cfg/
> filename "/lts/boot/pxe/pxelinux.0";
> }
> host ws012 {
> hardware ethernet 00:03:BA:D7:36:34;
> fixed-address 192.168.2.125;
> # kernels are specified
> in /tftpboot/lts/boot/pxe/pxelinux.cfg/
> filename "/lts/boot/pxe/pxelinux.0";
> }
> host ws013 {
> hardware ethernet 00:03:BA:D7:36:B8;
> fixed-address 192.168.2.123;
> # kernels are specified
> in /tftpboot/lts/boot/pxe/pxelinux.cfg/
> filename "/lts/boot/pxe/pxelinux.0";
> }
> host ws014 {
> hardware ethernet 00:03:BA:CC:D5:9A;
> fixed-address 192.168.2.120;
> # kernels are specified
> in /tftpboot/lts/boot/pxe/pxelinux.cfg/
> filename "/lts/boot/pxe/pxelinux.0";
> }
> host ws015 {
> hardware ethernet 00:03:BA:D7:36:70;
> fixed-address 192.168.2.122;
> # kernels are specified
> in /tftpboot/lts/boot/pxe/pxelinux.cfg/
> filename "/lts/boot/pxe/pxelinux.0";
> }
> host ws016 {
> hardware ethernet 00:03:BA:D7:36:B2;
> fixed-address 192.168.2.129;
> # kernels are specified
> in /tftpboot/lts/boot/pxe/pxelinux.cfg/
> filename "/lts/boot/pxe/pxelinux.0";
> }
> host ws017 {
> hardware ethernet 00:03:BA:D7:3B:02;
> fixed-address 192.168.2.92;
> # kernels are specified
> in /tftpboot/lts/boot/pxe/pxelinux.cfg/
> filename "/lts/boot/pxe/pxelinux.0";
> }
> host ws018 {
> hardware ethernet 00:03:BA:D7:36:9E;
> fixed-address 192.168.2.128;
> # kernels are specified
> in /tftpboot/lts/boot/pxe/pxelinux.cfg/
> filename "/lts/boot/pxe/pxelinux.0";
> }
> host ws019 {
> hardware ethernet 00:03:BA:D7:36:72;
> fixed-address 192.168.2.91;
> # kernels are specified
> in /tftpboot/lts/boot/pxe/pxelinux.cfg/
> filename "/lts/boot/pxe/pxelinux.0";
> }
> host ws020{
> hardware ethernet 00:03:BA:D7:36:AF;
> fixed-address 192.168.2.130;
> # kernels are specified
> in /tftpboot/lts/boot/pxe/pxelinux.cfg/
> filename "/lts/boot/pxe/pxelinux.0";
> }
> # Apple Specific Settings
> # host ws007 {
> # hardware ethernet 00:30:65:69:23:60;
> # fixed-address 192.168.2.4;
> # option root-path "192.168.2.90:/opt/ltsp/ppc";
> # filename "yaboot";
> # option vendor-class-identifier "AAPLBSDPC";
> # }
> }
>
>
>
>
> _______________________________________________
> K12OSN mailing list
> K12OSN at redhat.com
> https://www.redhat.com/mailman/listinfo/k12osn
> For more info see <http://www.k12os.org>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/k12osn/attachments/20070703/a3e8a31b/attachment.htm>


More information about the K12OSN mailing list