Access my modem on different subnet

Hello,

i have a MODEM (pppoe passthrough) from my ISP that have the IP 192.168.0.1 this is connected ↔ ether1 my Mikrotik(pppoe client) Network have 192.168.1.0/24 and have internet all my devices. Everythink is ok i have internet etc.

How i can open my browser and access the router on different subnet to make some settings. I need the Modem because it have VOIP.
Before few time i search and find a solution with routes, static address and/or nat/firewalls.

But today i want access to the Modem via 192.168.0.1 i dont have access and i cant ping it.

Someone any help?

Thanks in advance

  1. Add IP address 192.168.0.x/24 to ether1
    This is needed so that router gets L3 (IP) connectivity to modem’s subnet. And make sure x is not equal 1.
  2. Add NAT rule
add action=masquerade chain=srcnat comment="towards modem" out-interface=ether1

By default, modem doesn’t know anything about your router and subnets behind it. If you tried to connect to modem from your LAN and there wasn’t this (or similar) NAT rule, modem would see LAN IP and wouldn’t know how to route the reply. With this NAT rule modem will see connections as if originating from router which is inside same (modem’s) subnet and thus no special config is needed on modem.

Could be that the NAT rule is not needed, that depends on the rest of your current configuration (/ip firewall nat and /interface list setings). So you should actually implement bullet #1 above and test if you can connect to modem already. If not, implement bullet #2

Hello thanks for your help.

I tried both and still not open my webinterface of the modem.

Under adresses i have 192.168.0.0/24, network 192.168.0.0 interface ether1
Not working
With Nat option not working too.

IP address can not be the same as network address (in your case 192.168.0.0) and can’t be the same as broadcast address (in your case 192.168.0.255). So set address on ether1 to 192.168.0.X/24 where X is not 0 or 1 or 255.

I tried with 192.168.0.2/24 and still no connect :frowning:

If you try to ping modem from router itself, does it work?

/ping 192.168.0.1

I can ping only when i set address on ether1 192.168.0.1/24 but cant access the modem interface, if i have 192.168.0.2/24 become timeout.

Edit: i found the problem
On interfaces ether1 arp was disabled i enabled and now i can see my modem gui.

With the following settings it works
Address: 192.168.0.2/24 and NAT rule…without the rule dont work.

One last question why i cant ping the modem from my laptop? From mikrotik pings!

I’ve no idea about that.

Hi Crewdy, can you help with the NAT rule, i have the same issue, cant access my other router outside different ip address… my ip pool was 192.168.2.x , and my router ip 192.168.0.1,i only access it when making my pc static ip (ex 192.168.0.2), what should i put in on NAT rule?
GENERAL TAB >>>>>>>chain, interface,src address
ACTION TAB >>>>>>>>action

im just a newbie hope someone help

/ip firewall mangle
add action=accept chain=prerouting comment="allow usage of default routing tab\
    le for traffic to ISP1 connected networks" dst-address=192.168.178.0/24 \
    in-interface=bridge
add action=accept chain=prerouting comment="allow usage of default routing tab\
    le for traffic to ISP2 connected networks" dst-address=192.168.0.0/24 \
    in-interface=bridge