Subject: Re: how to get FreeBSD ping.c into NetBSD?
To: None <tech-net@NetBSD.org>
From: David Young <firstname.lastname@example.org>
Date: 11/23/2006 00:24:00
On Wed, Nov 22, 2006 at 08:20:07PM +0100, Gert Doering wrote:
> On Wed, Nov 22, 2006 at 08:10:18PM +0100, Hubert Feyrer wrote:
> > On Wed, 22 Nov 2006, David Young wrote:
> > > -I ifaddr
> > > Send multicast datagrams on the network interface specified by
> > > the interface's hostname or IP address.
> > How about:
> > -I ipaddr
> > Send datagrams on the network interface specified by the
> > interface's hostname or IP address,
> Hmmm, that's not actually what it's doing ("send out on *that* network
> interface"). It's just using that IP address, and sending out the
> packets via the normal routing table (unless "-r" is set).
I believe there is a difference between unicast and multicast: for
multicast, ping really does use the interface specified by the IP for
David Young OJC Technologies
email@example.com Urbana, IL * (217) 278-3933