LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 12-07-2023, 01:16 AM   #1
athilakshmi.s
LQ Newbie
 
Registered: Dec 2023
Posts: 2

Rep: Reputation: 0
Neighbor solicit is not initiated by server after receiving neigbhor advertisement from client


My user application uses "linux-4.14.275 version".
Once IPV6 is enabled, my client is getting link-local, global and temporary address. I shall check in cmd prompt (ipconfig). However, in
"ip -6 neigh show", it is showing only link-local address but not the other two addresses (global and temporary).

If I initiate ping to the global address, neighbor got learnt in server side.

But I am expecting global address presence without ping itself. Because Neighbor solicit, advertisement should happen between server and client which should result in learning of all addresses in server side (ip -6 neigh show).
link-local address got learnt, but not global and temporary address.

Root cause analysis:
Client is initiating Neighbor advertisement from those three IP addresses with destination IP as ff02::1. These packets are received on bridge interface. However, neighbor solicit is not initiated from bridge interface. As a result, neighbor learning is not happening for global address.
After above packet reception, server is initiating NS to link-local address separately with proper source IP and dest IP (not multicast IP) which results in Link local address learning. The same is not happening for other two addresses.

If I use linux-3.18.21, issue is not seen. I shall get all three IP addresses learnt as neighbors (ip -6 neigh show).

please share your views for the root cause and what could be the problem in linux-4.14.275 version.

Last edited by athilakshmi.s; 12-07-2023 at 01:23 AM.
 
Old 12-07-2023, 02:43 PM   #2
nini09
Senior Member
 
Registered: Apr 2009
Posts: 1,850

Rep: Reputation: 161Reputation: 161
The neighbor is on the local network only. So global IP address of the client doesn't matter whether it show on server.
 
1 members found this post helpful.
Old 12-08-2023, 04:25 AM   #3
athilakshmi.s
LQ Newbie
 
Registered: Dec 2023
Posts: 2

Original Poster
Rep: Reputation: 0
thanks for the response.

Does it mean, it will learn only link-local address and not global address in neighbor table?
If so, NS will be sent only for link-local address and not for global address?
why linux-3.18.21 version code is sending NS to global address as well?

Thanks.
 
Old 12-08-2023, 08:24 PM   #4
nini09
Senior Member
 
Registered: Apr 2009
Posts: 1,850

Rep: Reputation: 161Reputation: 161
The global address doesn't need to activate advertisement. The passive learning is fine.
 
  


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
How to include vendor-specific option 17 suboptions 11, 12 and 13 in DHCPv6 solicit/request using dhclient kotti23 Linux - Networking 2 12-16-2020 08:32 AM
odhcpd[806]: DHCPV6 SOLICIT IA_NA from ..... What does it mean? How to avoid? zorro_kwh Linux - Newbie 0 06-28-2015 06:48 PM
[SOLVED] Receive Neighbor Advertisement in NUD_FAILED state is not changing the neighbor state Satya Vani Linux - Software 1 05-28-2015 09:16 AM
Am I allowed to ask/solicit for help not related to Linux slackist LQ Suggestions & Feedback 10 01-13-2006 05:27 AM

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

All times are GMT -5. The time now is 12:40 PM.

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