RB4011
Code: Select all
# aug/22/2022 20:38:33 by RouterOS 6.48.6
# software id = 8PQW-VGK7
#
# model = RB4011iGS+
/interface bridge
add ingress-filtering=yes name=LanBridge protocol-mode=none pvid=156 vlan-filtering=yes
/interface ethernet
set [ find default-name=ether1 ] l2mtu=1598 mac-address=10:93:97:61:96:61 name=ether1-External speed=100Mbps
set [ find default-name=ether2 ] l2mtu=1598 mac-address=E4:8D:8C:0B:60:EE name=ether2-S1 speed=100Mbps
set [ find default-name=ether3 ] l2mtu=1598 mac-address=E4:8D:8C:0B:60:ED name=ether3-S1 speed=100Mbps
set [ find default-name=ether4 ] l2mtu=1598 mac-address=E4:8D:8C:0B:60:EC name=ether4-S1 speed=100Mbps
set [ find default-name=ether5 ] name=ether5-S1
set [ find default-name=ether6 ] l2mtu=1598 mac-address=E4:8D:8C:0B:60:F5 name=ether6-S2 speed=100Mbps
set [ find default-name=ether7 ] l2mtu=1598 mac-address=E4:8D:8C:0B:60:F4 name=ether7-S2 speed=100Mbps
set [ find default-name=ether8 ] l2mtu=1598 mac-address=E4:8D:8C:0B:60:F3 name=ether8-S2 speed=100Mbps
set [ find default-name=ether9 ] l2mtu=1598 mac-address=E4:8D:8C:0B:60:F2 name=ether9-S2 speed=100Mbps
set [ find default-name=ether10 ] name=ether10-S2
set [ find default-name=sfp-sfpplus1 ] name=sfp-brocade
/interface vlan
add interface=LanBridge name=LanBridge-vlan156 vlan-id=156
add interface=ether10-S2 name=vlan50-Guest vlan-id=50
add interface=sfp-brocade loop-protect=on name=vlan156-Brocade vlan-id=156
add interface=ether10-S2 name=vlan156-WiFi vlan-id=156
add interface=sfp-brocade name=vlan172-VM vlan-id=172
add interface=sfp-brocade name=vlan180-Cameras vlan-id=180
add interface=ether10-S2 name=vlan190-SmartHome vlan-id=190
/interface ethernet switch port
set 0 default-vlan-id=0
set 1 default-vlan-id=0
set 2 default-vlan-id=auto
set 3 default-vlan-id=0
set 4 default-vlan-id=auto
set 5 default-vlan-id=auto
set 6 default-vlan-id=auto
set 7 default-vlan-id=auto
set 8 default-vlan-id=0
set 9 default-vlan-id=0
set 10 default-vlan-id=auto
set 11 default-vlan-id=auto
/interface list
add name=LAN
add name=WAN
/ip pool
add name=home-pool ranges=192.168.156.150-192.168.156.250
add name=vpn-pool ranges=192.168.8.10-192.168.8.30
add name=vm-pool ranges=172.16.156.50-172.16.156.99
add name=camera-pool ranges=10.180.1.100-10.180.1.120
add name=guest-pool ranges=192.168.199.100-192.168.199.200
add name=smarthome-pool ranges=10.190.1.100-10.190.1.199
/ip dhcp-server
add address-pool=home-pool disabled=no interface=LanBridge lease-time=1d name=gartin-net
add address-pool=camera-pool disabled=no interface=vlan180-Cameras lease-time=1d name=camera-net
add address-pool=guest-pool disabled=no interface=vlan50-Guest lease-time=1h name=guest-net
add address-pool=smarthome-pool disabled=no interface=vlan190-SmartHome lease-time=1d name=smarthome-net
add address-pool=vm-pool disabled=no interface=vlan172-VM lease-time=1d name=vm-net
/interface bridge port
add bridge=LanBridge interface=ether7-S2 pvid=156
add bridge=LanBridge disabled=yes frame-types=admit-only-vlan-tagged ingress-filtering=yes interface=ether10-S2 pvid=156
add bridge=LanBridge interface=ether6-S2 pvid=156
add bridge=LanBridge interface=vlan156-Brocade pvid=156
add bridge=LanBridge interface=ether9-S2 pvid=156
add bridge=LanBridge interface=ether8-S2 pvid=156
add bridge=LanBridge frame-types=admit-only-vlan-tagged ingress-filtering=yes interface=vlan156-WiFi pvid=156
/ip neighbor discovery-settings
set discover-interface-list=!WAN
/interface bridge vlan
add bridge=LanBridge tagged=vlan156-WiFi,vlan156-Brocade untagged=ether8-S2,ether9-S2,ether7-S2,ether6-S2 vlan-ids=156
/interface list member
add interface=vlan50-Guest list=LAN
add interface=vlan172-VM list=LAN
add interface=vlan180-Cameras list=LAN
add interface=vlan190-SmartHome list=LAN
add interface=ether1-External list=WAN
add interface=vlan156-WiFi list=LAN
/ip address
add address=192.168.156.1/24 comment="Core Network" interface=LanBridge network=192.168.156.0
add address=172.16.156.1/24 comment=Local-VM-Gateway interface=vlan172-VM network=172.16.156.0
add address=192.168.8.1/24 comment="VPN Gateway" interface=LanBridge network=192.168.8.0
add address=10.180.1.1/24 comment=Cameras interface=vlan180-Cameras network=10.180.1.0
add address=192.168.199.1/24 comment="Guest Network" interface=vlan50-Guest network=192.168.199.0
add address=10.190.1.1/24 comment=SmartHome interface=vlan190-SmartHome network=10.190.1.0
- wifi for home/vlan156 is working however slow
- unsure of how to get vlan190 working. I don't need a bridge right? Do I need the VLAN interface under the virtual wlan24?
Code: Select all
# aug/22/2022 14:19:46 by RouterOS 6.48.4
# software id = VML7-F14K
#
# model = RouterBOARD cAP Gi-5acD2nD
/interface bridge
add name=lanBridge protocol-mode=none pvid=156 vlan-filtering=yes
/interface vlan
add interface=ether1 name=vlan156-Bridge vlan-id=156
add interface=ether1 name=vlan190-Bridge vlan-id=190
/interface wireless security-profiles
set [ find default=yes ] supplicant-identity=MikroTik
add authentication-types=wpa2-psk eap-methods="" mode=dynamic-keys name=home supplicant-identity=""
add authentication-types=wpa2-psk eap-methods="" mode=dynamic-keys name=smarthome supplicant-identity=""
/interface wireless
set [ find default-name=wlan2 ] band=5ghz-onlyac channel-width=20/40/80mhz-eCee disabled=no frequency=auto mode=ap-bridge name=wlan5 security-profile=home ssid=MY_SSID vlan-id=156 vlan-mode=use-tag wireless-protocol=802.11
set [ find default-name=wlan1 ] band=2ghz-onlyn disabled=no installation=indoor mode=ap-bridge name=wlan24 security-profile=home ssid=MY_SSID vlan-id=156 vlan-mode=use-tag wireless-protocol=802.11
/interface vlan
add interface=wlan24 name=vlan156-2Ghz vlan-id=156
add interface=wlan5 name=vlan156-5Ghz vlan-id=156
/interface wireless
add disabled=no keepalive-frames=disabled mac-address=CE:2D:E0:AF:70:17 master-interface=wlan24 multicast-buffering=disabled name=wlan-Smart security-profile=smarthome ssid=SmartyPants vlan-id=190 vlan-mode=use-tag wds-cost-range=0 \
wds-default-cost=0 wps-mode=disabled
/interface vlan
add interface=wlan-Smart name=vlan190-Smarthome vlan-id=190
/interface bridge port
add bridge=lanBridge interface=ether2 pvid=156
add bridge=lanBridge ingress-filtering=yes interface=ether1 pvid=156
add bridge=lanBridge frame-types=admit-only-vlan-tagged interface=vlan156-Bridge pvid=156
add bridge=lanBridge interface=vlan156-5Ghz pvid=156
add bridge=lanBridge interface=vlan156-2Ghz pvid=156
add bridge=lanBridge frame-types=admit-only-vlan-tagged ingress-filtering=yes interface=vlan190-Bridge pvid=190
add bridge=lanBridge frame-types=admit-only-vlan-tagged ingress-filtering=yes interface=vlan190-Smarthome pvid=190
/interface bridge vlan
add bridge=lanBridge tagged=vlan156-Bridge untagged=ether2,vlan156-5Ghz,vlan156-2Ghz vlan-ids=156
add bridge=lanBridge tagged=vlan190-Bridge untagged=vlan190-Smarthome vlan-ids=190
/ip address
add address=192.168.156.3/24 interface=lanBridge network=192.168.156.0