Community discussions

MikroTik App
 
sebus46
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 66
Joined: Sat Jun 17, 2023 4:59 pm

[Solved] DSL modem access

Sat Jun 17, 2023 7:14 pm

That used to work perfectly on 6.48.7

Now on RB4011 with 7.10 it simply does not. All config was re-created from scratch, using an existing export as help

Both unis config for this part are identical

I have main LAN on ether2 (192.168.88.0/24)
ether1 is direct connection to DSL modem (bridge mode, has accessible own LAN port on 192.168.2.10)
ether1 IP 192.168.2.1

I have ip routing in place: dst add 192.168.2.10/32 gw ether1
From Mikrotik I can ping 192.168.2.10
But from the attached client (192.168.88.98) I cannot

As I said, used to work fine, just not on RouterOS 7.xx

Any ideas what changed & what I have missing?

sebus
Last edited by sebus46 on Tue Jun 20, 2023 10:45 am, edited 1 time in total.
 
User avatar
mkx
Forum Guru
Forum Guru
Posts: 12999
Joined: Thu Mar 03, 2016 10:23 pm

Re: DSL modem access

Sun Jun 18, 2023 12:40 pm

You don't need explicit route, setting ether1 address with appropriate subnet mask is enough. However, you very likely need a SRC-NAT rule (of some kind) to make traffic towards DSL modem coming from MT LAN to appear as if it's coming from MT. Because DSL modem most probably knows nothing about 192.168.88.0/24 and need for using MT as gateway (so return traffic is lost). How exactly this would look like depends on how exactly is WAN side configured on MT. Adding ether1 to WAN interface list might be enough. Adding separate SRC-NAT rule with appropriate "selector" properties (e.g. out-interface=ether1) and "action" (e.g. action=masquerade) is another possibility.

Another possibility would be to add appropriate route on DSL modem ... which might proove as impossible for various reasons (DSL modrm doesn't allow adding custom routes; MT IP address is dynamic and changes from time to time; DSL modem config can't be changed by home owner, etc.).
 
sebus46
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 66
Joined: Sat Jun 17, 2023 4:59 pm

Re: DSL modem access

Tue Jun 20, 2023 10:04 am

User fault. I had wrong nat rule. This was used as guide: https://blog.dical.org/how-to-reach-ppp ... -mikrotik/
 
User avatar
mkx
Forum Guru
Forum Guru
Posts: 12999
Joined: Thu Mar 03, 2016 10:23 pm

Re: [Solved] DSL modem access

Tue Jun 20, 2023 3:16 pm

My oh my.

Who is online

Users browsing this forum: AmericanoDan, BlanketyBlank and 50 guests