I’m trying to get my 532 to connect to my 112 wirelessly.
112 routerboard: ip is 192.168.200.1
connected to isp via pppoe (wlan1)
bridged wlan2 and eth1
have browsing from any device connecting wirelessly to wlan2 or eth1 with dhcp
532 routerboard: ip is 192.168.200.40
subnet mask - 255.255.255.0
Problem:
I cannot ping from 532 to 112 even though I am on the same network and they connect wirelessly. When I can ping then I cannot ping from pc to another pc side of the other router…
What are the basic settings to just get the two routers to connect on the same ip range??? Seems so simple an idea, but as soon as I put the wlan2 and ether into a bridge on the 532 I cannot ping the 112…!
What is the simple routing necessary on each router to get these two connected..?
oceanmaster -
My first question (which will be obvious to you when you become more familar with routing and newtworks) is why do you want to use bridging? Sounds like you have a simple network, I’d use routing. Bridging uses 10 - 30% of your available throughput to carry out ‘bridge’ functions… If you simply need to ‘contact’ the LAN side of your network use a VPN connection. All that being said…
You didn’t say anything about your routing or NAT so I am going to assume you didn’t set anything other than what you put above so…
RB112**
If you bridged the PPoE (ethernet) and Wlan2 together on the RB112 then you may or may not have the IP address you are looking for. Take the two interfaces out of the bridge. Leave the PPoE setup on your ethernet. Setup Wlan 2 as 192.168.200.1/24 Go to IP / Firewall /Nat and src-nat your Wlan to you ethernet address - src-nat 192.168.200.xx (this can also be the entire network 192.168.200.0/24) action=masq - you can look up the exact syntax in the RB Manual.
Go to IP / Route, set your default route 0.0.0.0/0 to point to your PPoE address on your ethernet port - there is an example of how to do this in the manual.
Go to IP / Route / Rule - set the first rule to src addr= 0.0.0.0/0 dst addr=0.0.0.0/0 action=lookup table main Again - look at the RB Manual - it will give you the correct syntax for this. You can also use winbox - there you’ll see it ‘graphically’ vice command line style. That might be a little easier.
RB532 **
Remove your IP address. Put the two interfaces in a bridge. Now give the bridge the IP address desired - above you said 192.168.200.40/24 Set your basic route - IP / Route 0.0.0.0/0 gw=192.168.200.1 Now set the route rule - Ip / Route / Rule src=0.0.0.0/0 dst=0.0.0.0/0 action=lookup table main
Now any computer connected to the ethernet interface of the RB532 will have to have a 192.168.200.xx/24 address - not one already used by the rest of the network… ( /24 = 255.255.255.0 netmask - the 24 means the first 24 bits are ‘set’, the last 8 are not…)
This should get you pointed in the right direction - have fun.
Thanks, I will take a look and let you know what happens. One small thing you misunderstood though.. my pppoe is on the wlan1 interface. (I connect wirelessly to my isp).
Hellow everyone.
I decided to set up a PC router under MikroTik v2.9 for acquaintance.
As usual have problems at the beginning:
Have just set up MT on a virtual machine(Vmware Workstation 6) and configured interfaces via ssh:
@MikroTik] > ip address print
Flags: X - disabled, I - invalid, D - dynamic
# ADDRESS NETWORK BROADCAST INTERFACE
0 192.168.0.1/24 192.168.0.0 192.168.0.255 ether2 <= this is Local
1 10.0.0.221/24 10.0.0.0 10.0.0.255 ether1 <= this is World(IP address given by ISP)
@MikroTik] > 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 10.0.0.0/24 10.0.0.221 ether1
1 ADC 192.168.0.0/24 192.168.0.1 ether2
2 A S 0.0.0.0/0 r 10.0.0.1 ether1 <= and this a Gateway given by ISP
MikroTik] >
Tell me please, is it enought for simple routing traffic from 10.0.0.221 to 192.168.0.0/24 network ?
Realy 10.0.0.0/24 is my network, but for experiment i decided to create one more subnetwork 192.168.0.0/24 which’ll use internet from 10.0.0.221
I can ping world from MT, but cannot from 192.168.0.0/24 (e.g. 192.168.0.2)