Just received a new RB2011UiAS.
Current configuration is the default the RB2011 came with + wireless (using access list), port 2 = 192.168.0.1/24, 192.168.1/24, 192.168.2.0/24 (make it 192.168.0.1/22 ?). Although I tried, perhaps incorrectly, to get dhcp server on the RB2011 working for Wireless, the line which I created 'DHCP Server' is RED. Presumably being in RED means the configuration is wrong. Created a DHCP-Wireless-Pool in the 192.168.2.96/28 (192.168.2.97-110) network assigned to wlan1. Since writing this to the Mikrotik forum, I have changed the DHCP Server address/netmask to be in 192.168.2.96/28 and it is no longer in Red. However, any new device that goes onto the wireless network seems to get the default setup DHCP address of 192.168.88.x. I did not yet want to remove the defaults in case I mess this up.
DHCP Setup:
DHCP Server Interface: wlan1
DHCP Address Space: 192.168.2.96
Gateway for DHCP Network: 192.168.2.96
DHCP Relay: 192.168.2.96
Addresses to Give Out: 192.168.2.97-192.168.2.110 (INVALID Adress Pool ???)
In order to use my DHCP Server settings, what should I do so any new client does not get the default IP addresses etc.?
Have some questions on getting QoS and prioritization working. Used to PF in a FreeBSD environment.
Since this RB2011 is replacing a FreeBSD machine used as a router.
Redirection:
rdr pass on $ext_if proto tcp from any to any port 10069 -> 192.168.0.3 port 22
rdr pass on $ext_if proto tcp from any to any port 5909 -> 192.168.2.6 port 5909
ruleset for PF for prioritization on INBOUND packets was:
Code: Select all
altq on $ext_if priq bandwidth 50Mb queue { std_in, voip_in tcp_ack_in low_pri_in }
queue std_in priority 4 priq (default)
queue low_pri_in priority 1
queue voip_in priority 6
queue tcp_ack_in priority 7
Code: Select all
block out
block in
pass out on $ext_if inet proto tcp from ($ext_if) to any flags S/SA keep state queue (std_out, tcp_ack_out)
pass out on $ext_if inet proto udp from any to any port $vpn keep state tag Voip queue voip_out
pass out on $ext_if inet proto udp from any to any port $voip_ports keep state tag Voip queue voip_out
pass out on $ext_if inet proto {tcp udp} from ($ext_if) to any port $low_pri keep state queue low_pri_out
pass out on $ext_if proto tcp from any to any port $low_pri queue low_pri_out
pass in on $ext_if inet proto udp from any port $voip_ports to any keep state queue voip_in
Thanks in advance.