The information contained in this document is subject to change. This document contains proprietary information, which is protected by copyright
laws. All rights are reserved. No part of this document may be photocopied, reproduced or translated to another language or program language
without prior written consent of RFI Engineering B.V.
RefGuide_U-routerNGW_v1.01.docx
Page: 47(
57)
defaultGateway
The default gateway is the forwarding host to reach the
outside world.
nameServer1
Nameserver1 is the first DNS server to which the U-router
NGW sends a query for name resolutions.
nameServer2
Nameserver1 is the secondary DNS server to which the U-
router NGW sends a query for name resolutions.
For example, to change the IP settings on the ‘eth0’ interface:
curl -X POST https://192.168.168.1/api/interface -u rfi:rfi123 -d
"id=eth0&method=static&ip=192.168.1.171&mask=255.255.255.0"
Returns:
{
"status": "OK"
}
For example, to change the method from ‘static’ to ‘dhcp’ on the ‘eth0’ interface:
curl -X POST https://192.168.168.1/api/interface -u rfi:rfi123 -d
"id=eth0&method=dhcp"
Returns:
{
"status": "OK"
}
For example, to change the ‘metric’ on the ‘eth0’ interface:
curl -X POST https://192.168.168.1/api/interface -u rfi:rfi123 -d "id=eth0&metric=121"
Returns:
{
"status": "OK"
}