Re: Manually controlling ARP requests

From: Kasper Dupont (kasperd_at_daimi.au.dk)
Date: 01/21/04


Date: Wed, 21 Jan 2004 09:38:54 +0100

Michael AKA Slowhand wrote:
>
> Aren´t the MAC address stored in one of the headers? or is it only the
> IPaddress?

The MAC address is in the ethernet header. The IP
address is in the IP header. The port address is in
the UDP or TCP header.

When a router forwards the packet, the ethenet header
is not forwarded. The packet is sent with a new
ethernet header with source and destination MAC
addresses for the next netsegment (or something
completely different because the next segment could
be something completely different. ie. not ethernet).

-- 
Kasper Dupont -- der bruger for meget tid paa usenet.
For sending spam use mailto:aaarep@daimi.au.dk
/* Would you like fries with that? */


Relevant Pages

  • RE: Transfer a sending packet to upper TCP/IP protocol layer in IM
    ... This is a reasonable solution if the OP wants to avoid dealing with MAC ... IPv4 header will be larger than the MTU. ... After prepending IPv4 header and UDP header to the original IPv6 packet, ...
    (microsoft.public.development.device.drivers)
  • RE: Transfer a sending packet to upper TCP/IP protocol layer in IM
    ... This is a reasonable solution if the OP wants to avoid dealing with MAC ... IPv4 header will be larger than the MTU. ... After prepending IPv4 header and UDP header to the original IPv6 packet, ...
    (microsoft.public.development.device.drivers)
  • RE: Transfer a sending packet to upper TCP/IP protocol layer in IM
    ... source and destination MAC addresses are the same for both IP versions. ... encapped IPv4 packet. ... was assuming that tcpip stack can rebuild the L2 header for the encapped IPv4 ...
    (microsoft.public.development.device.drivers)
  • RE: Transfer a sending packet to upper TCP/IP protocol layer in IM
    ... In such case he has no option, other than dealing with MAC addresses, and, ... The proper way to do this is to add your IPv4 header, ... IPv4 header will be larger than the MTU. ... After prepending IPv4 header and UDP header to the original IPv6 packet, ...
    (microsoft.public.development.device.drivers)
  • Re: IF_BRIDGE problem on RELENG_6
    ... The issue as I remember it is that the 80211 header has three addresses in it. ... On the client side - ... one address is used for the ap mac ... The problem with bridged packets is that the sender mac in the wless packet gets ...
    (freebsd-current)