connecting 2 network problem

Hi, I’m new to mikrotik, and I can’t get some things, it is probably something simple that I missed…

The things is actually very simple, I want to have 2 subnets, like
192.168.0 /24
192.168.1 /24

In mikrotik that is assigned to interfaces like this:
ether1: 192.168.0.69 /24
wlan1: 192.168.1.69 /24

Now, mikrotik manual says that I can’t assign adresses from the same subnet to 2 devices, unless with proxy-arp. As the network would be expanding in the time, I think with proxy-arp things would be become too complicated so I’ll stick with this setup.
Also, the manual says that IP routes between devices in the Mikrotik are made dynamically, and so it was:
0 ADC 192.168.0.0/24 192.168.0.69 ether1
1 ADC 192.168.1.0/24 192.168.1.69 wlan1

But it wasn’t actually working, so I made a simple bridge:
0 R name=“bridge1” mtu=1500 arp=enabled mac-address=00:50:BF:79:36:8A
protocol-mode=none priority=0x8000 auto-mac=yes
admin-mac=00:00:00:00:67:65 max-message-age=20s forward-delay=15s
transmit-hold-count=6 ageing-time=5m

and added those 2 interfaces to port:
0 ether1 bridge1 0x80 10
1 wlan1 bridge1 0x80 10

now ip route says:
0 ADC 192.168.0.0/24 192.168.0.69 bridge1
1 ADC 192.168.1.0/24 192.168.1.69 bridge1

We have WinXP machines as the clients, and IP’s are set as:
192.168.0.10 /24
192.168.0.11 /24
gateway: 192.168.0.69
Wlan client is so far only mine:
192.168.1.10 /24
gateway: 192.168.1.69

Now, I can ping all machines and vice versa, but we would like the games and some chat program to work (broadcasting problem?), and file sharing in windows network..
I’ve read some stuff several times, but I guess I’m missing some point. Also I don’t understand, I set once my gateway to my machine 192.168.1.10 and still worked pinging the machines from other subnet, so also don’t see the logic how the gateway address must be set?


welcome friend....

yes, if you want the machine as bridge, you must put subnets on bridge and add route by command:

/ip rou add gateway=x.x.x.x

and set default dns by command:

/ip dns set primary-dns=a.a.a.a

and

/ip dns set secondary-dns=b.b.b.b

and don't forget visit this topic: Bridging networks with mikrotik

regards
Hasbullah.com

I forgot to write..
Machine has wlan1 card serving as AP-bridge, where wireless stations will connect. They will all have unique IP.
Ether1 card is for connectioning with rest of the wired network, all also with unique IP addresses.

I already tryed to add route as in your example, but that is default gateway for every possible IP, and with those routes I have, at least these two subnets don’t work as expected, and that’s all I want :wink:
This bridge stuff is confusing me, actually the thing that everything is on 1 machine, but you still have to look at it like it is several devices hehe..

Also, I don’t know why DNS addresses must be set for such network, I don’t have special DNS server, or does Mikrotik automatically has DNS server started, in that case I’ll put his own address :slight_smile: