Community discussions

MikroTik App
 
SealsRock12
just joined
Topic Author
Posts: 1
Joined: Thu Jan 14, 2021 6:53 pm

Static DNS Not on VLANs

Thu Jan 14, 2021 7:01 pm

Hello,

I have a mikrotik hEX S. I have set up a few vlans, and connected a windows 7 computer on VLAN 2 (ELAN). It is getting its IP via DHCP on 192.168.2.0/24. I have some devices on my default VLAN (192.168.1.0/24) and I have static DNS entries for them. Here is my config: https://pastebin.com/dFL6f3Ap
On my VLAN, I can connect to the internet, query the normal DNS, and communicate with devices on the default VLAN via IP. It is just the static dns that is not working. What do I need to change?

Thanks for the help.
 
kapi2454
newbie
Posts: 38
Joined: Mon Oct 09, 2017 2:54 pm

Re: Static DNS Not on VLANs

Thu Apr 01, 2021 3:12 pm

Hi, I have the same problem
 
User avatar
anav
Forum Guru
Forum Guru
Posts: 19106
Joined: Sun Feb 18, 2018 11:28 pm
Location: Nova Scotia, Canada
Contact:

Re: Static DNS Not on VLANs

Thu Apr 01, 2021 6:43 pm

If you are using vlan1 stop there and redo your config and follow this guide.
viewtopic.php?f=23&t=143620

vlan1 is a default ID that should not be changed or used in most circumstances.
It is the default bridge vlan pvid and should remain so in most configs'
Use vlan10 vice 1 for example.
 
Guscht
Member Candidate
Member Candidate
Posts: 236
Joined: Thu Jul 01, 2010 5:32 pm

Re: Static DNS Not on VLANs

Fri Apr 02, 2021 1:05 am

Do you get an DNS reply (test it with wireshark)? Is inter-VLAN routing between the VLANs permitted? You want from 192.168.2.0/24 a response from 192.168.1.0/24.

Maybe you get the DNS response but the Layer3 routing is not permitted?

Who is online

Users browsing this forum: No registered users and 27 guests