Classes via OMAPI
Phil Mayers
p.mayers at imperial.ac.uk
Fri Mar 14 14:49:33 UTC 2008
So, DHCP 4.0.0 class class and sub-class via OMAPI - what am I doing wrong?
[pjm3 at doorstop server]$ omshell
> server localhost
> port 7611
> connect
obj: <null>
> new class
obj: class
> set name="foo"
obj: class
name = "foo"
> open
can't open object: invalid argument
obj: class
name = "foo"
/etc/dhcpd.conf says:
log-facility local6;
omapi-port 7611;
subnet 192.168.1.0 netmask 255.255.255.0 {
option routers 192.168.1.1;
}
host 00-11-22-33-44-55 {
hardware ethernet 00:11:22:33:44:55;
}
class "foo" {
match hardware;
option domain-name-servers 155.198.142.7;
}
class "bar" {
match hardware;
option domain-name "net.ic.ac.uk";
}
subclass "foo" 1:00:11:22:33:44:55;
If I open wireshark, the wire protocol seems to return an empty object,
not an error - are the client libs getting confused by something?
More information about the dhcp-users
mailing list