LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 04-05-2020, 11:38 AM   #1
Firedragonweb
LQ Newbie
 
Registered: Apr 2020
Posts: 3

Rep: Reputation: Disabled
IPV6 Name Resoltion in mixed OS network


Greetings! I'm having some trouble with name resolution in my home network and would love some help .
I'm a software engineer, so not completly computer-illiterate, but not a good network engineer, as it turns out.
Dramatis Personae:
- A Router "R"
- Some windows machines "W1","W2", ...
- A windows server "WS"
- An ubuntu VM "U" running on WS (Hyper-V), bridged into the same network everyone else is in
- No machine is set up as an dns server

My Problem:
IP V6 name resolution does not work as expected:
- All windows machines can ping -6 each other by name
- All windows machines can ping -4 the ubuntu vm by name
- No windows machine can ping -6 the ubuntu vm by name
- All windows machines can ping -6 the ubuntu vm by ip
- The ubuntu machine can ping (-4 and -6) most windows machines by name

TBH I'm not even sure how it is meant to work; from what I gathered, Netbios doesn't work for v6, so I don't even know why the windows machines can resolve each other.
Could any kind soul shed some light into my darkness ?
 
Old 04-06-2020, 03:54 AM   #2
berndbausch
LQ Addict
 
Registered: Nov 2013
Location: Tokyo
Distribution: Mostly Ubuntu and Centos
Posts: 6,316

Rep: Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002
Assuming everything is on the same network, the Windows machines probably use mDNS. I figured this out recently when my Windows PC stubbornly ignored names of several Linux computers in the network. It turned out that the Linux boxes didn't respond to mDNS broadcasts.

The tool to find out is wireshark or its command line cousin tcpdump. Filter for port 5353, the mDNS port.

Last edited by berndbausch; 04-06-2020 at 03:55 AM. Reason: typo
 
Old 04-06-2020, 04:15 AM   #3
Firedragonweb
LQ Newbie
 
Registered: Apr 2020
Posts: 3

Original Poster
Rep: Reputation: Disabled
Thanks for the input. That may very well be:
systemd-resolve --status says MulticastDNS setting: no for the network adapter.

Now I'm struggling to get that to work; the vm uses netplan, and there doesn't seem to be a way to enable mDNS via netplan (at least not that I'd found one). How did you enable mDNS on your machine?
 
Old 04-06-2020, 07:09 AM   #4
berndbausch
LQ Addict
 
Registered: Nov 2013
Location: Tokyo
Distribution: Mostly Ubuntu and Centos
Posts: 6,316

Rep: Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002
Quote:
Originally Posted by Firedragonweb View Post
Thanks for the input. That may very well be:
systemd-resolve --status says MulticastDNS setting: no for the network adapter.

Now I'm struggling to get that to work; the vm uses netplan, and there doesn't seem to be a way to enable mDNS via netplan (at least not that I'd found one). How did you enable mDNS on your machine?
I DISabled it on Windows to force the PC to use my DNS server.

I did notice that Debian puts mdns4_minimal in /etc/nsswitch.conf. Perhaps there is an mdns6_minimal?
 
Old 04-06-2020, 01:51 PM   #5
Firedragonweb
LQ Newbie
 
Registered: Apr 2020
Posts: 3

Original Poster
Rep: Reputation: Disabled
I got it to work by uninstalling netplan and switching to ifupdown.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Another IPv6 Crash Course For Linux: Real IPv6 Addresses, Routing, Name Services LXer Syndicated Linux News 0 04-21-2011 07:40 AM
Ubuntu 8.04 in mixed Mac & Windows network Internet access but no access to network. traveller7 Linux - Networking 1 01-10-2009 07:53 PM
How to set IPv6 address on IPv6 router tlemons Linux - Networking 3 09-17-2007 01:25 PM
turbo linux diplay resoltion settings ronss Linux - Distributions 2 05-20-2002 04:19 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 12:09 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration