Ethernet Details

Ethernet Frame details

An ethernet frame consists of

Addressing

All ethernet cards have a built in phyical address (sometimes called the MAC address).  Changing cards on a host changes the MAC.  Remember that all ethernet cards hear all packets sent on the net.  However, cards only process packets with addresses that are either 1) the cards's MAC, 2) the network broadcast address, or 3) any extra addresses given by the operating system as part of a multicast.  Cards can also be put in promiscious mode.

Extending an Ethernet

Repeaters are electrical amplifiers and filters.  They have no data capabilities.  For 10Mb or 100Mb ethernet, you may have only two repeaters can be used on a segment.  They are not used in practice.   There is also a maximum wire length that can be used in ethernet.  For 10Mb ethernet, it's 2.5km,  for 100Mb, it varries from 400 meters to 205 meters, depending on type of wire and other things.

Bridges are computers with multiple interfaces.  Each wire connected to one interface is called a segment.  When a packet arrives in interface i1, that address is added to the list for interface i1.  The hard part is to decide where to send this incomming packet.
Also, if the destination for the packet is not on the list for i1, then the packet is repeated to the other intefaces.

  1. First, add the source address to the list for the interface the packet just arrived on.
  2. If it's a broadcast and multicast addresses, send it everywhere.
  3. If the dest address can be found on the list for any interface except the interface it came on, send it to that interface.  In otherwords if a packet from interface i1 has a dest adress that can be found on the list for i3, send it to i3.
  4. If the dest address can be found on the list for the interface it came from, do nothing.  In other words, if the packet from interface i1 has a dest address that can be found on the list for i1, drop the packet.
  5. If none of the above, send it down every interface.


In a complex network with multiple bridges, the bridges must be careful not to create cycles of repeating packets.  Any such cycle can flood the network.  Also, bridges should take care to learn the best route from any segment to another segment.

Often bridges filter packets on various criteria.

A bridge is just like a router for only one protocol.

Comparing Bridges and Routers

 
Repeaters cost less Bridges can span longer distances
Repeaters are faster Bridges can increase the total traffic a set of segments can carry
Bridges can filter

Where to find more

The current Ethernet FAQ can be found at  http://216.167.29.60/faqs/ethernet/index.html .  Most of this is good info.  Particularly good questions include 2.1, 2.3, 3.2, 3.3, 3.11, 3.12, 4.1 but the LLC (Logical Link Control) and SNAP (Sub Network Access Control) is beyond this class, 4.2, 5.1, 5.3, 5.4, 5.5, 5.6.  Any of them is a fair test question.

The older ethernet FAQ is still floating around, and can be found at  http://www.ots.utexas.edu/ethernet/enet-faqs/ethernet-faq.html .  Good questions include 2.10 - 2.13,  3.07, 4.07 - 4.10, 5.04-5.14.  Any of these are fair test question.  Note that the answers in 3.03 have since changed.

A quick overview of eithernet can be found at  http://wwwhost.ots.utexas.edu/ethernet/10quickref/ch1qr_1.html .  Anything from there is also a fiar test question.