Page 1 of 1

IP redirection but translated?

Posted: Mon Aug 27, 2012 11:48 am
by crazyrobban
Hi everyone,

I have a Mikrotik 750 GL that i need to act as a translator.

I have two networks, and one printer.
I want to put the Mikrotik in between, and all connections to the mikrotiks IP from one network should send the connection to the printer.

I looked for IP forwarding and IP redirect, but I'm not sure that's what I need.

Thanks!

Re: IP redirection but translated?

Posted: Mon Aug 27, 2012 2:46 pm
by leoservices
The two networks connected in their RB already routes are transparent because they are connected. If the network is not directly connected you create a route to this network you want to achieve.
I'm not good at English but I hope to help.

Re: IP redirection but translated?

Posted: Mon Aug 27, 2012 3:03 pm
by djdrastic
If I may ask why do you want to redirect all ports to the printer ? If you want only want to redirect specific print ports like the jetdirect port etc , redirects will be able to help you.Make sure the printer has a route/default gateway back to the source unless you want to play with Source Natting.

Re: IP redirection but translated?

Posted: Wed Aug 29, 2012 11:53 am
by crazyrobban
Ok, I've done some thinking, and I want the device to do a simple port forwarding.
Could someone please post a simple guide on how to do this?

I have two networks.

10.202.100.0 and 192.168.1.0.
I will connect the routerboard to each network through ethernet ports.
(Routerboard IP is 10.202.100.90 and 192.168.1.100)

I want clients on the 192.168.1.0 net to use the routerboards ip (192.168.1.100) for printer usage.
And the routerboard should redirect connections from 192.168.1.0 to 10.202.100.10 (printer).

This device is making me feel stupid. :)

Re: IP redirection but translated?

Posted: Thu Aug 30, 2012 1:56 pm
by poli5681
You could do this with NAT of course, but i wouldn´t recommend doing so.

I´d let the router do the job by simply adding an IP to both interfaces (like you already did).
Then add a static route to 10.202.100.0 for your clients somewhere (at the clients or at your default gw) and
do the same for the printer to 192.168.1.0.
Now you should be able to reach the printer from the clients via its real address 10.202.100.10;
No NAT is needed here.

Regards