Access modem behind Mikrotik

CuriouS

Well-Known Member
Joined
May 8, 2006
Messages
223
Reaction score
7
Hello everyone

I have been searching the internet and trying things over the last week, but I am at a loss for what to do now.

I have a mikrotik router and a trendnet adsl router. The trendnet(10.0.0.1) is in bridged mode and connected to ether1-gateway on the mikrotik.

I have the ether1-gateway setup as 10.0.0.0/24 and the "LAN" as 192.168.88.xx.

I have set up a masquerade for the 10.0.0.1 address. I can ping the Trendnet on my pc as well as my mikrotik, but can't seem to access the web interface.

Can anyone possibly help with my issue? I'm not exactly a guru on this Mikrotik (It's quite a different beast). Any help would be greatly appreciated.
 
Hmmm... To be honest, I didn't think that would work :x It seemed that everyone always had them on different ranges.
 
Hmmm... To be honest, I didn't think that would work :x It seemed that everyone always had them on different ranges.

Turn off DHCP on one and plug internet into port 1


You could set yourself a static IP on other range and you will be able to access it still.
 
Turn off DHCP on one and plug internet into port 1

That's how it's set up at the moment. Going to try the IP thing now

edit: seems like having them on the same range doesn't work either.
 
Last edited:
setup address for ether going to modem. 10.0.0.2/24 maybe? should create a dynamic route that will allow you to reach your modem.

I just tested and worked perfectly.
 
setup address for ether going to modem. 10.0.0.2/24 maybe? should create a dynamic route that will allow you to reach your modem.

I just tested and worked perfectly.

Still not working. I can't even ping it when I set it to 10.0.0.2/24, on 10.0.0.0/24 it does ping though. Is there any dump I can make that would help?

[admin@MikroTik] > /ip route print
Flags: X - disabled, A - active, D - dynamic,
C - connect, S - static, r - rip, b - bgp, o - ospf, m - mme,
B - blackhole, U - unreachable, P - prohibit
# DST-ADDRESS PREF-SRC GATEWAY DISTANCE
0 ADS 0.0.0.0/0 xxxxxxxxxxx 1
1 ADC 10.0.0.0/24 10.0.0.0 ether1-gateway 0
2 ADC 192.168.88.0/24 192.168.88.1 bridge-local 0
3 ADC xxxxxxxxxx xxxxxxxxxxxx pppoe-out1 0
[admin@MikroTik] > /ip firewall nat print
Flags: X - disabled, I - invalid, D - dynamic
0 ;;; default configuration
chain=srcnat action=masquerade dst-address-list=10.0.0.0/24
out-interface=ether1-gateway log=no log-prefix=""

1 chain=srcnat action=masquerade out-interface=pppoe-out1 log=no
log-prefix=""

2 D chain=dstnat action=dst-nat to-addresses=192.168.88.249 to-ports=60776
protocol=udp dst-address=xxxxxxxxxxxxx dst-port=60776 log=no
log-prefix=""

3 D chain=dstnat action=dst-nat to-addresses=192.168.88.222 to-ports=9308
protocol=udp dst-address=xxxxxxxxxxxxxx dst-port=9308 log=no
log-prefix="
 
Last edited:
I have mine setup with the ADSL router on ether1, ether1's IP is set to: 192.168.1.2/24
My ADSL router (in bridge mode also) has it's IP set to 192.168.1.1

My PC (and the rest of my home network via a switch) connects to ether2 which is set to 192.168.0.1/24 (so my home net is on that range).
And I have the masquerade rule (same as yours) on ether1 and the pppoe interfaces.

I can access my adsl router no problem with this setup.
 
Hello everyone

I have been searching the internet and trying things over the last week, but I am at a loss for what to do now.

I have a mikrotik router and a trendnet adsl router. The trendnet(10.0.0.1) is in bridged mode and connected to ether1-gateway on the mikrotik.

I have the ether1-gateway setup as 10.0.0.0/24 and the "LAN" as 192.168.88.xx.

I have set up a masquerade for the 10.0.0.1 address. I can ping the Trendnet on my pc as well as my mikrotik, but can't seem to access the web interface.

Can anyone possibly help with my issue? I'm not exactly a guru on this Mikrotik (It's quite a different beast). Any help would be greatly appreciated.


change that ether1-gateway 10.0.0.0/24 to 10.0.0.2/24

with your router at 10.0.0.1

like this guy did with his:

"I have mine setup with the ADSL router on ether1, ether1's IP is set to: 192.168.1.2/24
My ADSL router (in bridge mode also) has it's IP set to 192.168.1.1"
 
Can anyone possibly help with my issue? I'm not exactly a guru on this Mikrotik (It's quite a different beast). Any help would be greatly appreciated.

Assumptions:
Modem is plugged into a seperate interface to your LAN
Modem IP: 10.0.0.1
LAN Range: 192.168.88.0/24 (192.168.88.1 - 192.168.88.254)


/ip address: Set the Mikrotik address to 10.0.0.2/24 for the modem interface
/ip firewall nat: Add a Masquerade rule on the modem interface (add action=masquerade chain=srcnat out-interface=MODEM_INTERFACE)
 
Assumptions:
Modem is plugged into a seperate interface to your LAN
Modem IP: 10.0.0.1
LAN Range: 192.168.88.0/24 (192.168.88.1 - 192.168.88.254)


/ip address: Set the Mikrotik address to 10.0.0.2/24 for the modem interface
/ip firewall nat: Add a Masquerade rule on the modem interface (add action=masquerade chain=srcnat out-interface=MODEM_INTERFACE)

That's the one! I forgot to add that @HApyM3al sorted me out. The problem was that I specified a specific address on the masquerade rule which caused everything to bug out :|

Managed to get it sorted now. Thanks to everyone who helped. It is really appreciated!
 
Top
Sign up to the MyBroadband newsletter
X