Page 1 of 1

Help routing problem

Posted: Wed May 01, 2013 5:46 pm
by richard_s
I have been trying to setup a RB433 (V5.11) with 192.168.1.17 (Gateway to internet 192.168.1.1) on Wlan1 and 192.168.2.1 on Bridge1. No matter what I have tried I cannot get a connection from 1 networkto the other.
What have I done wrong or what is missing?

ip> address print
Flags: X - disabled, I - invalid, D - dynamic
# ADDRESS NETWORK INTERFACE
0 192.168.1.17/24 192.168.1.0 wlan1
1 192.168.2.1/24 192.168.2.0 bridge1

/ip> route print
Flags: X - disabled, A - active, D - dynamic,
C - connect, S - static, r - rip, b - bgp, o - ospf, m - mme,
B - blackhole, U - unreachable, P - prohibit
# DST-ADDRESS PREF-SRC GATEWAY DISTANCE
0 A S 0.0.0.0/0 wlan1 1
1 ADC 192.168.1.0/24 192.168.1.17 wlan1 0
2 ADC 192.168.2.0/24 192.168.2.1 bridge1 0

ip firewall> nat print
Flags: X - disabled, I - invalid, D - dynamic
0 chain=srcnat action=masquerade out-interface=wlan1



Thanks

Richard

Re: Help routing problem

Posted: Wed May 01, 2013 10:53 pm
by columf
bit of a noob myself so this may not work try adding /ip route add gateway=192.168.1.1

Re: Help routing problem

Posted: Wed May 01, 2013 11:42 pm
by nickshore
Your default route has the wlan interface on it, this only works for ppp type connections.

You need to specify the next hop IP address instead.

Nick.

Re: Help routing problem

Posted: Thu May 02, 2013 11:18 am
by richard_s
Pardon my ignorance but how do I set the next hop?

Thanks

Richard

Re: Help routing problem

Posted: Thu May 02, 2013 11:34 am
by SurferTim
No matter what I have tried I cannot get a connection from 1 networkto the other.
What have I done wrong or what is missing?
If you mean you can't access devices on the bridge from devices on wlan1, that is correct. Unless you route that from the wlan1 gateway router, you can't.

If you mean you can't access wlan1 devices from the bridge, then you have a problem. That would probably be solved by columf's suggestion.

Re: Help routing problem

Posted: Thu May 02, 2013 12:02 pm
by richard_s
I have tried columf's suggestion. config is:-

/ip address> print
Flags: X - disabled, I - invalid, D - dynamic
# ADDRESS NETWORK INTERFACE
0 192.168.1.17/24 192.168.1.0 wlan1
1 192.168.2.1/24 192.168.2.0 bridge1

/ip route> print
Flags: X - disabled, A - active, D - dynamic,
C - connect, S - static, r - rip, b - bgp, o - ospf, m - mme,
B - blackhole, U - unreachable, P - prohibit
# DST-ADDRESS PREF-SRC GATEWAY DISTANCE
0 A S 0.0.0.0/0 192.168.1.1 1
1 S 0.0.0.0/0 wlan1 1
2 ADC 192.168.1.0/24 192.168.1.17 wlan1 0
3 ADC 192.168.2.0/24 192.168.2.1 bridge1 0


ip firewall nat> print
Flags: X - disabled, I - invalid, D - dynamic
0 chain=srcnat action=masquerade out-interface=wlan1

I cannot ping Wlan1 from Bridge 1

Any thoughts?

Richard

Re: Help routing problem

Posted: Thu May 02, 2013 12:06 pm
by SurferTim
Can you ping 192.168.1.1 from the bridge?
Can you ping from a wlan1 device to another wlan1 device?