omshell and dhclient?
cisco
isp.cisco at gmail.com
Sat Jul 8 04:40:19 UTC 2006
David,
I want to add following subnet defination in dhcpd.conf - Can we add using
OMAPI ? or any other utility . Final things - want to add/delete object (
subnet declaration host declaration ) from dhcpd.conf.
*subnet 192.168.1.0 netmask 255.255.255.0 {
range 192.168.1.201 192.168.1.220;
default-lease-time 86400;
max-lease-time 86400;
option routers 192.168.1.1;
option ip-forwarding off;
option broadcast-address 192.168.1.255;
option subnet-mask 255.255.255.0;
option domain-name-servers 192.168.1.100;
option nntp-server 192.168.1.100;
option netbios-name-servers 192.168.1.100;
name is "laser-printer":
host laser-printer {
hardware ethernet 08:00:2b:4c:59:23;
fixed-address 192.168.1.222;
}
}
*
Above task is manual task and if we want to automated this manual task
using some scripts. Please guide me . Like Cisco CNR has <nrcmd> utility is
import data from file for bulkcreation of subnets for dhcp server..Can do
somethig like Cisco CNR ?
regards
Niri
On 7/8/06, David W. Hankins <David_Hankins at isc.org> wrote:
> On Fri, Jul 07, 2006 at 09:59:32AM +0530, cisco wrote:
> > Can we Add/delete dhcp scope in dhcpd.conf using omshell or any other
> API or
> > utility if yes please guide.
>
> I don't understand the question. What are you trying to acheive?
>
> --
> David W. Hankins "If you don't do it right the first time,
> Software Engineer you'll just have to do it again."
> Internet Systems Consortium, Inc. -- Jack T. Hankins
>
>
More information about the dhcp-users
mailing list