# jan/02/1970 00:10:33 by RouterOS 7.6 # software id = 83H1-RVLA # # model = RB2011UiAS-2HnD # serial number = /interface bridge add name=bridge1 /interface wireless set [ find default-name=wlan1 ] ssid=MikroTik /interface vlan add interface=bridge1 name=VLAN10 vlan-id=10 add interface=bridge1 name=VLAN20 vlan-id=20 /interface ethernet switch port set 2 default-vlan-id=10 vlan-mode=secure set 5 default-vlan-id=20 vlan-mode=secure set 11 vlan-mode=secure /interface wireless security-profiles set [ find default=yes ] supplicant-identity=MikroTik /ip pool add name=POOL10 ranges=192.168.100.100-192.168.100.200 add name=POOL20 ranges=192.168.0.100-192.168.0.200 /ip dhcp-server add address-pool=POOL10 interface=VLAN10 name=DHCP10 add address-pool=POOL20 interface=VLAN20 name=DHCP20 /port set 0 name=serial0 /interface bridge port add bridge=bridge1 interface=ether1 add bridge=bridge1 interface=ether2 add bridge=bridge1 interface=ether3 add bridge=bridge1 interface=ether4 add bridge=bridge1 interface=ether5 /interface ethernet switch rule add dst-address=192.168.100.0/24 new-dst-ports="" ports=ether2 switch=switch1 add dst-address=192.168.0.0/24 new-dst-ports="" ports=ether5 switch=switch1 /interface ethernet switch vlan add independent-learning=yes ports=ether2,switch1-cpu switch=switch1 vlan-id=\ 10 add independent-learning=yes ports=ether5,switch1-cpu switch=switch1 vlan-id=\ 20 /ip address add address=192.168.100.1/24 interface=VLAN10 network=192.168.100.0 add address=192.168.0.1/24 interface=VLAN20 network=192.168.0.0 /ip dhcp-client add interface=ether10 /ip dhcp-server network add address=192.168.0.0/24 dns-server=8.8.8.8 gateway=192.168.0.1 add address=192.168.100.0/24 dns-server=8.8.8.8 gateway=192.168.100.1 /ip firewall nat add action=masquerade chain=srcnat out-interface=ether10 /lcd interface pages set 0 interfaces="sfp1,ether1,ether2,ether3,ether4,ether5,ether6,ether7,ether8\ ,ether9,ether10"