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

Tags:

  • 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