Community discussions

MikroTik App
 
firewallrule
Member Candidate
Member Candidate
Topic Author
Posts: 118
Joined: Tue Oct 13, 2009 9:23 pm

Printer Routing

Fri Aug 05, 2011 10:04 pm

Can some help me figure out the best way to make this work?

From the diagram below, i want Host A and Host B to be printing through Window xp that share the internet connection before the Mikrotik.

Detail explanation will be highly welcome.

Am not good in routing traffic.
You do not have the required permissions to view the files attached to this post.
 
dog
Member Candidate
Member Candidate
Posts: 186
Joined: Wed Aug 12, 2009 3:37 pm
Location: Germany

Re: Printer Routing

Sat Aug 06, 2011 6:51 pm

Where is your problem?

Add the IPs on the MT:
/ip addr add=192.168.0.2/24 int=ether1
/ip addr add=192.168.2.1/24 int=ether2
Add the internet route:
/ip route add dst=0.0.0.0/0 gateway=192.168.0.1
Set the MT as default gateway on Host A and Host B.

Then on the xp box you either need to set a reverse route or use NAT on the MT:
/ip firew nat add chain=srcnat out-interf=ether1 action=masq
 
firewallrule
Member Candidate
Member Candidate
Topic Author
Posts: 118
Joined: Tue Oct 13, 2009 9:23 pm

Re: Printer Routing

Sat Aug 06, 2011 9:15 pm

what i want is for host A and B to be able to print document through the printer machine installed to the window xp.

They can surf the internet effectively without issue.
 
firewallrule
Member Candidate
Member Candidate
Topic Author
Posts: 118
Joined: Tue Oct 13, 2009 9:23 pm

Re: Printer Routing

Mon Aug 08, 2011 1:37 pm

Can someone respond to my request please.
 
User avatar
Davis
Member Candidate
Member Candidate
Posts: 117
Joined: Mon Aug 01, 2011 12:27 pm
Location: Latvia, Riga
Contact:

Re: Printer Routing

Mon Aug 08, 2011 1:51 pm

what i want is for host A and B to be able to print document through the printer machine installed to the window xp.

They can surf the internet effectively without issue.
Probably you need to connect to printer machine by IP address not by computername.
Can you open \\192.168.0.1\ on Host A or Host B?
 
firewallrule
Member Candidate
Member Candidate
Topic Author
Posts: 118
Joined: Tue Oct 13, 2009 9:23 pm

Re: Printer Routing

Mon Aug 08, 2011 9:56 pm

no

Host A and B are not connected directly to window xp.
 
User avatar
Davis
Member Candidate
Member Candidate
Posts: 117
Joined: Mon Aug 01, 2011 12:27 pm
Location: Latvia, Riga
Contact:

Re: Printer Routing

Tue Aug 09, 2011 2:09 am

Do you have firewall on your Mikrotik that blocks access to File and Printer Sharing on printer computer?
If not, you should be able to access shares on that machine via the router.
 
firewallrule
Member Candidate
Member Candidate
Topic Author
Posts: 118
Joined: Tue Oct 13, 2009 9:23 pm

Re: Printer Routing

Tue Aug 09, 2011 6:44 pm

Yes.

But how can it be allowed
 
fewi
Forum Guru
Forum Guru
Posts: 7717
Joined: Tue Aug 11, 2009 3:19 am

Re: Printer Routing

Tue Aug 09, 2011 6:49 pm

Don't drop it? By default the firewall permits all packets. So if the packets are getting dropped, they're getting dropped because you told the firewall to do so.

If you need specific help with your specific firewall configuration - that's going to be impossible unless you share your firewall configuration.

Who is online

Users browsing this forum: kormenator and 168 guests