Community discussions

MikroTik App
 
Xlipsch
just joined
Topic Author
Posts: 3
Joined: Mon Nov 29, 2021 3:38 am

Using two routers

Mon Nov 29, 2021 3:55 am

I recently moved into a friend's detached shop and their wifi doesn't reach out there. I've got a MikroTik RB951Ui-2HnD router that was provided by my old isp alyrica. They've got a dsl modem/router from CenturyLink.
I've run a 100ft cat6 cable from the first ethernet port on their router to the mikrotik.
It created a new wifi point and it works fine with my phone and TV but I cannot get the ps4 to stay connected for more than a few minutes at best.
I've tried using both wifi and wired with the same results. I'd appreciate any suggestions on how to make this work as I'm pretty lost.

Edit; I don't know the login info for either of them.
 
ConnyMercier
Forum Veteran
Forum Veteran
Posts: 725
Joined: Tue Dec 17, 2019 1:08 pm

Re: Using two routers

Tue Nov 30, 2021 4:55 am

Can you please post the config of the Mikrotik device
(/export hide-sensitive file=anynameyouwish)
 
User avatar
anav
Forum Guru
Forum Guru
Posts: 19323
Joined: Sun Feb 18, 2018 11:28 pm
Location: Nova Scotia, Canada
Contact:

Re: Using two routers

Tue Nov 30, 2021 4:24 pm

Can you please post the config of the Mikrotik device
(/export hide-sensitive file=anynameyouwish)
Unable??---> I don't know the login for either of them!!!
Last edited by anav on Tue Nov 30, 2021 7:38 pm, edited 2 times in total.
 
holvoetn
Forum Guru
Forum Guru
Posts: 5480
Joined: Tue Apr 13, 2021 2:14 am
Location: Belgium

Re: Using two routers

Tue Nov 30, 2021 4:42 pm

No login = no view on config. That's logic.
I've got a MikroTik RB951Ui-2HnD router that was provided by my old isp alyrica.
<snip>
Edit; I don't know the login info for either of them.
My view:
reset the Mikrotik and start fresh.
Most likely some old config has been left which you don't know about unless you can access the device's config.
To get into the device requires ... factory reset which will also wipe out all old config. Not a bad thing per se.

And now the running discussion about customers getting into ISP devices can start again ... let's keep that in the other thread.
 
ConnyMercier
Forum Veteran
Forum Veteran
Posts: 725
Joined: Tue Dec 17, 2019 1:08 pm

Re: Using two routers

Tue Nov 30, 2021 6:13 pm

What do you not understand about ----> I don't know the login for either of them!!!
He added / edited his Post this after i postet =)
 
User avatar
anav
Forum Guru
Forum Guru
Posts: 19323
Joined: Sun Feb 18, 2018 11:28 pm
Location: Nova Scotia, Canada
Contact:

Re: Using two routers

Tue Nov 30, 2021 7:38 pm

Ahh okay, that makes sense!!
 
Xlipsch
just joined
Topic Author
Posts: 3
Joined: Mon Nov 29, 2021 3:38 am

Re: Using two routers

Wed Dec 01, 2021 2:19 am

Thank you for the information. I'll try to reset it tomorrow when I have time. Also I currently don't have a computer, is that going to be a problem?

Second also, assuming I don't get this to work, what would you suggest? Like what product would be the solution?
 
holvoetn
Forum Guru
Forum Guru
Posts: 5480
Joined: Tue Apr 13, 2021 2:14 am
Location: Belgium

Re: Using two routers

Wed Dec 01, 2021 7:43 am

How are you going to reconfigure that device without computer ?
 
spynappels
Member Candidate
Member Candidate
Posts: 106
Joined: Mon Oct 25, 2021 12:32 pm
Location: Northern Ireland
Contact:

Re: Using two routers

Wed Dec 01, 2021 9:17 am

Also, with some ISP provided equipment, you may not be able to reset it fully using the Reset, you may only be able to reset it to ISP defaults which still doesn't help you.
In that case you'd need to look at doing a Netinstall but you'll definitely need a computer for that, you'll not be able to do anything with just a tablet or phone.
 
CGrimReaper
just joined
Posts: 5
Joined: Wed Dec 01, 2021 7:46 pm

Re: Using two routers

Wed Dec 01, 2021 8:02 pm

before I post my issue with the /export... where on earth do you find the file once done??? I used /export hide-sensitive file=Cameron_hEX then it just shows me a new command line... :(

Ah wait, me being a typical rookie - Found the Files on the left panel *duh* sorry guys.
Last edited by CGrimReaper on Wed Dec 01, 2021 9:22 pm, edited 1 time in total.
 
CGrimReaper
just joined
Posts: 5
Joined: Wed Dec 01, 2021 7:46 pm

Re: Using two routers

Wed Dec 01, 2021 9:58 pm

Alright so, long story short... hEX running on v6.49.1

I have two LTE ISPs - the Main is Afrihost Uncapped and the backup is Rain unlimited off-peak (5GB).
ether1 192.168.10.1 Afrihost LTE Uncapped @ 50-75Mbps
ether2 192.168. 9.1 Rain 4G - 5GB Off-Peak @ 15Mbps if you're lucky
ether3 192.168. 8.1 Main Network - 100% bandwidth
ether4 192.168. 8.1 Will be dedicated to wifi APs - need to be able to limit to 15% download bandwidth or less when I want (Show me how??)
ether5 192.168. 8.1 Will be dedicated CCTV for all 4 DVRs - 100% Bandwidth

Yes, I would like to know how to bridge ether3 4 and 5 but control bandwidth on each. I run my DVRs on dedicated PCs to combine the DVRs and display all cameras around the property (separate buildings) on one screen in my house so I need to be able to see everything on my PC (connected to ether3) from ether4 and ether5 as you would with a standard network switch.

I want Afrihost to pull all the data all the time and Rain to just sit there disabled till just in case the sheet hits the fan then it can take over till Afrihot is back online.
I'm guessing I need to post some script to watch 8.8.8.8 and 8.8.4.4 to constantly make sure Afrihost is A-ok, Rain I'm not worried about in this case as it only needs to be there when Afrihost is down.

I seem to sort of have this running but looks like Rain still receiving some of the data when I look in the interface list.

Secondly, if Rain just so happens to need to run for a full day or more I need a schedule only during its active time to kill it at 17:55 and restore it at 23:05
as this is their peak hrs (when they take more money from you than they should).

thirdly I would like to be able to remotely access my hEX via the Mikrotik iOS/Android app while I'm away to make sure it's all running smooth (I'm aware of the security breach implications)- I tried by turning on DDNS under IP>Cloud and it spat out a DNS name and pub address but my app doesn't seem to connect when I'm off my network, assuming this has something to do with NAT or Firewall? what do I do???

Lastly, I have some stupid old DVR running on a No-IP address via HTTP Port 8220 with server port 6036 on 192.168.8.14 and again I assume it's something to do with NAT, Firewall,
or Port Forward that I can't seem to connect. Fortunately, this paragraph will become null and void once I upgrade this one in the future but for now its working so I want to see it remotely with the rest.

I would really appreciate your help as I have tried and failed with many different methods over months now and right now as per my /export I have internet running and that's about it. and yes @anav I'm darn well sure my code is a complete disaster of a mess so if you could do the honors in cleaning it up and throwing out the trash then I would be most grateful to have all this running like a pro.

Sadly I do not have time to do any online courses due to workload in the security industry and worst off I have a mental span of 15min thanks to ADHD so I struggle to do courses of any sort, I learn best from my mistakes and with the help/guidance from others.

/export hide-sensitive 
# dec/01/2021 21:55:14 by RouterOS 6.49.1
# software id = Y1G6-ULK3
#
# model = RB750Gr3
# serial number = CC210B84FB20
/interface ethernet
set [ find default-name=ether2 ] disabled=yes
/interface wireless security-profiles
set [ find default=yes ] supplicant-identity=MikroTik
/ip pool
add name=dhcp_pool0 ranges=192.168.8.120-192.168.8.150
/ip dhcp-server
add address-pool=dhcp_pool0 disabled=no interface=ether3 lease-time=8h name=dhcp1
/queue simple
add disabled=yes max-limit=10M/10M name="Main Queue" target=192.168.8.0/24
/user group
set full policy=local,telnet,ssh,ftp,reboot,read,write,policy,test,winbox,password,web,sniff,sensitive,api,romon,dude,tikapp
/interface bridge port
add disabled=yes interface=ether3 trusted=yes
add disabled=yes interface=ether4 trusted=yes
add disabled=yes interface=ether5 trusted=yes
/ip neighbor discovery-settings
set discover-interface-list=!dynamic
/ip address
add address=192.168.10.2/27 interface=ether1 network=192.168.10.0
add address=192.168.9.2/27 interface=ether2 network=192.168.9.0
add address=192.168.8.1/24 interface=ether3 network=192.168.8.0
/ip cloud
set ddns-enabled=yes
/ip dhcp-server network
add address=192.168.8.0/24 dns-server=192.168.9.1,192.168.10.1 gateway=192.168.8.1
/ip dns
set allow-remote-requests=yes servers=8.8.8.8
/ip firewall mangle
add action=mark-connection chain=input in-interface=ether1 new-connection-mark=ISP1_Conn passthrough=yes
add action=mark-connection chain=input in-interface=ether2 new-connection-mark=ISP2_Conn passthrough=yes
add action=mark-routing chain=output connection-mark=ISP1_Conn new-routing-mark=To_ISP1 passthrough=yes
add action=mark-routing chain=output connection-mark=ISP2_Conn new-routing-mark=To_ISP2 passthrough=yes
add action=accept chain=prerouting in-interface=ether3
add action=mark-connection chain=output connection-mark=no-mark connection-state=new new-connection-mark=ISP1_conn out-interface=ether1
add action=mark-routing chain=output connection-mark=ISP1_conn new-routing-mark=to_ISP1 out-interface=ether1
add action=mark-connection chain=output connection-mark=no-mark connection-state=new new-connection-mark=ISP2_conn out-interface=ether2
add action=mark-routing chain=output connection-mark=ISP2_conn new-routing-mark=to_ISP2 out-interface=ether2
/ip firewall nat
add action=dst-nat chain=dstnat comment=Factory-DVR dst-address=192.168.10.2 dst-port=80 in-interface=ether1 protocol=udp to-addresses=192.168.8.14 to-ports=8220
add action=dst-nat chain=dstnat dst-address=192.168.9.2 dst-port=80 in-interface=ether2 protocol=udp to-addresses=192.168.8.14 to-ports=8220
add action=masquerade chain=srcnat comment=RAIN out-interface=ether1
add action=masquerade chain=srcnat comment=AFRIHOST out-interface=ether2
/ip route
add check-gateway=ping distance=1 gateway=8.8.4.4 routing-mark=to_ISP1
add check-gateway=ping distance=2 gateway=8.8.8.8 routing-mark=to_ISP1
add check-gateway=ping distance=2 gateway=8.8.8.8 routing-mark=to_ISP2
add check-gateway=ping distance=1 gateway=8.8.4.4 routing-mark=to-ISP2
add check-gateway=ping distance=1 gateway=192.168.10.1,192.168.9.1
add check-gateway=ping distance=1 gateway=192.168.10.1
add check-gateway=ping distance=2 gateway=192.168.9.1
add distance=1 dst-address=8.8.4.4/32 gateway=192.168.9.1 scope=10
add distance=1 dst-address=8.8.8.8/32 gateway=192.168.10.1 scope=10
add distance=1 dst-address=192.168.8.0/24 gateway=ether4 pref-src=192.168.8.1 scope=10
add distance=1 dst-address=192.168.8.0/24 gateway=ether5 pref-src=192.168.8.1 scope=10
/system clock
set time-zone-name=Africa/Johannesburg
/system identity
set name="Cam hEX Router"
/system scheduler
add interval=1d name="Disable RAIN" on-event="/interface disable [find name=ether2]" policy=ftp,reboot,read,write,policy,test,password,sniff,sensitive,romon start-date=\
    oct/24/2021 start-time=17:55:00
add interval=1d name="Enable RAIN" on-event="/interface enable [find name=ether2]" policy=ftp,reboot,read,write,policy,test,password,sniff,sensitive,romon start-date=\
    oct/24/2021 start-time=23:05:00
/tool sniffer
set file-name=arp.pcap filter-interface=ether1

You do not have the required permissions to view the files attached to this post.
 
Xlipsch
just joined
Topic Author
Posts: 3
Joined: Mon Nov 29, 2021 3:38 am

Re: Using two routers

Fri Dec 03, 2021 12:02 am

Well it seems I've got it working now. Reset their router and put the the port my router is connected to on dmz. I'll report back in a day or two on the status. Thank you very much for the help and information.

Who is online

Users browsing this forum: Google [Bot], mkx, qwertykolea and 98 guests