Routing with no NAT

HI, I’ve been trying to route this network:

PC1 ↔ MT1 ↔ MT2 ↔ PC2 (and ADSL Modem)

I did my researches, read many posts in this forum, found something very much like what I needed (http://forum.mikrotik.com/t/routing-without-nat-between-two-mikrotik/9995/1), but I still can’t get it running!

Here are my configurations:

PC1: 192.168.10.254 GW: 192.168.10.1

MT1
ether1: 192.168.10.254
wlan1: 10.22.22.10
GW: 10.22.22.254 (added as static route destination 0.0.0.0/0 GW 10.22.22.254)


MT2
wlan1: 10.22.22.254
ether1: 192.168.123.254
Static routes:
dst 0.0.0.0/0 GW 192.168.123.1 (that’s the ADSL modem IP)
dst 192.168.10.0/24 GW 10.22.22.10

PC2: 192.168.123.3 GW 192.168.123.1
ADSL Modem: 192.168.123.1

Now, If I add masquerade on MT2 to ether1, everything works fine.
BUT I don’t want to masquerade!
I just want to route, because masquerading causes bandwidth to reduce pretty much.

What am I missing?
I don’t think it’s a route, I should enable IP forwarding, but I don’t know how… will that make it work?


Thanks to you all! And Merry Christmas!

MT1 and PC1 has the same ip !?

PC1: > 192.168.10.254 > GW: 192.168.10.1

MT1
ether1: > 192.168.10.254

But anyway you should use masquarade on MT2, becouse adsl router can deal only with 192.168.123.0/24 subnet.

what does it mean: PC2 (and ADSL Modem) ?
is it a built in (PCI card) adsl modem? or a simple outer adsl modem connected with ethernet cable?

Why use pc2 and adsl modem a same subnet? How do you connected pc2, mt2 and adsl modem? with a switch? or if you use built in adsl modem, do you bridge it? why have adsl modem a fix (inner) ip address? who dial the adsl? why not mt2?

I think if you want to use internet with adsl with 2 pcs, you must use masquerade. But do use mt2 as pppoe dialer, and use masquerade just to the internet, and not use masquerade between in the inner net.

gyoztes

My mistake. MT1 ether1 has IP address 192.168.10.1 (it’s in the same net as PC1, but different address)

Yes, there’s a hub where I connect PC2, MT2 and ADSL modem, they share the same net. As a matter of fact, there are 3 ADSL modems connected to the hub, besides PC2 and MT2. ADSL modems register automatically to the ISP, there’s no need to dial. I don’t want MT2 to dial, I want to use ADSL modems. But if it’s possible, I want just the modems to masquerade, I want my whole network to be routed, not NATted.

Thank you all for your answers! Be my guests to post again!

I found it!
It’s so obvious, that I’m a bit embarrased… :blush:

First, if I want PC2 to see the inner net, then its gateway has to be MT2, not ADSL modem… obvious, no?

Second, if I don’t want to use NAT (masquerade) to get through the ADSL modem, then I have to add static routes to the modem… obvious again!

Well, being a newbee can be embarrasing. But I’m learning!!! :smiley:

good, that you have found solution.

better newbie that learns something and have interest to develop himself, than as some other dreamers, that think being net admin is just plug wires and everything automagicaly-configures etc, etc.

Thanks for your support! :smiley: