Advertisement
xtree1

Microtik_vlan10_failure

Mar 20th, 2021
185
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.68 KB | None | 0 0
  1. # mar/20/2021 12:50:51 by RouterOS 6.48.1
  2. # software id = X5L2-J78L
  3. #
  4. # model = 750GL
  5. # serial number = 467B04284134
  6. /interface bridge
  7. add name=BR1
  8. /interface vlan
  9. add interface=ether2 name=guest vlan-id=200
  10. add interface=ether2 name=home vlan-id=100
  11. add interface=ether2 name=wan vlan-id=10
  12. /interface ethernet switch port
  13. set 1 default-vlan-id=0 vlan-header=add-if-missing vlan-mode=secure
  14. set 2 default-vlan-id=100 vlan-header=always-strip vlan-mode=secure
  15. set 3 default-vlan-id=200 vlan-header=always-strip vlan-mode=secure
  16. /interface wireless security-profiles
  17. set [ find default=yes ] supplicant-identity=MikroTik
  18. /ip pool
  19. add name=dhcp_pool0 ranges=108.20.117.100-108.20.117.110
  20. /ip dhcp-server
  21. add address-pool=dhcp_pool0 disabled=no interface=wan name=dhcp1
  22. /interface bridge port
  23. add bridge=BR1 interface=ether2
  24. add bridge=BR1 interface=ether3
  25. add bridge=BR1 interface=ether4
  26. add bridge=BR1 interface=ether5
  27. /ip neighbor discovery-settings
  28. set discover-interface-list=!dynamic
  29. /interface ethernet switch vlan
  30. add independent-learning=no ports=ether2 switch=switch1 vlan-id=10
  31. add independent-learning=no ports=ether2,ether3,ether4 switch=switch1 \
  32. vlan-id=100
  33. add independent-learning=no ports=ether2,ether4 switch=switch1 vlan-id=200
  34. /ip address
  35. add address=108.20.117.1/24 interface=wan network=108.20.117.0
  36. add address=192.168.1.205/24 interface=home network=192.168.1.0
  37. /ip dhcp-client
  38. add disabled=no interface=ether1
  39. /ip dhcp-server network
  40. add address=108.20.117.0/24 gateway=108.20.117.1
  41. /ip firewall nat
  42. add action=masquerade chain=srcnat
  43. /system clock
  44. set time-zone-name=America/New_York
  45. /system ntp client
  46. set enabled=yes primary-ntp=192.168.200.30
  47.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement