set default gateway for IP in Virtual Automator Agent

Discussion in 'Installation, Configuration and Upgrade' started by robetus, Jan 9, 2017.

  1. robetus

    robetus Bit Poster

    Messages:
    3
    Using Windows containers 4.6 on Windows sever 2008 R2 and I need to set the default gateway for the IPs. Does anyone know how to do this using the following:

    Code:
    <packet version="4.0.0" id="$this->packet_id">
        <target>vzaenvm</target>
        <data>
            <vzaenvm>
                <create>
                    <config>
                        <name>$ve_name</name>
                        <hostname>$ve_hostname</hostname>
                        <base_sample_id>$sample_conf_id</base_sample_id>
                        $veid_xml_str
                        <on_boot>$on_boot</on_boot>
                        <offline_management>$offline_mgmt</offline_management>
                        $os_xml_str
                        <net_device>
                            <id>venet$veid</id>
                            <ip_address>
                                <ip>$ip_address</ip>
                            </ip_address>
                            <network_id>dnpuZXQy</network_id>
                            $ns_xml_str
                        </net_device>
                    </config>
                </create>
            </vzaenvm>
        </data>
    </packet>
    
     

Share This Page