Re: ARP packets usage



On Fri, 26 Oct 2007, in the Usenet newsgroup comp.os.linux.networking, in
article <4721c67f$0$29248$ba620e4c@xxxxxxxxxxxxxx>, goarilla wrote:

Moe Trin wrote:

The "routers" normally found in the home behave differently, because
they are not routers in the classic sense. In many cases, they are
doing port/IP translating, such that you have a non-routable (RFC1918)
address on your side, and can have multiple systems that appear on
the Internet as one. In other cases, they are behaving more like
Ethernet switches, separating traffic (collision domains) between the
ISP side and your system[s]. On Monday, you asked this question in
the thread "Do MAC addresses go to internet?", and in my response
(Message-Id: <slrnfhpug6.uho.ibuprofin@xxxxxxxxxxxxxxxxx>) I suggested
trying to use a packet sniffer to see what's on your wires. Did this
not work?

i did not found any MAC adresses belonging to machines other than the
ones that should be on the LAN so i guess i'm safe.

From that particular problem - yes. I have three connections in my
house, and all have "routers" with the manufacturers labels covered by
a label from the telephone company - they sorta look like Speedstream
Bridge/Modems from 'Efficient Networks', but I can't be sure. I most
definitely see MAC addresses from other hardware.

but seriously i shouldn't have to take into account that some routers
DON'T act like routers. Routers should be routers and conform to every
letter in the rfc's

Tell that to the marketing departments - both of the manufacturers such
as Alcatel, Efficient Networks, Westell (and others), and to the ISP.
Remember, we don't want to confuse the customers with big words such as
'bridge' and 'switch' which have meanings normally associated with them
from completely different venues.

ARP packets are not forwarded by such routers, because the Ethernet
concept doesn't need the "end" MAC address, but it DOES need the MAC
address of the "next hop". As far as ARP is concerned, the only
time an ARP request is forwarded is in Proxy-ARP where the "router"
is attempting to make it appear that a system on a separate interface
but using the same IP range is on the local network wire.

i've seen this behaviour (eg MAC next hop) in packets but i've never had
somebody explain the reason for this so short and beautifully thanks :D

People tend to forget that Ethernet links can carry a large number of
protocols besides IP, or even that there are different types of Ethernet
frames to begin with. _ALL_ packets on Ethernet links are using MAC
addresses for source and destination. Look at the two octet 'Type'
field (counting from zero, octets 12 and 13 in RFC0894 frames, 20 and
21 in RFC1042 frames). While this allows for 65536 types, only roughly
180 are defined (http://www.iana.org/assignments/ethernet-numbers).
This basically rules out moving packets over Ethernet by any other
means. The protocol at this level is only concerned with moving
packets between "directly" connected (I quote the word because the
media between the hosts is not important - this could be wire, fiber,
wireless of some form, or wet string) hosts. Hosts not "directly"
connected are handled by higher levels in the networking stack, no
matter if they packet contains an IP datagram, some form of Appletalk,
Novell IPX, or some ancient thing like Banyan Vines, or Xerox XNS
(all of which are routable, given appropriately configured routers).

Old guy
.



Relevant Pages

  • Re: wierdness in my security report
    ... > and there for will change the MAC address again. ... Routers running HSRP communicate HSRP information between each other, ... These packets are sent to the destination IP multicast ...
    (FreeBSD-Security)
  • Re: Sending "magic packets" from OBSD router seems to fail
    ... >>packets are not being sent from the OBSD box. ... >>through the switch, not the OBSD box. ... >>wakeonlan seems to hit the internal ethernet device (attached to the ... > its own MAC address. ...
    (comp.unix.bsd.openbsd.misc)
  • Re: MAC addresses in router vs Access Point
    ... as seems to be allowed for IP routers. ... In these cases no (ethernet) MAC address is used on the WAN port. ...
    (comp.dcom.lans.ethernet)
  • Re: where is the IP address assigned to the fpga in Trimode Ethernet MAC Core???
    ... Ethernet sees IP packets as just data with a label that says "protocol=IP", it does not use the IP address in any way. ... Now your PC which is on Ethernet uses the ARP protocol to query the network for "which is the MAC address of the machine with IP xx.xx.xx.xx ?", it is a broadcast packet that all machines receive and the one which feels concerned responds. ... Once you do that the PC will set the packets' destination address to the right value and your FPGA's MAC will see it and understand that the packets are targeted at it. ...
    (comp.arch.fpga)
  • Re: MAC addresses in router vs Access Point
    ... as seems to be allowed for IP routers. ... In these cases no (ethernet) MAC address is used on the WAN port. ...
    (comp.dcom.lans.ethernet)