Subject: RE: a stupid question about ethernet addresses
To: 'Rui Paulo' <tech-net@NetBSD.org>
From: Konstantin KABASSANOV <Konstantin.Kabassanov@lip6.fr>
List: tech-net
Date: 04/06/2006 20:00:49
This is a multi-part message in MIME format.
------=_NextPart_000_01DC_01C659B4.CD2AFE10
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
> -----Message d'origine-----
> De=A0: tech-net-owner@NetBSD.org [mailto:tech-net-owner@NetBSD.org] De =
la
> part de Rui Paulo
> Envoy=E9=A0: jeudi 6 avril 2006 19:25
> =C0=A0: tech-net@NetBSD.org
> Objet=A0: Re: a stupid question about ethernet addresses
>=20
> "Konstantin KABASSANOV" <Konstantin.Kabassanov@lip6.fr> writes:
>=20
> > If there is a packet with the same source and destination mac =
address
> > (typically a packet wrongly sent over an interface different from =
the
> > loopback), what could be the right behaviour of the kernel? Is the
> packet
> > treated twice (no way to make difference between incoming and =
outgoing
> > direction)?
>=20
> If I understad you correctly you are asking what should a system do if
> it recives a packet with the same src and dst MAC address ?
Assuming that the address is its own mac address...
At least libpcap (tcpdump) displays the packet twice...
Konstantin
------=_NextPart_000_01DC_01C659B4.CD2AFE10
Content-Type: application/x-pkcs7-signature;
name="smime.p7s"
Content-Transfer-Encoding: base64
Content-Disposition: attachment;
filename="smime.p7s"
MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIILoDCCA2Qw
ggJMoAMCAQICAQAwDQYJKoZIhvcNAQEEBQAwKzELMAkGA1UEBhMCRlIxDTALBgNVBAoTBENOUlMx
DTALBgNVBAMTBENOUlMwHhcNMDEwNDI3MDU0NDM2WhcNMjEwNDIyMDU0NDM2WjArMQswCQYDVQQG
EwJGUjENMAsGA1UEChMEQ05SUzENMAsGA1UEAxMEQ05SUzCCASIwDQYJKoZIhvcNAQEBBQADggEP
ADCCAQoCggEBAN13q/Hq/Hi1FKHcd2JWl4wvt1TCTFSm1H0iR3t0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