[haiku-development] Re: BNetworkInterface questions

  • From: Alexander von Gluck <kallisti5@xxxxxxxxxxx>
  • To: haiku-development@xxxxxxxxxxxxx
  • Date: Wed, 09 Feb 2011 12:50:40 -0600

On Wed, 2011-02-09 at 19:41 +0100, Axel Dörfler wrote:
> > Also, I noticed that the Broadcast address is being calculated
> > incorrectly by ifconfig...
> > 
> > /dev/net/broadcom570x/0
> >   Hardware type: Ethernet, Address: 00:15:60:c0:17:a5
> >   Media type: 100 MBit, 100BASE-TX
> >   inet addr: 10.21.16.87, Bcast: 10.255.255.255, Mask: 255.255.254.0
> 
> Since 10.* is a class A network, that looks correct to me.

weel.. there's the problem :)

As the netmask is 255.255.254.0, and the IP is 10.21.16.87, the
broadcast should be at the top of the 10.21.16 subnet range
(10.21.17.255)

-- 
Thanks!
 -Alexander von Gluck IV
  GPG/C32E7686


Other related posts: