Community discussions

MikroTik App
 
felipefonsecahy
just joined
Topic Author
Posts: 14
Joined: Fri Jun 09, 2023 3:16 am
Location: Brazil

Problems with DNS, LAN devices can't access internet

Sat Nov 04, 2023 7:39 pm

Hi!
I have a mikrotik with 2 WAN Links. Link 1 is ISP with PPOE and Link 2 is Starlink (works with DHCP Client). Inside mikrotik i have normal internet access, but the devices connected in bridge can't navigate internet, i believe it's a DNS problem. The computers get correct IP from Mikrotik (DHCP Server).

I try 2 different ways:
1 -> In PPOE and dhcp client connection i unchecked the option "User Peer DNS", and put many DNS in "IP->DNS" section (Google, CloudFare, OpenDNS). Computers remained without internet access.
2-> I remove all DNS servers in "IP->DNS" and checked the "User Peer DNS" in PPOE and DHCP Client.

I have a "Masquerade Scrnat" rule in firewall to WAN interfaces.

What i'm doing wrong? Any ideas?
 
User avatar
anav
Forum Guru
Forum Guru
Posts: 22208
Joined: Sun Feb 18, 2018 11:28 pm
Location: Nova Scotia, Canada
Contact:

Re: Problems with DNS, LAN devices can't access internet

Sat Nov 04, 2023 7:50 pm

Without seeing the config NOpe.
/export file=anynameyouwish (minus router serial number, public wanip information, keys etc.)
 
felipefonsecahy
just joined
Topic Author
Posts: 14
Joined: Fri Jun 09, 2023 3:16 am
Location: Brazil

Re: Problems with DNS, LAN devices can't access internet

Sat Nov 04, 2023 8:16 pm

I attached my .rsc file.
You do not have the required permissions to view the files attached to this post.
 
User avatar
anav
Forum Guru
Forum Guru
Posts: 22208
Joined: Sun Feb 18, 2018 11:28 pm
Location: Nova Scotia, Canada
Contact:

Re: Problems with DNS, LAN devices can't access internet

Sat Nov 04, 2023 8:30 pm

Dont understand the purpose of vlan20 ? Starlink doesnt use vlans??
 
felipefonsecahy
just joined
Topic Author
Posts: 14
Joined: Fri Jun 09, 2023 3:16 am
Location: Brazil

Re: Problems with DNS, LAN devices can't access internet

Sun Nov 05, 2023 11:12 am

Dont understand the purpose of vlan20 ? Starlink doesnt use vlans??
The use of the vlan has no relation to starlink. A few devices need to have another IP range (described there in IP -> Address), so that third parties can read data from these devices through VPN.
I tried disabling this vlan to see if it is related to the DNS problem, but the problem persisted.
 
User avatar
anav
Forum Guru
Forum Guru
Posts: 22208
Joined: Sun Feb 18, 2018 11:28 pm
Location: Nova Scotia, Canada
Contact:

Re: Problems with DNS, LAN devices can't access internet

Sun Nov 05, 2023 3:31 pm

Well its confusing because you have it tied to the bridge but you dont have /interface bridge vlan settings NOR is is bridge vlan filtering enabled.......

Personally I would delete everything that is non standard and simply have a config that has a simple LAN and your two ISP WANs and troubleshoot the config.
Once its working bring back all the raw rule and other crap polluting the config, vlan20 etc...............
 
felipefonsecahy
just joined
Topic Author
Posts: 14
Joined: Fri Jun 09, 2023 3:16 am
Location: Brazil

Re: Problems with DNS, LAN devices can't access internet

Mon Nov 06, 2023 5:21 pm

I found something.

If i change "masquerade srcnat" rule, keeping the option "out-interface-list" empty, the internet works.
if a put "out-interface-list" with WAN, which is a list with two link input ports, the internet stops.

What i'm doing wrong?
 
lostngone1
just joined
Posts: 2
Joined: Sat Nov 25, 2023 10:35 am

Re: Problems with DNS, LAN devices can't access internet

Sat Nov 25, 2023 10:55 am

I have been fighting a starlink DNS issue. I know this sounds strange and I am hoping someone will point out why it is behaving this way.

I don't know what hardware you have but on the interface facing the starlink can you go in and try turning off "Auto Negotiation" and just setting it to "1G baseT full". I was having all sorts of DNS issues but things like ping worked fine. I thought it might have to do with MTU but that didn't seem to make any difference when I adjusted it.

I had my starlink plugged into a RB2011-UAS-2Hnd-IN in bridge mode with no problems but as soon as I plugged everything into my CRS310-8G+2S+ I could not get any DNS resolution from the switch itself or get it pass any DNS traffic to a client on the switch. Setting the internet to negotiate to 100 full or turning off auto negotiation seems to fix it. I do not know why.
 
User avatar
anav
Forum Guru
Forum Guru
Posts: 22208
Joined: Sun Feb 18, 2018 11:28 pm
Location: Nova Scotia, Canada
Contact:

Re: Problems with DNS, LAN devices can't access internet

Sun Nov 26, 2023 5:23 am

@lostgone --> Start your own thread please.

@felipe Post your latest config
 
lostngone1
just joined
Posts: 2
Joined: Sat Nov 25, 2023 10:35 am

Re: Problems with DNS, LAN devices can't access internet

Mon Nov 27, 2023 5:45 am

@lostgone --> Start your own thread please.

@felipe Post your latest config
Start my own thread for what? I am not having any problems. I was posting what fixed my problem.
 
User avatar
anav
Forum Guru
Forum Guru
Posts: 22208
Joined: Sun Feb 18, 2018 11:28 pm
Location: Nova Scotia, Canada
Contact:

Re: Problems with DNS, LAN devices can't access internet

Mon Nov 27, 2023 1:15 pm

have been fighting a starlink DNS issue. I know this sounds strange and I am hoping someone will point out why it is behaving this way.

Sounds like your asking for help to me......but okay, maybe your not.
What a switch has to do with router issues is a bit strange to interject and you have no clarity in which device this adjustment was made.