Community discussions

MikroTik App
 
effektiveddd
just joined
Topic Author
Posts: 5
Joined: Thu Aug 12, 2021 2:50 pm

Breaks in Internet connection

Thu Aug 12, 2021 2:59 pm

Hi,

Im starting using MikroTik, i was buy Few tutorial on Internet. I Was make a configuration. Internet working but i have many breaks... wehen i ping 8.8.8.8 i see when i have internet and when not.

I try few different cable (new) so it's not a cable problem. When i connect Laptop direct to ISP router then internet works fine on laptop.
internet problem.jpeg
Any idea ?
You do not have the required permissions to view the files attached to this post.
 
ConnyMercier
Forum Veteran
Forum Veteran
Posts: 723
Joined: Tue Dec 17, 2019 1:08 pm

Re: Breaks in Internet connection

Thu Aug 12, 2021 3:22 pm

We need more !
Please Send Config (/export hide-sensitive)
 
User avatar
rextended
Forum Guru
Forum Guru
Posts: 11967
Joined: Tue Feb 25, 2014 12:49 pm
Location: Italy
Contact:

Re: Breaks in Internet connection

Thu Aug 12, 2021 3:24 pm

The next time I go to the technician about TV problems, I'll bring him a photo of the remote.
 
effektiveddd
just joined
Topic Author
Posts: 5
Joined: Thu Aug 12, 2021 2:50 pm

Re: Breaks in Internet connection

Thu Aug 12, 2021 3:48 pm

We need more !
Please Send Config (/export hide-sensitive)
I was send picture with all config. All setting are visable on PICS.

But here is export, send me command if this is not full. Im start LEARN this device.
Config ::


/interface bridge
add name=bridge_LAN
/interface ethernet
set [ find default-name=ether2 ] comment="Siec LAN" name=LAN
set [ find default-name=ether1 ] comment=Internet name=WAN
/interface wireless security-profiles
set [ find default=yes ] supplicant-identity=MikroTik
/ip pool
add name=dhcp_pool1 ranges=192.168.10.2-192.168.10.254
add name=dhcp_pool2 ranges=192.168.10.2-192.168.10.254
/ip dhcp-server
add address-pool=dhcp_pool2 disabled=no interface=bridge_LAN name=dhcp1
/interface bridge port
add bridge=bridge_LAN interface=LAN
add bridge=bridge_LAN interface=ether3
add bridge=bridge_LAN interface=ether4
add bridge=bridge_LAN interface=ether5
/ip neighbor discovery-settings
set discover-interface-list=!dynamic
/ip address
add address=192.168.0.88/24 comment="Port z Internetem" interface=WAN \
network=192.168.0.0
add address=192.168.10.1/24 comment="Siec LAN" interface=bridge_LAN network=\
192.168.10.0
/ip cloud
set ddns-enabled=yes
/ip dhcp-client
add interface=WAN
/ip dhcp-server network
add address=192.168.10.0/24 gateway=192.168.10.1
/ip dns
set allow-remote-requests=yes servers=8.8.8.8,8.8.4.4
/ip firewall nat
add action=masquerade chain=srcnat out-interface=WAN
/ip route
add distance=1 gateway=192.168.0.1
/system clock
set time-zone-name=Europe/Warsaw
/system identity
set name=MikroC
/system ntp client
set enabled=yes primary-ntp=162.159.200.1 secondary-ntp=162.159.200.123



The next time I go to the technician about TV problems, I'll bring him a photo of the remote.
Im not stupid. I was SEND PICTURE with all config in first POST. If u can't read this picture so probbly u cant help me! This is sample config like on many wideo:: https://www.youtube.com/watch?v=ZOvRv0oDFMI
 
ConnyMercier
Forum Veteran
Forum Veteran
Posts: 723
Joined: Tue Dec 17, 2019 1:08 pm

Re: Breaks in Internet connection

Thu Aug 12, 2021 4:01 pm

Good Afternoon ,

The Routing may be the problem...
-->> /ip route add distance=1 gateway=192.168.0.1

I would have expected :
-->> /ip route add distance=1 gateway=192.168.0.1 dst-address=0.0.0.0/0
 
User avatar
rextended
Forum Guru
Forum Guru
Posts: 11967
Joined: Tue Feb 25, 2014 12:49 pm
Location: Italy
Contact:

Re: Breaks in Internet connection

Thu Aug 12, 2021 4:20 pm

Good Afternoon ,

The Routing may be the problem...
-->> /ip route add distance=1 gateway=192.168.0.1

I would have expected :
-->> /ip route add distance=1 gateway=192.168.0.1 dst-address=0.0.0.0/0
I would have expected you know than on export default or obvious values are not exported,
like dst-address=0.0.0.0/0 is never exported on /ip route
 
ConnyMercier
Forum Veteran
Forum Veteran
Posts: 723
Joined: Tue Dec 17, 2019 1:08 pm

Re: Breaks in Internet connection

Thu Aug 12, 2021 4:25 pm

Sorry , my bad !
I wasn't sure !

I did a quick export on a Test-System (Foto)
You do not have the required permissions to view the files attached to this post.
 
User avatar
rextended
Forum Guru
Forum Guru
Posts: 11967
Joined: Tue Feb 25, 2014 12:49 pm
Location: Italy
Contact:

Re: Breaks in Internet connection

Thu Aug 12, 2021 4:25 pm

The next time I go to the technician about TV problems, I'll bring him a photo of the remote.
Im not stupid. I was SEND PICTURE with all config in first POST. If u can't read this picture so probbly u cant help me!
This is sample config like on many wideo:: https://www.youtube.com/watch?v=ZOvRv0oDFMI
I can read more than you think from on photo (instead of screenshot, and just this is an information),
but I cant read other fields on various parameter because on winbox aren't exposed directly on the screen.
For example, the RouterBOARD model and the RouterOS version of which you kindly cut on the photo...
Last edited by rextended on Thu Aug 12, 2021 4:35 pm, edited 1 time in total.
 
User avatar
rextended
Forum Guru
Forum Guru
Posts: 11967
Joined: Tue Feb 25, 2014 12:49 pm
Location: Italy
Contact:

Re: Breaks in Internet connection

Thu Aug 12, 2021 4:29 pm

Sorry , my bad !
I wasn't sure !

I did a quick export on a Test-System (Foto)
0.0.0.0/32 ??? something is wrong....

You use 7 beta, this forum section is for 6.x, the 7 beta has its own section
command and export are not interchangeable
 
ConnyMercier
Forum Veteran
Forum Veteran
Posts: 723
Joined: Tue Dec 17, 2019 1:08 pm

Re: Breaks in Internet connection

Thu Aug 12, 2021 4:53 pm

Thanks for the heads up !
 
User avatar
anav
Forum Guru
Forum Guru
Posts: 18958
Joined: Sun Feb 18, 2018 11:28 pm
Location: Nova Scotia, Canada
Contact:

Re: Breaks in Internet connection

Thu Aug 12, 2021 4:54 pm

So you dont have a public IP, its a private IP but from where, which device, ISPs modem/router.

You have no firewall rules ???

This rule is wrong, the LAN interface is NOT a bridge port. Perhaps you meant ether2 ??
OH I see you did a very silly thing to name ether2 --> LAN, change it back to ether2 the default.
Do not use common names in MT for specific items, very confusing and not helpful ( aka in this case do not name the port with the same name as the LAN interface)

interface bridge port
add bridge=bridge_LAN interface=LAN
add bridge=bridge_LAN interface=ether3
add bridge=bridge_LAN interface=ether4
add bridge=bridge_LAN interface=ether5
/ip neighbor discovery-settings

Why do you have two identical IP pools?
 
effektiveddd
just joined
Topic Author
Posts: 5
Joined: Thu Aug 12, 2021 2:50 pm

Re: Breaks in Internet connection

Thu Aug 12, 2021 5:11 pm

So you dont have a public IP, its a private IP but from where, which device, ISPs modem/router.

You have no firewall rules ???

This rule is wrong, the LAN interface is NOT a bridge port. Perhaps you meant ether2 ??
OH I see you did a very silly thing to name ether2 --> LAN, change it back to ether2 the default.
Do not use common names in MT for specific items, very confusing and not helpful ( aka in this case do not name the port with the same name as the LAN interface)

interface bridge port
add bridge=bridge_LAN interface=LAN
add bridge=bridge_LAN interface=ether3
add bridge=bridge_LAN interface=ether4
add bridge=bridge_LAN interface=ether5
/ip neighbor discovery-settings

Why do you have two identical IP pools?
The Eth2 - name is not a problem ! I know i should use better name but this is ONLY device for learn and first confing not working property.

I do few times DHC pool so show 2 times, but working only one (dhcp_pool2). I remove now one rules but still same error.

Like u see in picture i ping from MikroTik 8.8.8.8 so mikrotik CUT internet or cant take from TPlink

When i ping same time 8.8.8.8 and 192.168.0.1 - TP link router adress , then in same time show me timeout and good packet so problem is connection with TPlink.

My ISP router is TP Link. I don't think so the firewall will be problem. Because i have Internet and have breaks.

I don't have Public IP.

Model of MikroTik : RB750Gr3
Ver: 8.48.3 - latest

/ip/router/export

show:

add distance=1 gateway=192.168.0.1

If u tell me how generate full config send please me command.
Last edited by effektiveddd on Thu Aug 12, 2021 5:13 pm, edited 1 time in total.
 
User avatar
rextended
Forum Guru
Forum Guru
Posts: 11967
Joined: Tue Feb 25, 2014 12:49 pm
Location: Italy
Contact:

Re: Breaks in Internet connection

Thu Aug 12, 2021 5:11 pm

It is best for the user to start from scratch with the RouterOS defaults and the predefined firewall rules ...
 
effektiveddd
just joined
Topic Author
Posts: 5
Joined: Thu Aug 12, 2021 2:50 pm

Re: Breaks in Internet connection

Thu Aug 12, 2021 5:21 pm

I found the problem.

The problem Was IP: 192.168.0.88 // what i set in WAN

I change to: 192.168.0.66

Probbly Some device in network want this IP also. I need check what device tried to take this IP .

Now all works fine..
 
User avatar
rextended
Forum Guru
Forum Guru
Posts: 11967
Joined: Tue Feb 25, 2014 12:49 pm
Location: Italy
Contact:

Re: Breaks in Internet connection

Thu Aug 12, 2021 5:24 pm

remove IP on WAN, route and DNS and enable/create a dhcp client on wan
 
effektiveddd
just joined
Topic Author
Posts: 5
Joined: Thu Aug 12, 2021 2:50 pm

Re: Breaks in Internet connection

Thu Aug 12, 2021 5:53 pm

I was add this IP .66 on TPlink and I booked this IP for MikroTik.

The .88 was Monitoring system i forgot :( i use this static IP for camera recorder.

Thanks for reply :D

Who is online

Users browsing this forum: Netstumble and 48 guests