Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- root@OpenWrt:~# ifstatus wan6
- {
- "up": true,
- "pending": false,
- "available": true,
- "autostart": true,
- "dynamic": false,
- "uptime": 54,
- "l3_device": "eth1.2",
- "proto": "dhcpv6",
- "device": "eth1.2",
- "metric": 0,
- "dns_metric": 0,
- "delegation": true,
- "ipv4-address": [
- ],
- "ipv6-address": [
- {
- "address": "2a02:908:1300:c:a5db:1f25:c3c6:58f9",
- "mask": 128,
- "preferred": 302346,
- "valid": 604746
- }
- ],
- "ipv6-prefix": [
- {
- "address": "2a02:908:13c8:d5a0::",
- "mask": 59,
- "preferred": 302346,
- "valid": 604746,
- "class": "wan6",
- "assigned": {
- "lan": {
- "address": "2a02:908:13c8:d5a0::",
- "mask": 60
- }
- }
- }
- ],
- "ipv6-prefix-assignment": [
- ],
- "route": [
- {
- "target": "::",
- "mask": 0,
- "nexthop": "fe80::201:5cff:fe79:4646",
- "metric": 512,
- "valid": 1797,
- "source": "2a02:908:13c8:d5a0::\/59"
- },
- {
- "target": "::",
- "mask": 0,
- "nexthop": "fe80::201:5cff:fe79:4646",
- "metric": 512,
- "valid": 1797,
- "source": "2a02:908:1300:c:a5db:1f25:c3c6:58f9\/128"
- }
- ],
- "dns-server": [
- "2a02:908:2:a::1",
- "2a02:908:2:b::1"
- ],
- "dns-search": [
- ],
- "inactive": {
- "ipv4-address": [
- ],
- "ipv6-address": [
- ],
- "route": [
- ],
- "dns-server": [
- ],
- "dns-search": [
- ]
- },
- "data": {
- "passthru": "001700202a0209080002000a00000000000000012a020908000 2000b0000000000000001"
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement