Subject: bcast addr in the arp cache
To: None <tech-kern@NetBSD.ORG>
From: Wolfgang Rupprecht <wolfgang@wsrcc.com>
List: tech-kern
Date: 01/15/1998 11:33:55
I'm seeing what looks like an error in the arp cache logic trying to
cache the local ether's broadcast address.  Notice the 140.174.88.127
entry in the following:

    $ arp -an
    ? (24.1.64.1) at (incomplete)
    ? (24.1.65.208) at 00:00:c0:e2:7d:e4 permanent
    ? (24.1.74.57) at (incomplete)
    ? (140.174.88.1) at 08:00:20:77:55:16
    ? (140.174.88.2) at 00:03:c6:00:01:6c
    ? (140.174.88.4) at (incomplete)
    ? (140.174.88.14) at 00:00:c0:15:b1:e3 permanent
    ? (140.174.88.127) at (incomplete)
-------^^^^^^^^^^^^^^

And the "if" does have that .127 address set as the broadcast address.

    $ ifconfig -a
    de0: flags=8963<UP,BROADCAST,NOTRAILERS,RUNNING,PROMISC,SIMPLEX,MULTICAST> mtu 1500
	    address: 00:00:c0:e2:7d:e4
	    media: 10baseT/UTP status: active
	    inet 24.1.65.208 netmask 0xfffff000 broadcast 24.1.79.255
    de1: flags=8863<UP,BROADCAST,NOTRAILERS,RUNNING,SIMPLEX,MULTICAST> mtu 1500
	    address: 00:00:c0:15:b1:e3
	    media: 10baseT/UTP status: active
	    inet 140.174.88.14 netmask 0xffffff80 broadcast 140.174.88.127
------------------------------------------------------------^^^^^^^^^^^^^^

Bug?  Should I pr it?

-wolfgang