LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 11-15-2012, 04:09 AM   #1
a.murali
LQ Newbie
 
Registered: Dec 2010
Posts: 5

Rep: Reputation: 0
How to retrieve DAD(duplicate address detection) status of an interface in Linux


Hi,

Can anybody please help me/point me to links/sample code to retrieve DAD(Duplicate address detection) status of an ethernet interface using netlink sockets.

Thanks in advance,

Murali
 
Old 11-15-2012, 02:31 PM   #2
nini09
Senior Member
 
Registered: Apr 2009
Posts: 1,850

Rep: Reputation: 161Reputation: 161
It has existing tool to detect DAD. For example, sudo arping -D -I eth0 -c 2 192.168.1.1.
 
Old 11-15-2012, 11:20 PM   #3
a.murali
LQ Newbie
 
Registered: Dec 2010
Posts: 5

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by nini09 View Post
It has existing tool to detect DAD. For example, sudo arping -D -I eth0 -c 2 192.168.1.1.
Hi,

Thanks for your reply.
I want to check wether DAD is enabled for an interface or not programatically, but not wether DAD is success or not for a given IP.
 
Old 11-16-2012, 02:30 PM   #4
nini09
Senior Member
 
Registered: Apr 2009
Posts: 1,850

Rep: Reputation: 161Reputation: 161
IPv6 interface is able to do it. Is this you expect?
 
  


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
duplicate MAC address detection bobwall Linux - Networking 4 02-16-2015 03:47 PM
Centos5 with 2 ethernet bonding interface, Duplicate Mac Address antolepore Linux - Virtualization and Cloud 0 07-24-2012 01:07 AM
How to retrieve system IP address (ethx) in Linux koolfish Programming 7 06-25-2006 06:06 PM
to retrieve network link status minil Programming 2 02-16-2005 03:30 AM
How can I retrieve the IP address of an interface? kobilevi Linux - Networking 2 05-15-2001 07:31 AM

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

All times are GMT -5. The time now is 06:42 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