I set up an AP and Client in the shop and got it to pass traffic without any bridges! I notice that when the link comes up the pings start right away while in the old bridged system would take 15 seconds or more.
before I get the three router boards to work as AP–repeater–cpe I need to resolve a couple of things.
-
When I start to pass traffic across the wireless link the link drops out. It will stay up for more than 10 minutes without traffic but when I call up a web page it drops out. Is this from my routing setup or that fact that the radios are about 6 feet apart (sr9’s on routerboard 112’s) in the shop and are getting interference? ( power turned down to 17dbm)
-
When the pc is plugged into the cpe I can access the cpe with winbox but can not access the AP through the wireless link. How do I get the winbox loader to see all the routerboards? I will need this when the repeater is at my house and I want access to the ap and cpe’s.
As forum member wrote to me: “If you have an understanding of routing and wireless you should be at least dangerous enough to get it working.” OK, I got it to work…LOL
Here are the setups, and I thank you in advance:
[admin@AP1]
ADDRESS NETWORK BROADCAST INTERFACE
0 X 192.168.1.202/24 192.168.1.0 192.168.1.255 ether1
1 192.168.20.1/24 192.168.20.0 192.168.20.255 wlan1
2 D 192.168.2.102/24 192.168.2.0 192.168.2.255 ether1
ether1 gets ip from dhcp server on 192.168.2.2
[admin@AP1] > ip route print
Flags: B - blackhole, U - unreachable, P - prohibit, X - disabled, A - active,
D - dynamic, C - connect, S - static, r - rip, b - bgp, o - ospf
DST-ADDRESS PREF-SRC G GATEWAY DISTANCE INTERFACE
0 AD 0.0.0.0/0 r 192.168.2.2 0 ether1
1 ADC 192.168.2.0/24 192.168.2.102 0 ether1
2 ADC 192.168.20.0/24 192.168.20.1 0 wlan1
[admin@AP1] > ip firewall export
jan/01/2000 02:25:59 by RouterOS 2.9.35
/ ip firewall mangle
add chain=prerouting in-interface=wlan1 action=change-ttl new-ttl=set:65
comment=“” disabled=yes
add chain=forward protocol=tcp tcp-flags=syn action=change-mss new-mss=1400
comment=“” disabled=yes
/ ip firewall nat
add chain=srcnat out-interface=ether1 action=masquerade comment=“” disabled=no
add chain=srcnat out-interface=ether1 protocol=udp action=masquerade
comment=“” disabled=yes
/ ip firewall connection tracking
set enabled=yes tcp-syn-sent-timeout=5s tcp-syn-received-timeout=5s
tcp-established-timeout=1d tcp-fin-wait-timeout=10s
tcp-close-wait-timeout=10s tcp-last-ack-timeout=10s
tcp-time-wait-timeout=10s tcp-close-timeout=10s udp-timeout=10s
udp-stream-timeout=3m icmp-timeout=10s generic-timeout=10m
tcp-syncookie=no
/ ip firewall service-port
set ftp ports=21 disabled=no
set tftp ports=69 disabled=no
set irc ports=6667 disabled=no
set h323 disabled=yes
set quake3 disabled=no
set gre disabled=yes
set pptp disabled=yes
[admin@AP1] > interface
[admin@AP1] interface> wireless print
Flags: X - disabled, R - running
0 R name=“wlan1” mtu=1500 mac-address=00:15:6D:93:4B:3A arp=enabled
disable-running-check=no interface-type=Atheros AR5213
radio-name=“00156D934B3A” mode=ap-bridge ssid=“MikroTik” area=“”
frequency-mode=manual-txpower country=no_country_set antenna-gain=0
frequency=2427 band=2.4ghz-b/g scan-list=default rate-set=configured
supported-rates-b=1Mbps,2Mbps,5.5Mbps,11Mbps
supported-rates-a/g=6Mbps,9Mbps,12Mbps,18Mbps basic-rates-b=1Mbps
basic-rates-a/g=6Mbps max-station-count=2007 ack-timeout=dynamic
tx-power=13 tx-power-mode=card-rates noise-floor-threshold=default
periodic-calibration=default periodic-calibration-interval=60
burst-time=disabled dfs-mode=none antenna-mode=ant-a wds-mode=disabled
wds-default-bridge=none wds-default-cost=100 wds-cost-range=50-150
wds-ignore-ssid=no update-stats-interval=disabled
default-authentication=no default-forwarding=no default-ap-tx-limit=0
default-client-tx-limit=0 proprietary-extensions=post-2.9.25
hide-ssid=no security-profile=default disconnect-timeout=15s
on-fail-retry-time=100ms preamble-mode=both compression=no
allow-sharedkey=no
[admin@AP1] interface>
[admin@CPE1] > ip address print
Flags: X - disabled, I - invalid, D - dynamic
ADDRESS NETWORK BROADCAST INTERFACE
0 192.168.20.3/24 192.168.20.0 192.168.20.255 wlan1
1 192.168.30.1/24 192.168.30.0 192.168.30.255 ether1
[admin@CPE1] > ip route print
Flags: X - disabled, A - active, D - dynamic,
C - connect, S - static, r - rip, b - bgp, o - ospf
DST-ADDRESS PREF-SRC G GATEWAY DISTANCE INTERFACE
0 ADC 192.168.20.0/24 192.168.20.3 wlan1
1 ADC 192.168.30.0/24 192.168.30.1 ether1
2 A S 0.0.0.0/0 r 192.168.20.1 wlan1
[admin@CPE1] >
[admin@CPE1] >
[admin@CPE1] > interface print
Flags: X - disabled, D - dynamic, R - running
NAME TYPE RX-RATE TX-RATE MTU
0 R ether1 ether 0 0 1500
1 R wlan1 wlan 0 0 1500
[admin@CPE1] >
[admin@CPE1] interface> wireless print
Flags: X - disabled, R - running
0 R name=“wlan1” mtu=1500 mac-address=00:15:6D:93:04:79 arp=enabled
disable-running-check=no interface-type=Atheros AR5213
radio-name=“00156D930479” mode=station ssid=“MikroTik” area=“”
frequency-mode=manual-txpower country=no_country_set antenna-gain=0
frequency=2427 band=2.4ghz-b/g scan-list=default rate-set=configured
supported-rates-b=1Mbps,2Mbps,5.5Mbps,11Mbps
supported-rates-a/g=6Mbps,9Mbps,12Mbps basic-rates-b=1Mbps
basic-rates-a/g=6Mbps max-station-count=2007 ack-timeout=dynamic
tx-power=13 tx-power-mode=card-rates noise-floor-threshold=default
periodic-calibration=default periodic-calibration-interval=60
burst-time=disabled dfs-mode=none antenna-mode=ant-a wds-mode=disabled
wds-default-bridge=none wds-default-cost=100 wds-cost-range=50-150
wds-ignore-ssid=no update-stats-interval=disabled
default-authentication=no default-forwarding=yes default-ap-tx-limit=0
default-client-tx-limit=0 proprietary-extensions=post-2.9.25
hide-ssid=no security-profile=default disconnect-timeout=15s
on-fail-retry-time=100ms preamble-mode=both compression=no
allow-sharedkey=no
/ ip firewall nat
add chain=srcnat out-interface=wlan1 action=masquerade comment=“” disabled=no
/ ip firewall connection tracking
set enabled=yes tcp-syn-sent-timeout=5s tcp-syn-received-timeout=5s
tcp-established-timeout=1d tcp-fin-wait-timeout=10s
tcp-close-wait-timeout=10s tcp-last-ack-timeout=10s
tcp-time-wait-timeout=10s tcp-close-timeout=10s udp-timeout=10s
udp-stream-timeout=3m icmp-timeout=10s generic-timeout=10m
tcp-syncookie=no
/ ip firewall filter
add chain=input protocol=tcp connection-state=established action=accept
comment=“” disabled=no
add chain=input protocol=tcp connection-state=related action=accept comment=“”
disabled=no
add chain=input protocol=udp action=accept comment=“” disabled=no
add chain=input protocol=icmp action=accept comment=“” disabled=no
add chain=input src-address=192.168.20.0/24 action=accept comment=“”
disabled=no
add chain=input src-address=192.168.30.0/24 action=accept comment=“”
disabled=no
add chain=input action=drop comment=“” disabled=no
/ ip firewall service-port
set ftp ports=21 disabled=no
set tftp ports=69 disabled=no
set irc ports=6667 disabled=no
set h323 disabled=yes
set quake3 disabled=no
set gre disabled=yes
set pptp disabled=yes