curl --location 'http://192.168.0.220:12000/terminal/core/v1/net/ethernet/info' \
--header 'Authorization;' \
--header 'Authorization: 17857457369538LRHKOWdiBwFUnDn5QBZDw==' \
--header 'token: 1785466956901pkbCeqrUQv+PGjEfNTlNoQ=='{
"code": 0,
"message": "success",
"data": {
"ethernets": [
{
"dhcp": true,
"dns": [
"172.16.0.202",
"172.16.0.201"
],
"gateWay": "192.168.1.1",
"ip": "192.168.1.100",
"mask": "255.255.255.0",
"name": "eth0",
"scopeId": -1
}
]
}
}