DHCPCMD setsubnetoptionvalue and multiple values

DHCPCMD setsubnetoptionvalue and multiple values

Post by Christophe » Sun, 13 Jul 2003 05:14:16


Is it possible to use the setsubnetoptionvalue command of
DHCPCMD to assign an array of values to an option which
allows it in the DHCP database, such as DNS Servers (option
6)? It's simple enough if you only want to set a single value:

dhcpcmd 127.0.0.1 setsubnetoptionvalue 172.17.1.0 6
ipaddress 172.18.1.250

But what if you also had DNS running on 172.18.1.249 and
.248, and wanted to apply that to several scopes? I've
tried using commas, semicolons, hexadecimal, and STRING
instead of IPADDRESS as the option type, to no avail. I
can always go and make these settings manually to all my
scopes, inasmuch as the GUI DHCP admin tool allows you to
set an array of values for this option, but it'd be nice to
be able to to it in batch.

Any ideas?

Christopher Hoover
Communications Network Analyst
University of South Dakota
 
 
 

1. multiple ifs ands & indirect or offset?

2. Problem with calculations and multiple AND's in criteria

On Wed, 30 Jun 2004 13:36:01 -0700, "P CORREA"



Try

(>=[Forms]![Switchboard]![MIN SQ FT FIELD] OR
[Forms]![Switchboard]![MIN SQ FT FIELD] IS NULL)
And
(<=[Forms]![Switchboard]![MAX SQ FT FIELD] OR
[Forms]![Switchboard]![MAX SQ FT FIELD] IS NULL)

This will show all records greater than MIN if you leave MAX blank;
all records less than MAX if you leave MIN blank; all records in
between if you fill in both; and all records in the table if you leave
both blank.

John W. Vinson[MVP]
Come for live chats every Tuesday and Thursday
http://www.yqcomputer.com/

3. Multiple Nested IFs, ORs, Ands

4. Multiple ifs, and ands, and are not working

5. multiple ifs & ands indirect/offset...need help desperately please

6. Stenciling and multiple buffer "ands"

7. Multiple ANDs

8. Sumproduct assistance - need multiple ANDs and ORs

9. multiple ifs & ands indirect/offset...need help desperately pl

10. Adding multiple values in one column based on multiple values of t

11. compare multiple values in one cell to a range of values in multiple cells?

12. Lookup multiple values return one value corresponding value Excel

13. Multiple Values to select all values or deselect all values

14. Need help sorting out ANDs and ORs in parameter query

15. 3 ANDS + 1 OR