Advertisement
Guest User

Configuration - bridge mode

a guest
Jan 10th, 2015
16
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 15.84 KB | None | 0 0
  1. # jan/02/1970 00:05:07 by RouterOS 6.24
  2. # software id = INKL-XW0P
  3. #
  4. /interface ethernet
  5. set [ find default-name=ether1 ] advertise=\
  6. 10M-half,10M-full,100M-half,100M-full,1000M-half,1000M-full arp=enabled \
  7. auto-negotiation=yes bandwidth=unlimited/unlimited disabled=no \
  8. full-duplex=yes l2mtu=1526 mac-address=00:0C:42:2D:C9:DB master-port=none \
  9. mtu=1500 name=ether1 orig-mac-address=00:0C:42:2D:C9:DB speed=100Mbps
  10. set [ find default-name=ether2 ] advertise=\
  11. 10M-half,10M-full,100M-half,100M-full,1000M-half,1000M-full arp=enabled \
  12. auto-negotiation=yes bandwidth=unlimited/unlimited disabled=no \
  13. full-duplex=yes l2mtu=1522 mac-address=00:0C:42:2D:C9:DC master-port=none \
  14. mtu=1500 name=ether2 orig-mac-address=00:0C:42:2D:C9:DC speed=100Mbps
  15. set [ find default-name=ether3 ] advertise=\
  16. 10M-half,10M-full,100M-half,100M-full,1000M-half,1000M-full arp=enabled \
  17. auto-negotiation=yes bandwidth=unlimited/unlimited disabled=no \
  18. full-duplex=yes l2mtu=1522 mac-address=00:0C:42:2D:C9:DD master-port=none \
  19. mtu=1500 name=ether3 orig-mac-address=00:0C:42:2D:C9:DD speed=100Mbps
  20. /interface bridge
  21. add admin-mac=00:00:00:00:00:00 ageing-time=5m arp=enabled auto-mac=yes \
  22. disabled=no forward-delay=15s max-message-age=20s mtu=auto name=bridge1 \
  23. priority=0x8000 protocol-mode=rstp transmit-hold-count=6
  24. /ip neighbor discovery
  25. set ether1 discover=yes
  26. set ether2 discover=yes
  27. set ether3 discover=yes
  28. set bridge1 discover=yes
  29. /interface ethernet switch port
  30. set 0 default-vlan-id=0
  31. set 1 default-vlan-id=0
  32. set 2 default-vlan-id=0
  33. /interface wireless security-profiles
  34. set [ find default=yes ] authentication-types="" eap-methods=passthrough \
  35. group-ciphers=aes-ccm group-key-update=5m interim-update=0s \
  36. management-protection=disabled management-protection-key="" mode=none \
  37. mschapv2-password="" mschapv2-username="" name=default \
  38. radius-eap-accounting=no radius-mac-accounting=no \
  39. radius-mac-authentication=no radius-mac-caching=disabled \
  40. radius-mac-format=XX:XX:XX:XX:XX:XX radius-mac-mode=as-username \
  41. static-algo-0=none static-algo-1=none static-algo-2=none static-algo-3=\
  42. none static-key-0="" static-key-1="" static-key-2="" static-key-3="" \
  43. static-sta-private-algo=none static-sta-private-key="" \
  44. static-transmit-key=key-0 supplicant-identity=MikroTik tls-certificate=\
  45. none tls-mode=no-certificates unicast-ciphers=aes-ccm wpa-pre-shared-key=\
  46. "" wpa2-pre-shared-key=""
  47. add authentication-types=wpa2-psk eap-methods="" group-ciphers=tkip,aes-ccm \
  48. group-key-update=5m interim-update=0s management-protection=allowed \
  49. management-protection-key="" mode=dynamic-keys mschapv2-password="" \
  50. mschapv2-username="" name=homenet radius-eap-accounting=no \
  51. radius-mac-accounting=no radius-mac-authentication=no radius-mac-caching=\
  52. disabled radius-mac-format=XX:XX:XX:XX:XX:XX radius-mac-mode=as-username \
  53. static-algo-0=none static-algo-1=none static-algo-2=none static-algo-3=\
  54. none static-key-0="" static-key-1="" static-key-2="" static-key-3="" \
  55. static-sta-private-algo=none static-sta-private-key="" \
  56. static-transmit-key=key-0 supplicant-identity="" tls-certificate=none \
  57. tls-mode=no-certificates unicast-ciphers=tkip,aes-ccm wpa-pre-shared-key=\
  58. "" wpa2-pre-shared-key=XXXX
  59. /interface wireless
  60. set [ find default-name=wlan1 ] adaptive-noise-immunity=none allow-sharedkey=\
  61. no antenna-gain=0 area="" arp=enabled band=5ghz-a basic-rates-a/g=6Mbps \
  62. basic-rates-b=1Mbps bridge-mode=enabled channel-width=20mhz compression=\
  63. no country=no_country_set default-ap-tx-limit=0 default-authentication=\
  64. yes default-client-tx-limit=0 default-forwarding=yes dfs-mode=none \
  65. disable-running-check=no disabled=no disconnect-timeout=3s distance=\
  66. dynamic frame-lifetime=0 frequency=5180 frequency-mode=manual-txpower \
  67. frequency-offset=0 hide-ssid=no ht-ampdu-priorities=0 ht-amsdu-limit=8192 \
  68. ht-amsdu-threshold=8192 ht-basic-mcs=\
  69. mcs-0,mcs-1,mcs-2,mcs-3,mcs-4,mcs-5,mcs-6,mcs-7 ht-guard-interval=any \
  70. ht-rxchains=0,1 ht-supported-mcs="mcs-0,mcs-1,mcs-2,mcs-3,mcs-4,mcs-5,mcs-\
  71. 6,mcs-7,mcs-8,mcs-9,mcs-10,mcs-11,mcs-12,mcs-13,mcs-14,mcs-15,mcs-16,mcs-1\
  72. 7,mcs-18,mcs-19,mcs-20,mcs-21,mcs-22,mcs-23" ht-txchains=0,1 \
  73. hw-fragmentation-threshold=disabled hw-protection-mode=none \
  74. hw-protection-threshold=0 hw-retries=7 interworking-profile=disabled \
  75. l2mtu=2290 mac-address=00:0C:42:3A:D0:64 max-station-count=2007 mode=\
  76. station-pseudobridge mtu=1500 multicast-buffering=enabled \
  77. multicast-helper=default name=wlan1 noise-floor-threshold=default \
  78. nv2-cell-radius=30 nv2-noise-floor-offset=default nv2-preshared-key="" \
  79. nv2-qos=default nv2-queue-count=2 nv2-security=disabled \
  80. on-fail-retry-time=100ms periodic-calibration=default \
  81. periodic-calibration-interval=60 preamble-mode=both \
  82. proprietary-extensions=post-2.9.25 radio-name=000C423AD064 \
  83. rate-selection=advanced rate-set=default scan-list=default \
  84. security-profile=homenet ssid=B42 station-bridge-clone-mac=\
  85. 00:00:00:00:00:00 supported-rates-a/g=\
  86. 6Mbps,9Mbps,12Mbps,18Mbps,24Mbps,36Mbps,48Mbps,54Mbps supported-rates-b=\
  87. 1Mbps,2Mbps,5.5Mbps,11Mbps tdma-period-size=2 tx-power-mode=default \
  88. update-stats-interval=disabled wds-cost-range=50-150 wds-default-bridge=\
  89. none wds-default-cost=100 wds-ignore-ssid=no wds-mode=disabled \
  90. wireless-protocol=802.11 wmm-support=disabled
  91. /interface wireless nstreme
  92. set wlan1 disable-csma=no enable-nstreme=no enable-polling=yes framer-limit=\
  93. 3200 framer-policy=none
  94. /interface wireless manual-tx-power-table
  95. set wlan1 manual-tx-powers="1Mbps:17,2Mbps:17,5.5Mbps:17,11Mbps:17,6Mbps:17,9M\
  96. bps:17,12Mbps:17,18Mbps:17,24Mbps:17,36Mbps:17,48Mbps:17,54Mbps:17,HT20-0:\
  97. 17,HT20-1:17,HT20-2:17,HT20-3:17,HT20-4:17,HT20-5:17,HT20-6:17,HT20-7:17,H\
  98. T40-0:17,HT40-1:17,HT40-2:17,HT40-3:17,HT40-4:17,HT40-5:17,HT40-6:17,HT40-\
  99. 7:17"
  100. /ip neighbor discovery
  101. set wlan1 discover=yes
  102. /ip dhcp-client option
  103. set clientid code=61 name=clientid value="0x01\$(CLIENT_MAC)"
  104. set hostname code=12 name=hostname value="\$(HOSTNAME)"
  105. /ip ipsec mode-config
  106. set (unknown) name=request-only send-dns=yes
  107. /ip ipsec policy group
  108. set default name=default
  109. /ip ipsec proposal
  110. set [ find default=yes ] auth-algorithms=sha1 disabled=no enc-algorithms=\
  111. aes-128-cbc lifetime=30m name=default pfs-group=modp1024
  112. /port
  113. set 0 baud-rate=auto data-bits=8 flow-control=none name=serial0 parity=none \
  114. stop-bits=1
  115. /queue type
  116. set 0 kind=pfifo name=default pfifo-limit=50
  117. set 1 kind=pfifo name=ethernet-default pfifo-limit=50
  118. set 2 kind=sfq name=wireless-default sfq-allot=1514 sfq-perturb=5
  119. set 3 kind=red name=synchronous-default red-avg-packet=1000 red-burst=20 \
  120. red-limit=60 red-max-threshold=50 red-min-threshold=10
  121. set 4 kind=sfq name=hotspot-default sfq-allot=1514 sfq-perturb=5
  122. set 5 kind=pcq name=pcq-upload-default pcq-burst-rate=0 pcq-burst-threshold=0 \
  123. pcq-burst-time=10s pcq-classifier=src-address pcq-dst-address-mask=32 \
  124. pcq-dst-address6-mask=128 pcq-limit=50 pcq-rate=0 pcq-src-address-mask=32 \
  125. pcq-src-address6-mask=128 pcq-total-limit=2000
  126. set 6 kind=pcq name=pcq-download-default pcq-burst-rate=0 \
  127. pcq-burst-threshold=0 pcq-burst-time=10s pcq-classifier=dst-address \
  128. pcq-dst-address-mask=32 pcq-dst-address6-mask=128 pcq-limit=50 pcq-rate=0 \
  129. pcq-src-address-mask=32 pcq-src-address6-mask=128 pcq-total-limit=2000
  130. set 7 kind=none name=only-hardware-queue
  131. set 8 kind=mq-pfifo mq-pfifo-limit=50 name=multi-queue-ethernet-default
  132. set 9 kind=pfifo name=default-small pfifo-limit=10
  133. /snmp community
  134. set [ find default=yes ] addresses=0.0.0.0/0 authentication-password="" \
  135. authentication-protocol=MD5 encryption-password="" encryption-protocol=\
  136. DES name=public read-access=yes security=none write-access=no
  137. /system logging action
  138. set 0 memory-lines=1000 memory-stop-on-full=no name=memory target=memory
  139. set 1 disk-file-count=2 disk-file-name=log disk-lines-per-file=1000 \
  140. disk-stop-on-full=no name=disk target=disk
  141. set 2 name=echo remember=yes target=echo
  142. set 3 bsd-syslog=no name=remote remote-port=514 syslog-facility=daemon \
  143. syslog-severity=auto syslog-time-format=bsd-syslog target=remote
  144. /user group
  145. set read name=read policy="local,telnet,ssh,reboot,read,test,winbox,password,w\
  146. eb,sniff,sensitive,api,!ftp,!write,!policy" skin=default
  147. set write name=write policy="local,telnet,ssh,reboot,read,write,test,winbox,pa\
  148. ssword,web,sniff,sensitive,api,!ftp,!policy" skin=default
  149. set full name=full policy="local,telnet,ssh,ftp,reboot,read,write,policy,test,\
  150. winbox,password,web,sniff,sensitive,api" skin=default
  151. /interface bridge port
  152. add auto-isolate=no bridge=bridge1 disabled=no edge=auto external-fdb=auto \
  153. horizon=none interface=ether1 path-cost=10 point-to-point=auto priority=\
  154. 0x80
  155. add auto-isolate=no bridge=bridge1 disabled=no edge=auto external-fdb=auto \
  156. horizon=none interface=ether3 path-cost=10 point-to-point=auto priority=\
  157. 0x80
  158. add auto-isolate=no bridge=bridge1 disabled=no edge=auto external-fdb=auto \
  159. horizon=none interface=ether2 path-cost=10 point-to-point=auto priority=\
  160. 0x80
  161. add auto-isolate=no bridge=bridge1 disabled=no edge=auto external-fdb=auto \
  162. horizon=none interface=wlan1 path-cost=10 point-to-point=auto priority=\
  163. 0x80
  164. /interface bridge settings
  165. set allow-fast-path=yes use-ip-firewall=no use-ip-firewall-for-pppoe=no \
  166. use-ip-firewall-for-vlan=no
  167. /ip firewall connection tracking
  168. set enabled=auto generic-timeout=10m icmp-timeout=10s tcp-close-timeout=10s \
  169. tcp-close-wait-timeout=10s tcp-established-timeout=1d \
  170. tcp-fin-wait-timeout=10s tcp-last-ack-timeout=10s \
  171. tcp-syn-received-timeout=5s tcp-syn-sent-timeout=5s \
  172. tcp-time-wait-timeout=10s udp-stream-timeout=3m udp-timeout=10s
  173. /ip neighbor discovery settings
  174. set default=yes default-for-dynamic=no
  175. /ip settings
  176. set accept-redirects=no accept-source-route=no allow-fast-path=yes \
  177. arp-timeout=30s icmp-rate-limit=10 icmp-rate-mask=0x1818 ip-forward=yes \
  178. max-arp-entries=8192 rp-filter=no secure-redirects=yes send-redirects=yes \
  179. tcp-syncookies=no
  180. /interface wireless align
  181. set active-mode=yes audio-max=-20 audio-min=-100 audio-monitor=\
  182. 00:00:00:00:00:00 filter-mac=00:00:00:00:00:00 frame-size=300 \
  183. frames-per-second=25 receive-all=no ssid-all=no
  184. /interface wireless sniffer
  185. set channel-time=200ms file-limit=10 file-name="" memory-limit=10 \
  186. multiple-channels=no only-headers=no receive-errors=no streaming-enabled=\
  187. no streaming-max-rate=0 streaming-server=0.0.0.0
  188. /interface wireless snooper
  189. set channel-time=200ms multiple-channels=yes receive-errors=no
  190. /ip accounting
  191. set account-local-traffic=no enabled=no threshold=256
  192. /ip accounting web-access
  193. set accessible-via-web=no address=0.0.0.0/0
  194. /ip cloud
  195. set enabled=no update-time=yes
  196. /ip cloud advanced
  197. set use-local-address=no
  198. /ip dhcp-client
  199. add add-default-route=yes default-route-distance=0 dhcp-options=\
  200. hostname,clientid disabled=no interface=bridge1 use-peer-dns=yes \
  201. use-peer-ntp=yes
  202. /ip dhcp-server config
  203. set store-leases-disk=5m
  204. /ip dns
  205. set allow-remote-requests=no cache-max-ttl=1w cache-size=2048KiB \
  206. max-udp-packet-size=4096 query-server-timeout=2s query-total-timeout=10s \
  207. servers=""
  208. /ip firewall service-port
  209. set ftp disabled=no ports=21
  210. set tftp disabled=no ports=69
  211. set irc disabled=no ports=6667
  212. set h323 disabled=no
  213. set sip disabled=no ports=5060,5061 sip-direct-media=yes
  214. set pptp disabled=no
  215. /ip ipsec policy
  216. set 0 disabled=no dst-address=::/0 group=default proposal=default protocol=\
  217. all src-address=::/0 template=yes
  218. /ip proxy
  219. set always-from-cache=no anonymous=no cache-administrator=webmaster \
  220. cache-hit-dscp=4 cache-on-disk=no cache-path=web-proxy enabled=no \
  221. max-cache-object-size=2048KiB max-cache-size=unlimited \
  222. max-client-connections=600 max-fresh-time=3d max-server-connections=600 \
  223. parent-proxy=:: parent-proxy-port=0 port=8080 serialize-connections=no \
  224. src-address=::
  225. /ip service
  226. set telnet address="" disabled=no port=23
  227. set ftp address="" disabled=no port=21
  228. set www address="" disabled=no port=80
  229. set ssh address="" disabled=no port=22
  230. set www-ssl address="" certificate=none disabled=yes port=443
  231. set api address="" disabled=no port=8728
  232. set winbox address="" disabled=no port=8291
  233. set api-ssl address="" certificate=none disabled=no port=8729
  234. /ip smb
  235. set allow-guests=yes comment=MikrotikSMB domain=MSHOME enabled=no interfaces=\
  236. all
  237. /ip smb shares
  238. set [ find default=yes ] comment="default share" directory=/pub disabled=no \
  239. max-sessions=10 name=pub
  240. /ip smb users
  241. set [ find default=yes ] disabled=no name=guest password="" read-only=yes
  242. /ip socks
  243. set connection-idle-timeout=2m enabled=no max-connections=200 port=1080
  244. /ip traffic-flow
  245. set active-flow-timeout=30m cache-entries=32k enabled=no \
  246. inactive-flow-timeout=15s interfaces=all
  247. /ip upnp
  248. set allow-disable-external-interface=no enabled=no show-dummy-rule=yes
  249. /port firmware
  250. set directory=firmware ignore-directip-modem=no
  251. /queue interface
  252. set ether1 queue=only-hardware-queue
  253. set ether2 queue=only-hardware-queue
  254. set ether3 queue=only-hardware-queue
  255. set wlan1 queue=wireless-default
  256. /radius incoming
  257. set accept=no port=3799
  258. /snmp
  259. set contact="" enabled=no engine-id="" location="" trap-community=public \
  260. trap-generators="" trap-target="" trap-version=1
  261. /system clock
  262. set time-zone-name=manual
  263. /system clock manual
  264. set dst-delta=+00:00 dst-end="jan/01/1970 00:00:00" dst-start=\
  265. "jan/01/1970 00:00:00" time-zone=+00:00
  266. /system console
  267. set [ find port=serial0 ] channel=0 disabled=no port=serial0 term=vt102
  268. /system health
  269. set fan-mode=auto use-fan=main
  270. /system identity
  271. set name=MikroTik
  272. /system logging
  273. set 0 action=memory disabled=no prefix="" topics=info
  274. set 1 action=memory disabled=no prefix="" topics=error
  275. set 2 action=memory disabled=no prefix="" topics=warning
  276. set 3 action=echo disabled=no prefix="" topics=critical
  277. /system note
  278. set note="" show-at-login=yes
  279. /system ntp client
  280. set enabled=no
  281. /system resource irq
  282. set 0 cpu=auto
  283. set 1 cpu=auto
  284. set 2 cpu=auto
  285. set 3 cpu=auto
  286. set 4 cpu=auto
  287. set 5 cpu=auto
  288. /system routerboard settings
  289. set baud-rate=115200 boot-delay=2s boot-device=nand-if-fail-then-ethernet \
  290. boot-protocol=bootp cpu-frequency=680MHz enable-jumper-reset=yes \
  291. enter-setup-on=any-key force-backup-booter=no silent-boot=no
  292. /system upgrade mirror
  293. set check-interval=1d enabled=no primary-server=0.0.0.0 secondary-server=\
  294. 0.0.0.0 user=""
  295. /system watchdog
  296. set auto-send-supout=no automatic-supout=yes no-ping-delay=5m watch-address=\
  297. none watchdog-timer=yes
  298. /tool bandwidth-server
  299. set allocate-udp-ports-from=2000 authenticate=yes enabled=yes max-sessions=\
  300. 100
  301. /tool e-mail
  302. set address=0.0.0.0 from=<> password="" port=25 start-tls=no user=""
  303. /tool graphing
  304. set page-refresh=300 store-every=5min
  305. /tool mac-server
  306. set [ find default=yes ] disabled=no interface=all
  307. /tool mac-server mac-winbox
  308. set [ find default=yes ] disabled=no interface=all
  309. /tool mac-server ping
  310. set enabled=yes
  311. /tool sms
  312. set allowed-number="" channel=0 keep-max-sms=0 receive-enabled=no secret="" \
  313. sim-pin=""
  314. /tool sniffer
  315. set file-limit=1000KiB file-name="" filter-cpu="" filter-direction=any \
  316. filter-interface="" filter-ip-address="" filter-ip-protocol="" \
  317. filter-mac-address="" filter-mac-protocol="" \
  318. filter-operator-between-entries=or filter-port="" filter-stream=no \
  319. memory-limit=100KiB memory-scroll=yes only-headers=no streaming-enabled=\
  320. no streaming-server=0.0.0.0
  321. /tool traffic-generator
  322. set latency-distribution-max=100us measure-out-of-order=yes \
  323. stats-samples-to-keep=100 test-id=0
  324. /user aaa
  325. set accounting=yes default-group=read exclude-groups="" interim-update=0s \
  326. use-radius=no
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement