SYNO.Core.Network
<p><strong>简要描述:</strong> </p>
<ul>
<li>网络设置</li>
</ul>
<p><strong>API:</strong> </p>
<ul>
<li><code>SYNO.Core.Network</code></li>
</ul>
<p><strong>请求方式:</strong></p>
<ul>
<li>POST </li>
</ul>
<p><strong>参数:</strong> </p>
<table>
<thead>
<tr>
<th style="text-align: left;">参数名</th>
<th style="text-align: left;">必选</th>
<th style="text-align: left;">类型</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align: left;">method</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">string</td>
<td>get</td>
</tr>
</tbody>
</table>
<p><strong>返回示例</strong></p>
<pre><code> {
"api": "SYNO.Core.Network",
"data": {
"arp_ignore": true,
"dns_manual": false,
"dns_primary": "202.106.0.20",
"dns_secondary": "",
"enable_windomain": false,
"gateway": "192.168.0.1",
"gateway_info": {
"ifname": "eth0",
"ip": "192.168.0.25",
"mask": "255.255.255.0",
"status": "connected",
"type": "lan",
"use_dhcp": true
},
"multi_gateway": false,
"server_name": "nas-218play-tdx",
"v6gateway": "fe80::225:9ff:fe97:6f95"
},
"method": "get",
"success": true,
"version": 1
}
</code></pre>