(usagi-users 03320) Re: How do I do ARP for IPv6 in USAGI?

"Lv Liangying" <[email protected]>
Newsgroups gmane.linux.ipv6.usagi.users
Message-ID <002a01c5460a$efd63f60$6a04a8c0@lly>
Hi
----- Original Message ----- 
From: "Patrick Lam" <[email protected]>
To: <[email protected]>
Sent: Wednesday, April 20, 2005 7:16 PM
Subject: (usagi-users 03315) How do I do ARP for IPv6 in USAGI?


> Hi,
> 
> I noticed that the original arp does not work for
> IPv6.  Then I realized that the arp functionality in
> IPv6 is replaced by neighbor discovery (is this
> right??).
> 
> Is neighbor discovery implemented in USAGI yet?  Can
> anyone give me a pointer to find the module(s) related
> to it?

It is implemented in net/ipv6/ndisc.c
and how neighbor entries dealed with  are in net/core/neighbor.c

> 
> Basically, I want to map the destination machine's
> IPv6 address (the other side of the network) to its
> MAC address.  How should I do it?

The IPv6 link-local address itself  contained the MAC address.
eg:
 IPv6 link-local addr: fe80::290:27ff:fe08:92bb/64
MAC address: 00:90:27:08:92:bb

> 
> Thanks very much in advance.
> 
> Regards,
> 
> Patrick
> 
> __________________________________________________
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam protection around 
> http://mail.yahoo.com 
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.