Hello, all I want is to connect 2 computer (notebooks NB1, NB2) over LAN without affecting theirs WiFi connection.
I want to use the router only for this - no internet connection is provided by MikroTik router.
I need to access NB2 via MSTSC from NB1.
Both computers are connected to the internet via their own WiFi (first NB1 via another WiFi router - not the MikroTik, second NB2 via my Android mobile AP).
When I connect NB2 to MikroTik I lost the internet connection via Android mobile AP. When I disconnect NB2 from MikroTik - internet is back.
May be there is only need to set DNS from mobile connection when connected to MikroTik.
Little more settings - I need to set exact IP addresses for both NBs over theirs MAC addresses.
–
What I do:
Set DHCP Server range
Connect both NBs (internet connection is lost for NB2)
Admin: IP / DHCP Server / Leases - make both entries STATIC with given addresses
Open both entries and change IP addresses as I need them
There is EXPIRES AFTER with countdown (less than 10 mins) - how do I set the IP address for MAC address permanently - no expiring?
How to connect two computers over LAN without affecting theirs WiFi internet connections?
The reason why you don’t have internet as soon as you connect your notebook to the MikroTik is because your notebook’s ethenet card has a higher metric than your wifi. Meaning that when you try to access the internet then your notebok tries to do that from it’s lan. But since there is no internet coming from the MikroTik you can’t access the internet.
You can either change the metrics of your lan and wifi cards. Give a higher metric to your wifi (1) and lower metric (2) on your lan. If you do that you will be able to access the internet from the wifi and at the same time use the lan to access your other notebook.
Metric option can be found in the properties of each card…
Instead of changing the metrics you can also add static IP’s to your notebooks but without any DNS entry. Just IP and subnet mask.
Thank you for your advice. I think that I understand the problem and possible solutions.
Can you tell me, how to disable DNS server? Can I do it for particular IP / MAC or I it can be done only in general - router will not give DNS to anybody (LAN, WLAN)
Can it be done only within LAN network / WLAN network?
–
I tried to give first priority to Wireless connection on my NB and it didnt help.
Situation is same - when I connect NB to MikroTik I have no internet connection via my mobile AP.
When I disconnect NB from MikroTik, internet is back in a second.
–
I believe that there is very simple solution but I am not so good in networking.
When I run command in WINDOWS CMD: ping google.com -t, there is response from 216.58.201.110 - it si OK (response time in ?? ms)
Then I connect NB to router and there is change in CMD output: RESPONSE FROM 192.168.88.1 (router IP address) - DESTINATION NETWORK NOT AVAILABLE
Under dhcp server network check the “no dns” checkbox so your dhcp server won’t send to your client any dns server…
After that if you check on the client you will see that it has an IP, a subnet mask but No DNS…
Under NETWORK there is checked NO DNS. When I connect NB to router and then I look to adapter details in windows networking, there is SERVER DNS IPv4 = “blank - no value”. So DNS is not given by router.
When I look on WLAN details there is still 192.168.43.1 for GATEWAY, DHCP, DNS - it is from my mobile AP.
–
I wrote above:
I believe that there is very simple solution but I am not so good in networking.
When I run command in WINDOWS CMD: ping google.com -t, there is response from 216.58.201.110 - it si OK (response time in ?? ms)
Then I connect NB to router and there is change in CMD output: RESPONSE FROM 192.168.88.1 (router IP address) - DESTINATION NETWORK NOT AVAILABLE
It looks that after I connect to router, every communication is heading to router (192.168.88.1).
I was setting the priority LAN / WAN under: NETWORK CONNECTIONS / ADVANCED / ADVANCED SETTINGS via green arrows.
Setting that is working is on page that I mentioned (reference above):
Select the wireless connection, right-click “Properties”, and provide an admin password (if necessary). This should bring you to a dialog box named [wireless connect name] Properties".
In the list box titled “This connection uses the following items:”, scroll down to “Internet Protocol Version 4 (TCP/IPv4)” and select it. The “Properties” command button will enable; click it. This should bring you to a dialog box named “Internet Protocol Version 4 (TCP/IPv4) Properties”.
Click the “Advanced” command button. This should bring you to a dialog box named “Advanced TCP/IP Settings”.
Near the bottom of the dialog box, there should be a check box named “Automatic metric”. Uncheck it. That will enable a text box named “Interface metric”. Fill in a number. It needs to be larger than 1 (reserved for loopback) and the number you choose for the wired network (see below).
Working settings - WLAN with value: 4, LAN with value: 8
NOT Working settings - WLAN with value: 4, LAN with value: 2
The link you posted talks about the metric of your cards… exactly the same thing i told you in my previous post.. i guess you never tried what i suggested…
Working settings - WLAN with value: 4, LAN with value: 8
It could be 1 and 2 with the same result.
NOT Working settings - WLAN with value: 4, LAN with value: 2
Ofcorse it doesnt work.. lan has greater priority by assigning metric 2