DobleJs

Untitled

May 5th, 2020
141
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.66 KB | None | 0 0
  1. ¡ubnt@ubnt:~$ show configuration all
  2. interfaces {
  3. ethernet eth0 {
  4. description "Switch Port"
  5. duplex auto
  6. speed auto
  7. }
  8. ethernet eth1 {
  9. description "Switch Port"
  10. duplex auto
  11. speed auto
  12. }
  13. ethernet eth2 {
  14. description "Switch Port"
  15. duplex auto
  16. speed auto
  17. }
  18. ethernet eth3 {
  19. description "Switch Port"
  20. duplex auto
  21. speed auto
  22. }
  23. ethernet eth4 {
  24. description "Switch Port"
  25. duplex auto
  26. speed auto
  27. }
  28. switch switch0 {
  29. address 192.168.0.10/24
  30. mtu 1500
  31. switch-port {
  32. interface eth0 {
  33. }
  34. interface eth1 {
  35. }
  36. interface eth2 {
  37. }
  38. interface eth3 {
  39. }
  40. interface eth4 {
  41. }
  42. vlan-aware disable
  43. }
  44. vif 5 {
  45. address 10.0.5.1/24
  46. description InterfazProxmox
  47. mtu 1500
  48. }
  49. vif 10 {
  50. address 10.0.10.1/24
  51. description Win10Virtual_A
  52. }
  53. vif 20 {
  54. address 10.0.20.1/24
  55. description Win10Virtual_B
  56. }
  57. vif 30 {
  58. address 10.0.30.1/24
  59. description Win10Virtual_C
  60. mtu 1500
  61. }
  62. vif 40 {
  63. address 10.0.40.1/24
  64. description Win10Virtual_D
  65. mtu 1500
  66. }
  67. }
  68. }
  69. service {
  70. dhcp-server {
  71. disabled false
  72. hostfile-update disable
  73. shared-network-name VLAN5 {
  74. authoritative disable
  75. subnet 10.0.5.0/24 {
  76. default-router 10.0.5.1
  77. dns-server 1.1.1.1
  78. dns-server 1.0.0.1
  79. lease 86400
  80. start 10.0.5.50 {
  81. stop 10.0.5.100
  82. }
  83. }
  84. }
  85. shared-network-name VLAN10 {
  86. authoritative disable
  87. subnet 10.0.10.0/24 {
  88. default-router 10.0.10.1
  89. dns-server 1.1.1.1
  90. dns-server 1.0.0.1
  91. lease 86400
  92. start 10.0.10.100 {
  93. stop 10.0.10.150
  94. }
  95. }
  96. }
  97. shared-network-name VLAN20 {
  98. authoritative disable
  99. subnet 10.0.20.0/24 {
  100. default-router 10.0.20.1
  101. dns-server 1.1.1.1
  102. dns-server 1.0.0.1
  103. lease 86400
  104. start 10.0.20.20 {
  105. stop 10.0.20.100
  106. }
  107. }
  108. }
  109. shared-network-name VLAN30 {
  110. authoritative disable
  111. subnet 10.0.30.0/24 {
  112. default-router 10.0.30.1
  113. dns-server 1.1.1.1
  114. dns-server 1.0.0.1
  115. lease 86400
  116. start 10.0.30.30 {
  117. stop 10.0.30.100
  118. }
  119. }
  120. }
  121. shared-network-name VLAN40 {
  122. authoritative disable
  123. subnet 10.0.40.0/24 {
  124. default-router 10.0.40.1
  125. dns-server 1.1.1.1
  126. dns-server 1.0.0.1
  127. lease 86400
  128. start 10.0.40.40 {
  129. stop 10.0.40.100
  130. }
  131. }
  132. }
  133. static-arp disable
  134. use-dnsmasq disable
  135. }
  136. dns {
  137. forwarding {
  138. cache-size 150
  139. listen-on switch0.10
  140. listen-on switch0.5
  141. }
  142. }
  143. gui {
  144. http-port 80
  145. https-port 443
  146. older-ciphers enable
  147. }
  148. nat {
  149. }
  150. ssh {
  151. port 22
  152. protocol-version v2
  153. }
  154. }
  155. system {
  156. conntrack {
  157. expect-table-size 4096
  158. hash-size 4096
  159. table-size 32768
  160. tcp {
  161. half-open-connections 512
  162. loose enable
  163. max-retrans 3
  164. }
  165. }
  166. gateway-address 192.168.0.1
  167. host-name ubnt
  168. login {
  169. user ubnt {
  170. authentication {
  171. encrypted-password ****************
  172. }
  173. level admin
  174. }
  175. }
  176. name-server 1.1.1.1
  177. ntp {
  178. server 0.ubnt.pool.ntp.org {
  179. }
  180. server 1.ubnt.pool.ntp.org {
  181. }
  182. server 2.ubnt.pool.ntp.org {
  183. }
  184. server 3.ubnt.pool.ntp.org {
  185. }
  186. }
  187. syslog {
  188. global {
  189. facility all {
  190. level notice
  191. }
  192. facility protocols {
  193. level debug
  194. }
  195. }
  196. }
  197. time-zone UTC
  198. }
Add Comment
Please, Sign In to add comment