Page 1 of 1

1 router for 3 networks

Posted: Sat Sep 07, 2019 3:18 pm
by Ratchadewi

Code: Select all

Hi,

I'd greatly appreciate all the help about my problem to setup network in a net café.
I have a Mikrotik routerboard RB850Gx2, with the following setup :
Eth01 : WAN
Eth02 : switch (S) 24 ports for LAN network of my pc
I have created 3 ip addresses,
Eth02 : 192.168.0.5/24 for pc in room A, with DHCP
Eth02 : 192.168.10.1/24 for pc in room B, statics ips at the moment

My questions :
* can i have 2 dhcp server link to 1 interface Eth02?
* i have a network printer with static ip : 192.168.0.100, how do I allow all pc in room B, with ips 192.168.10.x access the printer?

Recently I've added 1 wireless router TP-LINK, connected to the switch (S), to allow clients accessing wifi. It has a static IP 192.168.0.150. Any wifi successful connections have Ip addresses 192.168.0.x But I don't want them to be in the same network as the pc. Thus, in Mikrotik I've created another IP address 192.168.20.1/24 and the dhcp server. But when I tried changing the ip of the router from 192.168.0.150 to 192.168.20.150, no device can connect to the wifi.
What should I do? I've setup the wireless router manually on the router device, is it possible to have it connected and manageable by my mikrotik routerboard also?


Many many many thanks in advance for all your help and support!
Regards,


Re: 1 router for 3 networks

Posted: Mon Sep 09, 2019 5:40 pm
by Anumrak
Hey. Without VLANs, one interface - one ip network - one dhcp server. You can bind several ethernet interfaces to one network, but not vice versa(only if your switch support 802.1Q protocol and you know how to configure the switch and the main mikrotik router).

Your Wi-Fi repeater or router connected to the switch can be managable only via next ethernet interface of main router. You can exclude static IP address for your wireless router from pool of your dhcp server and other client can receive IP addresses from dhcp server by switching.