Guest User

Untitled

a guest
Apr 29th, 2018
145
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.54 KB | None | 0 0
  1. root@OpenWrt:~# ifstatus wan6
  2. {
  3. "up": true,
  4. "pending": false,
  5. "available": true,
  6. "autostart": true,
  7. "dynamic": false,
  8. "uptime": 295,
  9. "l3_device": "eth1.2",
  10. "proto": "dhcpv6",
  11. "device": "eth1.2",
  12. "metric": 0,
  13. "dns_metric": 0,
  14. "delegation": true,
  15. "ipv4-address": [
  16.  
  17. ],
  18. "ipv6-address": [
  19. {
  20. "address": "2a02:908:1300:c:24c2:393f:150d:18f",
  21. "mask": 128,
  22. "preferred": 302105,
  23. "valid": 604505
  24. }
  25. ],
  26. "ipv6-prefix": [
  27. {
  28. "address": "2a02:908:13c0:b20::",
  29. "mask": 59,
  30. "preferred": 302105,
  31. "valid": 604505,
  32. "class": "wan6",
  33. "assigned": {
  34. "lan": {
  35. "address": "2a02:908:13c0:b20::",
  36. "mask": 60
  37. }
  38. }
  39. }
  40. ],
  41. "ipv6-prefix-assignment": [
  42.  
  43. ],
  44. "route": [
  45. {
  46. "target": "::",
  47. "mask": 0,
  48. "nexthop": "fe80::201:5cff:fe79:4646",
  49. "metric": 512,
  50. "valid": 1797,
  51. "source": "2a02:908:13c0:b20::\/59"
  52. },
  53. {
  54. "target": "::",
  55. "mask": 0,
  56. "nexthop": "fe80::201:5cff:fe79:4646",
  57. "metric": 512,
  58. "valid": 1797,
  59. "source": "2a02:908:1300:c:24c2:393f:150d:18f\/128"
  60. }
  61. ],
  62. "dns-server": [
  63. "2a02:908:2:a::1",
  64. "2a02:908:2:b::1"
  65. ],
  66. "dns-search": [
  67.  
  68. ],
  69. "inactive": {
  70. "ipv4-address": [
  71.  
  72. ],
  73. "ipv6-address": [
  74.  
  75. ],
  76. "route": [
  77.  
  78. ],
  79. "dns-server": [
  80.  
  81. ],
  82. "dns-search": [
  83.  
  84. ]
  85. },
  86. "data": {
  87. "passthru": "001700202a0209080002000a00000000000000012a0209080002000b0000000000000001"
  88. }
  89. }
  90. root@OpenWrt:~# ip a s
  91. 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN qlen 1000
  92. link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
  93. inet 127.0.0.1/8 scope host lo
  94. valid_lft forever preferred_lft forever
  95. inet6 ::1/128 scope host
  96. valid_lft forever preferred_lft forever
  97. 2: eth1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP qlen 532
  98. link/ether 60:38:e0:c5:45:b0 brd ff:ff:ff:ff:ff:ff
  99. inet6 fe80::6238:e0ff:fec5:45b0/64 scope link
  100. valid_lft forever preferred_lft forever
  101. 3: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP qlen 532
  102. link/ether 62:38:e0:c5:45:b0 brd ff:ff:ff:ff:ff:ff
  103. inet6 fe80::6038:e0ff:fec5:45b0/64 scope link
  104. valid_lft forever preferred_lft forever
  105. 5: ip6tnl0@NONE: <NOARP> mtu 1452 qdisc noop state DOWN qlen 1000
  106. link/tunnel6 00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00 brd 00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00
  107. 6: wlan0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN qlen 1000
  108. link/ether 60:38:e0:c5:45:b2 brd ff:ff:ff:ff:ff:ff
  109. 7: wlan1: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN qlen 1000
  110. link/ether 60:38:e0:c5:45:b1 brd ff:ff:ff:ff:ff:ff
  111. 8: mlan0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN qlen 1000
  112. link/ether 60:38:e0:c5:45:b3 brd ff:ff:ff:ff:ff:ff
  113. 9: br-lan: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP qlen 1000
  114. link/ether 62:38:e0:c5:45:b0 brd ff:ff:ff:ff:ff:ff
  115. inet 192.168.1.1/24 brd 192.168.1.255 scope global br-lan
  116. valid_lft forever preferred_lft forever
  117. inet6 2a02:908:13c0:b20::1/60 scope global dynamic
  118. valid_lft 604485sec preferred_lft 302085sec
  119. inet6 fd51:9aeb:e71::1/60 scope global
  120. valid_lft forever preferred_lft forever
  121. inet6 fe80::6038:e0ff:fec5:45b0/64 scope link
  122. valid_lft forever preferred_lft forever
  123. 10: eth0.1@eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue master br-lan state UP qlen 1000
  124. link/ether 62:38:e0:c5:45:b0 brd ff:ff:ff:ff:ff:ff
  125. 11: eth1.2@eth1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP qlen 1000
  126. link/ether 60:38:e0:c5:45:b0 brd ff:ff:ff:ff:ff:ff
  127. inet6 2a02:908:1300:c:24c2:393f:150d:18f/128 scope global dynamic
  128. valid_lft 604485sec preferred_lft 302085sec
  129. inet6 fe80::6238:e0ff:fec5:45b0/64 scope link
  130. valid_lft forever preferred_lft forever
  131. 12: ds-wan6_4@eth1.2: <POINTOPOINT,NOARP,UP,LOWER_UP> mtu 1280 qdisc noqueue state UNKNOWN qlen 1000
  132. link/tunnel6 2a:02:09:08:13:00:00:0c:24:c2:39:3f:15:0d:01:8f peer 2a:02:09:08:00:00:00:00:00:00:00:00:00:13:40:00
  133. inet 192.0.0.2 peer 192.0.0.1/32 brd 255.255.255.255 scope global ds-wan6_4
  134. valid_lft forever preferred_lft forever
  135. inet6 fe80::a061:abff:fe10:5749/64 scope link
  136. valid_lft forever preferred_lft forever
  137.  
  138. root@OpenWrt:~# ip r s
  139. default dev ds-wan6_4 scope link
  140. 192.0.0.1 dev ds-wan6_4 scope link src 192.0.0.2
  141. 192.168.1.0/24 dev br-lan scope link src 192.168.1.1
  142.  
  143. root@OpenWrt:~#
Add Comment
Please, Sign In to add comment