Join two networks but no dhcp on wan port wanted

Hi Everyone

I am new here and still new with mikrotiks so go easy on me please :slight_smile: So far these things are amazing.

Here is my question: I have two networks and for a good reason, so I cannot change either ranges. 192.168.1.0/24 and 192.168.0.0/24.
on ports 2 through 24 I have dhcp running 192.168.1.254/24, and a server 192.168.1.1 etc.
Gateway 192.168.1.254, and these pc’s 192.168.1.0/24 are able to access the server 192.168.1.1

On port 1 of my mikrotik is the WAN 10.0.241.1, but also the second network joined to that range and port 192.168.0.0/24 (its the ony cable between the two buildings)
2nd Network 192.168.0.0/24 with gateway 192.168.0.1 have a server 192.168.0.2
Everything works great with ports 1 to 24 bridged, both networks can access both servers…BUT here is my problem, network 192.168.0.0 also gives out dhcp (from a server 192.168.0.2), which is breaking my internet on ports 2 to 24.
My dhcp is running on my bridge and I would like to have NO dhcp on port 1, but when I remove port 1 from the bridge, the two networks internet work seperately fine, but they can no longer see each other :frowning:

I need both networks to be able to access each other, without having port 1 on the bridge…what do I need to do? Please help
PS on 192.168.1.0/24 I provide the pc’s with a manual proxy in IE 10.0.241.1:80 but even with the bridge any pc with 192.168.0.0/24 cannot seem to access the proxy because its gateway is the basic router 192.168.0.1

Thank you in advance for any assistance that resolves this problem.

This sounds like a really odd configuration.
I’d suggest to add either your WAN or your 192.168.0.0./24 network to a vlan to seperate those.
Add static routes to both routers pointing at each other for the specific subnets.

-Chris

There is only one Mikrotik router. I am basically joining the old net work 192.168.0.1 to the new network, 192.168.1.254. Both networks plug into the mikrotik on ether 1. I just want ether 1 not to have DHCP and also to be the gateway to the wan…
How do i get 192.168.1.254 and 192.168.0.1 talking without adding ether 1 to the dhcp bridge?

Anyone? Please :frowning:

As said - first, seperate WAN and the other network through vlans.
Now your MikroTik router is already connected to 192.168.0.0/24 and doesn’t need anything more.
On the other router, add a static route with dst-address=192168.1.0/24 gateway=your Mikrotik’s IP address in the 192.168.0.0/24 network.
That’s it.

Worst case (meaning the other router is a super-simple home-router not supporting any static routes), your only chance is to set static routes on each and every client in the 192.168.0.0/24 network.

-Chris

Ok I had another idea and got it working…well half way there. (Hi Chris, yes its a home adsl router so cannot add anything on it)
I changed my adsl routers ip address to 192.168.0.254 and added the address of the router to the mikrotik 192.168.0.1.
Now both networks can see each other…BUT the internet is not working :confused: :confused:
How do i now get all the pc’s going to gateway 192.168.0.1 use the internet on 192.168.0.254
and pc’s with gateway 192.168.1.254 use internet on 10.0.241.1?

Help would really be apreciated