configuration / network / interfaces / vif[ID] / ipv4
CLI REST-API

## gateway

gateway
This is a read-write object and valid values are IPv4-addresses.
Datatype-Help:
the IP address should looks like this: A.B.C.D
every letter is one number that goes from 0 - 255.
example: 192.168.0.45
See also:
/configuration/network/interfaces/vif[ID]/ipv4
/configuration/network/interfaces/vif[ID]/ipv4/ip-address
/configuration/network/interfaces/vif[ID]/ipv4/netmask
/configuration/network/interfaces/vif[ID]/ipv4/enable-dhcp
/configuration/network/interfaces/vif[ID]/ipv4/dhcp-client-id

#### REST-API Support:

This object is supported by the REST API:
Method: GET
URL: /api/configuration/network/interfaces/vif.*/ipv4
Example using curl:

    curl /api/configuration/network/interfaces/vif.*/ipv4

Method: PATCH
URL: /api/configuration/network/interfaces/vif.*/ipv4
Body:

    {
      "gateway": "0.0.0.0"
    }

Example using curl:

    curl -X PATCH /api/configuration/network/interfaces/vif.*/ipv4 -d
    {
      "gateway": "0.0.0.0"
    }