From owner-FreeBSD-users-jp@jp.freebsd.org  Thu Feb  6 20:45:15 1997
Received: by jaz.jp.freebsd.org (8.8.5+2.7Wbeta5/8.7.3) id UAA28506
	Thu, 6 Feb 1997 20:45:15 +0900 (JST)
Received: by jaz.jp.freebsd.org (8.8.5+2.7Wbeta5/8.7.3) with SMTP id UAA28501
	for <FreeBSD-users-jp@jp.freebsd.org>; Thu, 6 Feb 1997 20:45:14 +0900 (JST)
Received: from sonygw.sony.co.jp ([43.0.1.249]) by sonyinet.sony.co.jp (8.6.10/3.4W4-96030410) with ESMTP id UAA05192 for <FreeBSD-users-jp@jp.freebsd.org>; Thu, 6 Feb 1997 20:45:13 +0900
Received: from vsp32.vsp.cpg.sony.co.jp ([43.0.164.32]) by sonygw.sony.co.jp (8.6.12+2.4W/3.4W-97020512) with ESMTP id UAA11131 for <FreeBSD-users-jp@jp.freebsd.org>; Thu, 6 Feb 1997 20:44:57 +0900
Received: from vsp.cpg.sony.co.jp (localhost [127.0.0.1]) by vsp32.vsp.cpg.sony.co.jp (8.6.13+2.5Wb7/3.4W3) with ESMTP id UAA13108 for <FreeBSD-users-jp@jp.freebsd.org>; Thu, 6 Feb 1997 20:45:11 +0900
Message-Id: <199702061145.UAA13108@vsp32.vsp.cpg.sony.co.jp>
To: FreeBSD-users-jp@jp.freebsd.org
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-2022-JP
Date: Thu, 06 Feb 1997 20:45:11 +0900
From: Takeo Ugai <ugai@vsp.cpg.sony.co.jp>
Reply-To: FreeBSD-users-jp@jp.freebsd.org
Precedence: bulk
X-Distribute: distribute [version 2.1 (Alpha) patchlevel=19]
X-Sequence: FreeBSD-users-jp 9523
Subject: [FreeBSD-users-jp 9523] Re: valid MAC adrs?
Errors-To: owner-FreeBSD-users-jp@jp.freebsd.org
Sender: owner-FreeBSD-users-jp@jp.freebsd.org

In article <9702060855.AA02819@D-shibata.rd.njk.co.jp>
	 Chiharu Shibata <chi@rd.njk.co.jp> writes:

  > Ethernet$B$N(BMAC$B%"%I%l%9$NBEEv@-%A%'%C%/$K4X$9$k<ALd$G$9!#(B
  > 
  > fe$B%I%i%$%P$N%=!<%9(B(if_fe.c)$B$N!"$3$NItJ,(B
  > |        /* Make sure we got a valid station address.  */
  > |        if ( ( sc->sc_enaddr[ 0 ] & 0x03 ) != 0x00
  > |          || ( sc->sc_enaddr[ 0 ] == 0x00
  > |            && sc->sc_enaddr[ 1 ] == 0x00
  > |            && sc->sc_enaddr[ 2 ] == 0x00 ) ) return 0;
  > 
  > $B$O!"(BMAC$B%"%I%l%9$NBEEv@-%A%'%C%/$@$H;W$$$^$9$,!"<j;}$A$N;qNA$G$O!"(B
  > MAC$B%"%I%l%9$N(B1$B%P%$%HL\$N>e0L(B2bit$B$K$D$$$F!"$=$l$>$l(B
  > $B!!:G>e0L(B(0x80) 1:multicast($B4^$`(Bbroadcast)$B%"%I%l%9(B / 0:$B8DJL%"%I%l%9(B
  > $B!!$=$N<!(B(0x40) 1:Local$B%"%I%l%9(B / 0:Global$B%"%I%l%9(B
  > $B$G$"$k$H$7$+@bL@$,$"$j$^$;$s!#(B
  > $B$3$NH=Dj$N:,5r$H$J$k$h$&$J>pJs$r$4B8CN$NJ}$O$465<x2<$5$$!#(B

IEEE 802.3 $B$r8+$k$H(B

(3) The first bit(LSB) shall be used in the Destination Address field
as an address type destination bit to identiy the Destiontion Address
ether as an individual or as a group address. ....

(4) For 48 bit addresses, the second bit shall be used to distiguish
between locally or globally administerd addresses. ....

$B$H$J$C$F$$$k$N$G!"@5$7$$$s$8$c$J$$$G$9$+!#(B

ethernet $B$O(B LSB $B$+$i%Q%i!?%7%j$9$k$N$G!":G=i$N%P%$%H$N(B LSB $B$+$i(B 2bit 
$B$,%1!<%V%k$KN.$l$F$$$k>uBV$G$O:G=i$N(B 2 bit $B$K$J$j$^$9!#(B
--
					$B$&$,$$!w8|LZ!%%=%K!<(B
					ugai@vsp.cpg.sony.co.jp
