Advertisement
demoss

crs-326-config

Apr 28th, 2024
1,043
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 2.87 KB | None | 0 0
  1. /interface bridge
  2. add igmp-snooping=yes igmp-version=3 mld-version=2 name=bridge1 vlan-filtering=yes
  3. /interface vlan
  4. add interface=bridge1 name=bs vlan-id=20
  5. add interface=bridge1 name=conf vlan-id=10
  6. /interface lte apn
  7. set [ find default=yes ] ip-type=ipv4 use-network-apn=no
  8. /interface wireless security-profiles
  9. set [ find default=yes ] supplicant-identity=MikroTik
  10. /ip pool
  11. add name=dhcp_pool0 ranges=192.168.1.100-192.168.1.200
  12. /ip dhcp-server
  13. add add-arp=yes address-pool=dhcp_pool0 interface=conf lease-time=10m name=dhcp1
  14. /port
  15. set 0 name=serial0
  16. /interface bridge port
  17. add bridge=bridge1 ingress-filtering=no interface=ether1
  18. add bridge=bridge1 interface=ether2
  19. add bridge=bridge1 interface=ether3
  20. add bridge=bridge1 interface=ether4
  21. add bridge=bridge1 interface=ether5
  22. add bridge=bridge1 interface=ether6
  23. add bridge=bridge1 interface=ether7
  24. add bridge=bridge1 interface=ether8
  25. add bridge=bridge1 interface=ether9
  26. add bridge=bridge1 interface=ether10
  27. add bridge=bridge1 interface=ether11
  28. add bridge=bridge1 interface=ether12
  29. add bridge=bridge1 interface=ether13
  30. add bridge=bridge1 interface=ether14
  31. add bridge=bridge1 interface=ether15
  32. add bridge=bridge1 interface=ether16
  33. add bridge=bridge1 frame-types=admit-only-untagged-and-priority-tagged ingress-filtering=no interface=ether17 pvid=10
  34. add bridge=bridge1 frame-types=admit-only-untagged-and-priority-tagged ingress-filtering=no interface=ether18 pvid=10
  35. add bridge=bridge1 interface=ether19
  36. add bridge=bridge1 interface=ether20
  37. add bridge=bridge1 interface=ether21
  38. add bridge=bridge1 interface=ether22
  39. add bridge=bridge1 interface=ether23 path-cost=20
  40. add bridge=bridge1 ingress-filtering=no interface=ether24
  41. add bridge=bridge1 frame-types=admit-only-untagged-and-priority-tagged ingress-filtering=no interface=bs pvid=20
  42. /ip settings
  43. set max-neighbor-entries=8192
  44. /ipv6 settings
  45. set disable-ipv6=yes
  46. /interface bridge vlan
  47. add bridge=bridge1 tagged=ether24,bridge1 untagged=ether17,ether18,ether19 vlan-ids=10
  48. add bridge=bridge1 tagged=ether24,bridge1 untagged=ether20 vlan-ids=20
  49. /interface ovpn-server server
  50. set auth=sha1,md5
  51. /ip address
  52. add address=192.168.1.1/24 interface=conf network=192.168.1.0
  53. /ip dhcp-client
  54. add interface=bridge1
  55. add add-default-route=no interface=bs use-peer-dns=no use-peer-ntp=no
  56. /ip dhcp-server network
  57. add address=192.168.1.0/24 gateway=192.168.1.1
  58. /ip firewall filter
  59. add action=reject chain=forward dst-address=10.0.65.0/24 reject-with=icmp-network-unreachable src-address=192.168.1.0/24
  60. /ip firewall nat
  61. add action=masquerade chain=srcnat out-interface=bridge1 src-address=192.168.1.0/24
  62. /routing bfd configuration
  63. add disabled=no interfaces=all min-rx=200ms min-tx=200ms multiplier=5
  64. /system clock
  65. set time-zone-name=Europe/Moscow
  66. /system identity
  67. set name=FUNF-BS-CRS326-CONF
  68. /system note
  69. set show-at-login=no
  70. /system routerboard settings
  71. set boot-os=router-os
  72.  
Tags: crs326
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement