Got my first RouterOS (RB951UI-2hnd) setup. I followed couple of You Tube videos to setup the router.
However, I got the router to work with Internet access using physical LAN (192.168.0.X) via cable connection only.
Here's the setup.... (see the attache config file)
Internet
|
RB951--->Ether 1- WAN - Static IP (199.9.x.x)
--->Ether 2 - LAN - Uni-Fi AP (DHCP on Ether 2 from 192.168.0.100 - 0.254)
--->Ether 3 - Office Desktop and Laptop (using DHCP from Ether 2)
I am using UniFi AP for the wireless so the RB951's router's built-in wireless radio is turned off.
The problem is that the devices connected via UniFi AP are not getting same IP range as the wired devices.
The devices are somehow picking up 192.254.1.x and can't access the internet. I also, don't have any managed switch in my network.
I would like to know what configuration on the router is causing this issue.
Please see the following export of configuration...
# jan/01/1970 18:55:27 by RouterOS 6.7
# software id =
#
/interface bridge
add l2mtu=1598 name=bridge1
/interface ethernet
set [ find default-name=ether1 ] comment=WAN
set [ find default-name=ether2 ] comment=\
"LAN - All ports are switched off Ether2"
set [ find default-name=ether3 ] master-port=ether2
set [ find default-name=ether4 ] master-port=ether2
set [ find default-name=ether5 ] master-port=ether2
/interface wireless
set [ find default-name=wlan1 ] ht-rxchains=0 ht-txchains=0 l2mtu=2290 ssid=\
MikroTik
/ip neighbor discovery
set ether1 comment=WAN
set ether2 comment="LAN - All ports are switched off Ether2"
/interface wireless security-profiles
set [ find default=yes ] supplicant-identity=MikroTik
/ip hotspot user profile
set [ find default=yes ] idle-timeout=none keepalive-timeout=2m \
mac-cookie-timeout=3d
/ip ipsec proposal
set [ find default=yes ] enc-algorithms=3des
/ip pool
add name=dhcp_pool1 ranges=192.168.0.2-192.168.0.254
add name=dhcp_pool2 ranges=192.168.0.100-192.168.0.254
/ip dhcp-server
add address-pool=dhcp_pool2 disabled=no interface=ether2 name=dhcp1
/system logging action
set 0 memory-lines=100
set 1 disk-lines-per-file=100
/interface bridge port
add bridge=bridge1 interface=ether2
add bridge=bridge1 interface=wlan1
/ip address
add address=192.168.0.1/24 comment="LAN IP Subnet" interface=ether2 network=\
192.168.0.0
add address=199.9.60.xxx/24 interface=ether1 network=199.9.60.0
/ip dhcp-server network
add address=192.168.0.0/24 dns-server=192.168.0.1,4.2.2.2 gateway=192.168.0.1
/ip dns
set allow-remote-requests=yes servers=8.8.8.8
/ip firewall address-list
add address=192.168.0.0/24 list=OurLocalLAN
/ip firewall filter
add chain=input comment="Allow access to the router from the LAN using addres \
list - PROTECTING ROUTER" src-address-list=OurLocalLAN
add action=drop chain=forward comment="Drop invlaid cnnections" \
connection-state=invalid
add chain=forward comment="Allow Connections from LAN" connection-state=new \
in-interface=bridge1
add chain=forward comment="Allow Established Connection from LAN" \
connection-state=established
add chain=forward comment="Allow Related Connection" connection-state=related
add action=drop chain=forward comment=\
"Drop all other traffice throught the router"
add chain=input comment="Allow established connection to the router" \
connection-state=established
add chain=input comment="Allow related connection to the router" \
connection-state=related
add action=drop chain=input comment=\
"Drop All Other Traffice to Router - PROTECTING ROUTER"
/ip firewall nat
add action=masquerade chain=srcnat comment="PAT outside" dst-address=\
0.0.0.0/0 out-interface=ether1 src-address=192.168.0.0/24
/ip route
add comment="default route" distance=1 gateway=199.9.60.1
/ip service
set api disabled=yes
/system clock
set time-zone-name=America/Chicago
/system identity
set name=RB951ui
/system leds
set 0 interface=wlan1
/system ntp client
set enabled=yes mode=unicast primary-ntp=63.44.154.34 secondary-ntp=\
63.240.161.99