Highlighted
Absent Member.
Absent Member.
620 views

Deploy default gateway

Hi,

there is a environment w/o DHCP =8-O

The Win7-Wkstn. have fixed IP-Addresses without an default gateway.

The idea is to use an command at the Win7-cli to insert the def.GW. But
this command needs the local IP-Address of the client.

Is there a way to get the local ip-addr of the managed device from ZCM
to put the script?

Bernd
Labels (2)
0 Likes
1 Reply
Highlighted
Micro Focus Expert
Micro Focus Expert

Re: Deploy default gateway

Here is an example script -
https://community.spiceworks.com/topic/951001-change-default-gateway-based-on-ip

Covers getting the IP and setting the Gateway based upon that.............
Any script that can set the Default Gateway should be able to use the same method scripting language to pull the IP address.

I would recommend PowerShell as the recommended method for altering Network Configurations, but that is just my opinion and really nothing to do with ZCM per se.


nntp-user;2462039 wrote:
Hi,

there is a environment w/o DHCP =8-O

The Win7-Wkstn. have fixed IP-Addresses without an default gateway.

The idea is to use an command at the Win7-cli to insert the def.GW. But
this command needs the local IP-Address of the client.

Is there a way to get the local ip-addr of the managed device from ZCM
to put the script?

Bernd
--
Please give a hearty thumbs up to any post you find helpful!
To find articles by Craig Wilson simply follow the link: Craig Wilson's Tips!
0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.