Re: ARP requests on my net?



On Tue, 2006-04-04 at 20:59 -0500, Mike McCarty wrote:
Edward Krack wrote:
Edward Krack:


It has to know where to go. Can you drive cross country
without a road map?


Users computer types in a URL to browse the net.
Users computer is config to use DNS server to resolve the
the name in the URL to an IP address.
TCP/IP uses ARP.

Eh? Why does it need the MAC? And why does it need the MAC
of my router? My router is the one which needs to know
MACs. AFAIK, TCP/IP uses IP, not ARP. I just went and got
my handy-dandy "Understanding TCP/IP (tm)" manual and looked
in the index, and ARP isn't even mentioned. That's Transmission
Control Protocol over Internet Protocol. The layers are,
AIUI,

If you are familiar with SCSI, a MAC address is like
a SCSI ID.

ARP is used for Ethernet {layer 1} connectivity, IP {Layer 2}
runs on top of layer 1, and TCP {Layer 3} runs on top of
Layer 2. TCP/IP is often misused, the biggest example is DNS
since DNS queries are UDP not TCP, and pings are normally
ICMP.

Ethernet devices that want to use IP need ARP in order to
determine what MAC address is needed to send traffic to
another device with the IP address it needs to communicate
with, because on an "Ethernet BUS" the devices are addressed
using a MAC address. In order for your ethernet port to talk
to the ethernet port on your router they need to know each
others MAC address. The devices on an ethernet segment that
communicate with other devices using IP normally require an IP
stack that maps an IP to a MAC address for each IP on each
interface on each device it needs to communicate with. On some
devices when they run out of IP stack space, they resort to
unicast which uses a MAC address of FF:FF:FF:FF:FF:FF and causes
all devices on the ethernet segement to listen to the request,
this is generally unwanted and a sign that the network segment
has too many devices or the device is not suitable for that
large a network.

Back in the day we used to manually map IP's to MAC addresses
using /etc/ethers. I noticed that the man page "man ethers"
is still around, but don't know if the file will be used. If
it is still usable it could reduce the number of ARP requests
if you statically assign the maps in /etc/ethers.

Example:

--- /etc/ethers ---
00:11:95:0b:cc:28 172.17.205.1
--- end ---

Of course I guessed the IP of "router". ;^)

Have a good day now ya hear.



--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list



Relevant Pages

  • Re: proxy arp
    ... So, if your device has no MAC addresses, it is not Ethernet. ... you will need to write a custom ARP ... I would like that ARP requests packets will not be transmitted through ...
    (microsoft.public.development.device.drivers)
  • Re: Sending "magic packets" from OBSD router seems to fail
    ... > through the switch, not the OBSD box. ... > wakeonlan seems to hit the internal ethernet device (attached to the ... the ARP table does not have any entry for this IP. ... its own MAC address. ...
    (comp.unix.bsd.openbsd.misc)
  • Re: ARP - IP but why?
    ... Resolution Protocol and it matches up network addresses with hardware ... ever need to translate the IP address to a MAC address? ... services of ARP, but a static IP??? ... When the IP packets are transmited on Ethernet, ...
    (comp.os.linux.networking)
  • 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: [SLE] ethereal
    ... ARP is "address resolution protocol". ... ethernet connections are between hardware or MAC addresses, ... address of your ethernet card -- and obviously (I hope it's obvious ... most often consisting only of your gateway. ...
    (SuSE)