D
D
Dmitry Petrik2014-07-15 06:59:38
linux
Dmitry Petrik, 2014-07-15 06:59:38

DHCP (MS) server management from a Linux machine. How?

There is a task through the console from a Linux machine to manage DHCP which is installed on a Windows server.
From computers on which Windows is installed, this is not difficult. For example, the command to reserve a new IP address:

c:\windows\system32\netsh.exe dhcp server 119.59.117.4 scope 119.59.117.0 add reservedip 119.59.117.118 6c426d632462 PCname

Deleting a reservation:
c:\windows\system32\netsh.exe dhcp server 119.59.117.4 scope 119.59.117.0 delete reservedip 119.59.117.118 6c426d632462

How to perform similar actions from a Linux machine?
I thought to organize everything through the SNMP protocol, but as far as I understood there is a very cut functionality and I cannot solve the necessary tasks through SNMP

Answer the question

In order to leave comments, you need to log in

4 answer(s)
P
Puma Thailand, 2014-07-15
@Flexo

You can log in via telnet to Windows and twist as you like.
this is the simplest

S
Sergey Petrikov, 2014-07-15
@RicoX

If not WMI, you can use the SSH server for Windows.

T
tgz, 2014-07-15
@tgz

Likely it is possible through WMI. There is a client for linux.

E
Evgeniya, 2014-07-18
@Zeta

If the server is without a GUI, then through PSWA

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question