dhcpd.conf problem

Glenn Dawson glenn at antimatter.net
Fri Jul 8 09:47:26 GMT 2005


At 01:16 AM 7/8/2005, thai nguyen wrote:
>Hi,
>
>We configured a dhcpd.conf as following.
>
>------------------------------------------------------------------------
>-----------------------------------------
>
>ddns-update-style interim;
>
>ignore client-updates;
>
>
>
>option space PXE;
>
>option PXE.mtftp-ip                     code 1 = ip-address;
>
>option PXE.mtftp-cport                  code 2 = unsigned integer 16;
>
>option PXE.mtftp-sport                  code 3 = unsigned integer 16;
>
>option PXE.mtftp-tmout                  code 4 = unsigned integer 8;
>
>option PXE.mtftp-delay                  code 5 = unsigned integer 8;
>
>option PXE.discovery-control            code 6 = unsigned integer 8;
>
>option PXE.discovery-mcast-addr         code 7 = ip-address;
>
>
>
>subnet 172.29.140.0 netmask 255.255.255.0 {
>
>         option routers                  172.29.140.1;
>
>         option subnet-mask              255.255.255.0;
>
>         option nis-domain               "rvc.renesas.com";
>
>         option domain-name              "rvc.renesas.com";
>
>         option domain-name-servers      172.29.138.20;
>
>
>
>
>
>         host rvc-wstest {
>
>                 next-server 172.29.140.162;
>
>                 hardware ethernet 00:50:8b:fb:ea:5e;
>
>                 fixed-address 172.29.140.163;
>
>         }
>
>         host rvc-wstest1 {
>
>                 next-server 172.29.140.162;
>
>                 hardware ethernet 00:11:25:37:1B:CD;
>
>                 fixed-address 172.29.140.163;
>
>         }
>
>         host rvc-ws034 {
>
>                 next-server 172.29.140.162;
>
>                 hardware ethernet 00:11:25:4B:06:B0;
>
>                 fixed-address 172.29.140.163;
>
>         }
>
>         host rvc-wsIBM {
>
>                 next-server 172.29.141.10;
>
>                 hardware ethernet 00:11:25:4D:95:26;
>
>                 fixed-address 172.29.141.100;
>
>         }
>
>         }
>
>         host rvc-wscompaq {
>
>                 next-server 172.29.141.10;
>
>                 hardware ethernet 00:02:A5:02:D3:48;
>
>                 fixed-address 172.29.141.154;
>
>}
>
>allow booting;
>
>allow bootp;
>
>class "pxeclients" {
>
>         match if substring (option vendor-class-identifier, 0, 9) =
>"PXEClient";
>
>         next-server 172.29.141.10;
>
>         filename "linux-install/pxelinux.0";
>
>------------------------------------------------------------------------
>-----------------------------------------
>
>The service dhcpd runs but the client is not received the ip add.
>
>So what is the problem? Could you pls reply me as soon as possible.

Unless part of the config file wasn't sent properly, it looks like you have 
one extra right brace just before "host rvc-wscompaq", and there's one 
missing after the section for pxeclients.

-Glenn


>Thank so much.
>
>
>
>
>
>Thai
>
>_______________________________________________
>freebsd-questions at freebsd.org mailing list
>http://lists.freebsd.org/mailman/listinfo/freebsd-questions
>To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"



More information about the freebsd-questions mailing list