Community discussions

MikroTik App
 
ivangerasimov39
just joined
Topic Author
Posts: 4
Joined: Fri Oct 20, 2017 12:53 pm

Network Printer on the two Subnets

Mon Oct 29, 2018 3:12 pm

Hi,
i have few subnets: 192.168.14.0/24 - LAN, 192.168.3.0/24 - WiFI (ubnt) and ...
Mikrotik CCR-1016-12G
Printer ip - 192.168.14.202
if i want setup printer on the client within 192.168.3.0/24, i have to specify ip address printer manually.
and if i want setup printer on the client within 192.168.14.0/24, it will find automatically
How configure mikrotik, so that printer is automatically within 192.168.3.0/24?
May be to use multicast?
 
User avatar
jurek
just joined
Posts: 7
Joined: Wed Oct 18, 2017 3:56 pm

Re: Network Printer on the two Subnets

Tue Oct 30, 2018 7:45 pm

1. create firewall forward rule which allows communication from 192.168.3.0/24 to host 192.168.14.202
2. do not forget to setup proper gateway on printer
3. add printer on customers' OS using printer's IP address (instead of searching for printer)

4. For security you can limit firewall rule to port used by printer (mostly TCP/9100) and icmp (for testing)
 
Kindis
Member
Member
Posts: 434
Joined: Tue Nov 01, 2011 6:54 pm
Location: Sweden

Re: Network Printer on the two Subnets

Thu Nov 01, 2018 3:25 pm

I had a similar issue as you. I have my printer, and other devices I do not trust, on a separate subnet at home.

Now the client my wife gets from her local IT at work have just started a automatic VPN tunnel that uses forced tunneling. This means she cannot use our printer at all as 0.0.0.0/0 point to the VPN endpoint and she cannot go outside the subnet the computer is on.

I solved this by adding a new IP for the router in the subnet I use. Let's say gateway is 192.168.0.1 I then added 192.168.0.2 for the router as well. Then I added a NAT (dst nat) rule that moves all traffic from 192.168.0.2 to the printer.
This solved the problem for me and as added bonus the computer can locate the printer just by scanning. Works like a charm.

Who is online

Users browsing this forum: lif2k3, lurker888, qatar2022, sas2k, svmk and 111 guests