Re: MAC address of an IPv6 address
- From: "anoop" <ghanwani@xxxxxxxxx>
- Date: 10 Apr 2007 15:29:14 -0700
On Apr 10, 1:42 pm, "Jigs" <jigar.ji...@xxxxxxxxx> wrote:
1) How do I find the MAC address for an IPv6 remote host? For IP, I
use the SIOCGARP ioctl and get the MAC adress from the ARP cache. But
IPv6 does not use ARP. there is something called neighbor discovery
for IPv6, but I could not find any programatic interface to use it ..
Try posting to comp.protocols.tcp-ip.
2) How do I do a broadcast ping in IPv6? In v4, I just put the
broadcast address in the destination addr fiend of the IP header and
things worked, but what do I do for v6?
There is no such thing as broadcast in IPv6. There are only
multicast addresses. You'd have to use one of these such
as the "all nodes" multicast address to reach all nodes
on the local link.
Anoop
.
- References:
- MAC address of an IPv6 address
- From: Jigs
- MAC address of an IPv6 address
- Prev by Date: Re: Ethernet under high load
- Next by Date: Multiple PHYs to a single MAC
- Previous by thread: MAC address of an IPv6 address
- Next by thread: Multiple PHYs to a single MAC
- Index(es):
Relevant Pages
|