*** From dhcp-server -- To unsubscribe, see the end of this message. ***
Hi
Thanx for all your answers but still no luck..
So here's some more info.
The server running dhcpd i a sun box with solaris 7, the dhcpd is
dhcp-3.0-alpha-19990424.
The ncd terminal is NCD MCX with boot monitor v2.6.0.
Here's what snoop says with an entry like this:
(the snoop command: snoop -v 00:00:a7:13:a4:2a port 67)
host ncd64 {
hardware ethernet 00:00:a7:13:a4:2a;
fixed-address 172.16.110.64;
filename "/tftpboot/Xncd.3.2.1/Xncd19c";
next-server kpserv;
}
snip
DHCP: ----- Dynamic Host Configuration Protocol -----
DHCP:
DHCP: Hardware address type (htype) = 1 (Ethernet (10Mb))
DHCP: Hardware address length (hlen) = 6 octets
DHCP: Relay agent hops = 0
DHCP: Transaction ID = 0x0
DHCP: Time since boot = 140 seconds
DHCP: Flags = 0x0000
DHCP: Client address (ciaddr) = 0.0.0.0
DHCP: Your client address (yiaddr) = 172.16.110.64
DHCP: Next server address (siaddr) = 172.16.10.40
DHCP: Relay agent address (giaddr) = 0.0.0.0
DHCP: Client hardware address (chaddr) = 00:00:A7:13:A4:2A
DHCP: Unrecognized cookie: 0x0
snip
and here's with the line fixed-address commented out:
snip
DHCP: ----- (Options) field options -----
DHCP:
DHCP: Subnet Mask = 255.255.0.0
DHCP: Router at = 172.16.1.1
DHCP: DNS Servers at = 172.16.10.40
DHCP: Client Hostname = hkn1_9
DHCP: NISPLUS Domainname = kps.se.
DHCP: UTC Time Offset = 7200 seconds
DHCP: NISPLUS Servers at = 172.16.10.40
DHCP: RFC868 Time Servers at = 172.16.10.40
DHCP: NIS Domainname = k
DHCP:
DHCP: ----- (File) field options -----
DHCP:
DHCP: NetBIOS Scope = ftpboot/Xncd.3.2.1/Xncd19c
snip
As you can see I get a ip addr from my range instead and some more info.
All this is with just a host entry not what I want, I'd like it to look
like this:
group {
filename "/tftpboot/Xncd.3.2.1/Xncd19c" ;
next-server 172.16.10.40 ;
host ncd64 {
fixed-address 172.16.110.64 ;
hardware ethernet 00:00:a7:13:a4:2a ;
}
}
But then I get a snoop like my first one, and if I comment out
fixed-address I get a one like my second snoop.
So if I leave fixed-address it boots but not with it..
Here's the importen entry's from my dhcpd.conf file (I don't send the hole
one cause it quit big).
Regards
//Andreas
#Global settings
option space pcnfs;
option pcnfs.Licserv code 3 = ip-address;
option pcnfs.Pcnfsd code 2 = ip-address;
option pcnfs.SN_TZ code 13 = string;
option pcnfs.SNadmfw code 1 = string;
option pcnfs.SNCboot code 12 = string;
option pcnfs.SNClgout code 9 = string;
option pcnfs.SNClogin code 8 = string;
option pcnfs.SNCpath code 11 = string;
option pcnfs.SNCserv code 10 = ip-address;
option pcnfs.SNnfsRd code 4 = integer 16;
option pcnfs.SNnfsTim code 6 = integer 16;
option pcnfs.SNnfsTry code 7 = integer 16;
option pcnfs.SNnfsWr code 5 = integer 16;
class "vendor-identifier" {
match option vendor-class-identifier;
vendor-option-space pcnfs;
option pcnfs.Licserv 172.16.10.40;
option pcnfs.Pcnfsd 172.16.10.40;
option pcnfs.SNadmfw "kpserv";
option pcnfs.SNCserv 172.16.10.40;
option pcnfs.SN_TZ "MET-1MET DST";
}
subclass "vendor-identifier" "SUNW.PCW.LAN" {
option pcnfs.SNCpath "/opt/SUNWpcnet/%CLNT_VERS%/site";
option pcnfs.SNCboot "pcnfspro\\boot.snc";
option pcnfs.SNClogin "pcnfs\\login.snc";
option pcnfs.SNClgout "pcnfs\\logout.snc";
}
get-lease-hostnames true;
option time-servers 172.16.10.40;
option time-offset 7200;
option nis-servers 172.16.10.40;
option nis-domain "kps.se.";
option nisplus-servers 172.16.10.40;
option nisplus-domain "kps.se.";
option netbios-name-servers 172.16.10.80;
#option netbios-node-type 8;
option domain-name "q8.se";
option domain-name-servers 172.16.10.40;
option routers 172.16.1.1;
default-lease-time 129600;
max-lease-time 259200;
#filename "Xncd19c" ; Just a few tries ;)
#option root-path "/tftpboot/Xncd.3.2.1" ;
#option bootfile-name "/tftpboot/Xncd.3.2.1/Xncd19c";
#filename "/tftpboot/Xncd.3.2.1/Xncd19c";
#Hknet
subnet 172.16.0.0 netmask 255.255.0.0 {
range 172.16.100.1 172.16.100.254;
option subnet-mask 255.255.0.0;
option broadcast-address 172.16.255.255;
option routers 172.16.1.1;
}
#host ncd64 {
# hardware ethernet 00:00:a7:13:a4:2a;
# fixed-address 172.16.110.64;
# filename "/tftpboot/Xncd.3.2.1/Xncd19c";
# next-server kpserv;
#}
group {
filename "Xncd.3.2.1/Xncd19c" ;
next-server 172.16.10.40 ;
host ncd64 {
fixed-address 172.16.110.64 ;
hardware ethernet 00:00:a7:13:a4:2a ;
}
}
On Tue, 4 May 1999, Ted Lemon wrote:
>
> Put the filename declaration at the top level instead of putting it
> within a group declaration, or specify it in each host declaration, or
> upgrade to 3.0, which does the right thing. You didn't mention which
> version you are running - actually I think more recent versions of 2.0
> will also do the right thing.
>
> _MelloN_
>
------------------------------------------------------------------------------
To unsubscribe from this list, please visit http://www.fugue.com/dhcp/lists
If you are without web access, or if you are having trouble with the web page,
please send mail to [EMAIL PROTECTED] Please try to use the web
page first - it will take a long time for your request to be processed by hand.
Archives for this mailing list are available at
http://www.webnology.com/list-archives/dhcp/dhcp-server
------------------------------------------------------------------------------