Advertisement
Guest User

Untitled

a guest
Dec 29th, 2017
52
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.58 KB | None | 0 0
  1. /interface bridge
  2. add admin-mac= auto-mac=no comment=defconf name=bridge
  3. add name=bridge1 vlan-filtering=yes
  4. /interface vlan
  5. add interface=ether2 name=eth2-vlan20 vlan-id=20
  6. /interface ethernet switch port
  7. set 1 vlan-mode=check
  8. /interface list
  9. add comment=defconf name=WAN
  10. add comment=defconf name=LAN
  11. /ip pool
  12. add name=default-dhcp ranges=192.168.88.10-192.168.88.254
  13. /ip dhcp-server
  14. add address-pool=default-dhcp disabled=no interface=bridge name=defconf
  15. /interface bridge port
  16. add bridge=bridge comment=defconf disabled=yes interface=ether2
  17. add bridge=bridge comment=defconf interface=ether4
  18. add bridge=bridge comment=defconf interface=ether5
  19. add bridge=bridge comment=defconf interface=wlan1
  20. add bridge=bridge interface=ether1
  21. add bridge=bridge1 interface=wlan2
  22. add bridge=bridge1 interface=ether2 pvid=20
  23. /ip neighbor discovery-settings
  24. /interface bridge vlan
  25. add tagged=wlan2 untagged=ether2 vlan-ids=20
  26. add bridge=bridge1 tagged=wlan2 untagged=ether2 vlan-ids=20
  27. /interface list member
  28. add comment=defconf interface=bridge list=LAN
  29. add comment=defconf interface=ether1 list=WAN
  30. /ip address
  31. add address=192.168.88.1/24 comment=defconf interface=bridge network=\
  32. 192.168.88.0
  33. add address=10.3.57.211/24 interface=ether2 network=10.3.57.0
  34. /ip dhcp-client
  35. add comment=defconf dhcp-options=hostname,clientid disabled=no interface=ether1
  36. /ip dhcp-server network
  37. add address=192.168.88.0/24 comment=defconf gateway=192.168.88.1
  38. /ip dns
  39. set allow-remote-requests=yes
  40. /ip dns static
  41. add address=192.168.88.1 name=router.lan
  42. /system clock
  43. set time-zone-name=Pacific/Auckland
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement