Best Ethernet Design and Implementation To Minimize Collisions Report
Best Ethernet Design and Implementation To Minimize Collisions Report
1.1. Ethernet.
In the early 1970s, Robert Metcalfe and David Boggs Figure 1. A small Ethernet network
of the Xerox Palo Alto Research Center As in the Figure 1 it is shown that there are a number
experimented with the first Ethernet system. At this of different machines connected to each other using a
time, Xerox’s primary motivation was to create a single cable. Ethernet is a broadcast domain of
network to share a laser printer with a large number different machines. As in the Fig1 sever can send
of computers. To help ensure Ethernet’s openness, data to other computers and printers and etc.
Metcalfe convinced Xerox to license the Ethernet Ethernet was originally based on the idea of
technology to everyone at a reasonable cost. In 1979, computers communicating over a shared coaxial
Digital Equipment Corporation (DEC), Intel, and cable acting as a broadcast transmission medium. The
methods used show some similarities to radio
systems, although there are fundamental differences,
such as the fact that it is much easier to detect
collisions in a cable broadcast system than a radio
broadcast. The common cable providing the
communication channel was likened to the ether and
it was from this reference that the name "Ethernet"
was derived. [13]
From this early and comparatively simple concept,
Ethernet evolved into the complex networking
technology that today underlies most LANs. The
coaxial cable was replaced with point-to-point links
connected by Ethernet hubs and/or switches to reduce
installation costs, increase reliability, and enable
point-to-point management and troubleshooting. Star
LAN was the first step in the evolution of Ethernet
from a coaxial cable bus to a hub-managed, twisted-
pair network. The advent of twisted-pair wiring
dramatically lowered installation costs relative to
competing technologies, including the older Ethernet Figure 2. Frame format of Ethernet
technologies. Above the physical layer, Ethernet Preamble bytes are sent to synchronize the other
stations communicate by sending each other data components on the network, then the MAC address
packets, blocks of data that are individually sent and of the source and the destination, then the data type
delivered. As with other IEEE 802 LANs, each and then the data. Then minimum frame size is 64
Ethernet station is given a single 48-bit MAC bytes and the maximum frame size is 1518 bytes.
address, which is used to specify both the destination
and the source of each data packet. [13] 1.2. Collisions.
The first Ethernet networks, 10BASE5, used thick
yellow cable with vampire taps as a shared medium Ethernet is a shared media, so there are rules for
(using CSMA/CD). Later, 10BASE2 Ethernet used sending packets of data to avoid conflicts and protect
thinner coaxial cable (with BNC connectors) as the data integrity. Nodes determine when the network is
shared CSMA/CD medium. The later Star LAN available for sending packets. It is possible that two
1BASE5 and 10BASE-T used twisted pair connected nodes at different locations attempt to send data at the
to Ethernet hubs with 8P8C modular connectors. [15] same time. When both PCs are transferring a packet
Currently Ethernet has many varieties that vary both to the network at the same time, a collision will
in speed and physical medium used. Perhaps the most result.[17]
common forms used are 10BASE-T, 100BASE-TX,
and 1000BASE-T. All three utilize twisted pair
cables and 8P8C modular connectors (often called
RJ45). They run at 10 Mbit/s, 100 Mbit/s, and 1
Gbit/s, respectively. However each version has
become steadily more selective about the cable it
runs on and some installers have avoided 1000BASE-
T for everything except short connections to servers.
[16]
Now I will discuss frame format of the Ethernet that
how Ethernet handles the data transformation
between two nodes or two machines in a small
network. The unit of the data size which Ethernet Figure 3. Two stations sending data at the same
transfers is known as Ethernet frames. To increase time as a result there is a collision.
the efficiency we should also consider the maximum These collisions badly affect the performance and
and minimum frame size of the data In order to speed of the network. In order to increase the
minimize the collisions in the network. performance and speed we have to minimize the
collisions. As there will be minimum number of
collisions so the speed of the network will increase.
1.3. Collision Domains. one person at the table talks, everyone present is able
to hear him other. [11] Now let's imagine that you are
A computer network can be segmented physically but at the table and you have something you would like
also logically. A collision domain is one of the to say. At the moment, however, I am talking. Since
logical network segments in which the data packets this is a polite conversation, rather than immediately
can collide to each other. One of the most common speak up and interrupt, you would wait until I
protocols used when referring to a collision domain is finished talking before making your statement. This
the Ethernet protocol. Collision domains are often is the same concept described in the Ethernet
referred as 'Ethernet segments'. [18] protocol as carrier sense. Before a station transmits,
The term of 'collision domain' is also used when it "listens" to the medium to determine if another
describing the circumstances in which a single station is transmitting. If the medium is quiet, the
network device sends packets throughout a network station recognizes that this is an appropriate time to
segment and forces every other device in that transmit.[11]
network segment to pay attention to those packets. Carrier-sense multiple accesses give us a good start
in regulating our conversation, but there is one
scenario we still need to address. Let’s go back to our
dinner table analogy and imagine that there is a
momentary lull in the conversation. You and I both
have something we would like to add, and we both
"sense the carrier" based on the silence, so we begin
speaking at approximately the same time. In Ethernet
terminology, a collision occurs when we both spoke
at once. In our conversation, we can handle this
situation gracefully. We both hear the other speak at
the same time we are speaking, so we can stop to
give the other person a chance to go on. Ethernet
nodes also listen to the medium while they transmit
to ensure that they are the only station transmitting at
that time. If the stations hear their own transmission
returning in a garbled form, as would happen if some
other station had begun to transmit its own message
Figure 4. Data Collision Domain at the same time, then they know that a collision
occurred. A single Ethernet segment is sometimes
'Collision domain' sometimes refers to a system called a collision domain because no two stations on
where a unique identifier is open for multiple the segment can transmit at the same time without
interpretations over different layers. The analogy to causing a collision. When stations detect a collision,
our Ethernet collision domain is very clear if not they cease transmission, wait a random amount of
obvious. [7] time, and attempt to transmit when they again detect
silence on the medium. The random pause and retry
2. CSMA/CD & Collision Detection. is an important part of the protocol. If two stations
collide when transmitting once, then both will need to
The acronym CSMA/CD signifies carrier-sense transmit again. At the next appropriate chance to
multiple access with collision detection and transmit, both stations involved with the previous
describes how the Ethernet protocol regulates collision will have data ready to transmit. If they
communication among nodes. [19] While the term transmitted again at the first opportunity, they would
may seem intimidating, if we break it apart into its most likely collide again and again indefinitely.
component concepts we will see that it describes Instead, the random delay makes it unlikely that any
rules very similar to those that people use in polite two stations will collide more than a few times in a
conversation. To help illustrate the operation of row. [20] A collision domain can also be a group of
Ethernet, we will use an analogy of a dinner table Ethernet/Fast Ethernet devices in a Local Area
conversation. Let’s represent our Ethernet segment as Network running on the Carrier Sense Multiple
a dinner table, and let several people engaged in Access/Collision Detection (CSMA/CD) feature and
polite conversation at the table represent the nodes. being connected through repeaters, thus competing
When one Ethernet station transmits, all the stations for network access. Since only one device in the
on the medium hear the transmission, just as when same collision domain can transmit data at a certain
point, the other devices in the network simply listen
in order to avoid data collisions. CSMA/CD is a set above. However, there are practical limits to the size
of rules telling each network device. When to start of our Ethernet network in this case. There is more
and stop transmitting data. When someone in the than one limitation in Ethernet network. One of them
network wants to transmit something, it "listens" to is collision. As there is a single sharing cable used in
the network at first in order to see if anyone else is Ethernet and there is more than one node in that
using the channel. If no one else is transmitting, the cable. So there are more chances of data collisions
device will go forward with its own transmission. while sending data from one node to the other node.
The usage of CSMA/CD is an efficient way of As in this report my main concern is to minimize that
avoiding network collisions, but it's not foolproof. It's collisions so in the next part my report I will discuss
obvious that if two devices follow the exact same how we can use different techniques to minimize
procedure at the exact same time, their transmissions collisions.
will 100% collide, and they will both become
unusable. A jam signal will be sent in order to let 5. Different devices.
everyone else know that a collision took place and
they should not send any data. The hosts that collided Engineers have developed a number of network
will each start a random timer, and when that ends, devices that alleviate these difficulties. Many of these
each host will begin to listen on the network again. devices are not specific to Ethernet, but play roles in
Of course, the more collisions in a network, the less other network technologies as well.
efficient the network is.[18]
5.1. Repeaters.
3. Collision Domain Diameter.
Repeaters are commonly known as hubs. Repeaters
The collision domain’s diameter is limited primarily connect multiple Ethernet segments, listening to each
by this timing issue. The diameter of the collision segment and repeating the signal heard on one
domain is the distance between the two furthest segment onto every other segment connected to the
nodes. Because of the potential for packet loss the repeater. Repeater is useful for a very small network
dimensions are limited to reflect the example above. segments. As they repeat the signal to all the other
The maximum diameter of a collision domain is the nodes connecting to it so it is not too much useful in
total time it takes for the smallest packet to travel a big network. As is a big network there is more
round trip between the two furthest DTE’s(Data chance of data collisions so repeaters will just repeat
terminal equipment) in that domain. Because the collisions too. [22]
Ethernet allow for variable packet sizes, the smallest
packet size is used (64 Bytes). Another important
consideration is that collision domains do not cross
over bridges or switches. Every port on a switch
represents a separate collision domain. [21]
The limitations posed by the CSMA/CD protocol are
important guidelines for designing a network. The
signals that packets consist of take time to travel over
the network. The time is doubled in the case of the
collision signal returning to the transmitting source
from the furthest node. With the 64 byte packet (512
bits) being the smallest packet size we can use the
time it takes this size packet to travel the network
serves as the measurement of a networks collision
domain diameter. When using the 512 bit packet in Figure 5. Repeater (Hub)
this way and knowing that the signal travels over all
media types in a finite fashion we can measure the
maximum diameter by the 512 bit times for a round
5.2. Bridges.
trip. [21]
In Ethernet bridges are commonly used to isolate
collision domains. The bridge therefore has to
4. Limitations in the Ethernet.
forward (receive and subsequently transmit) frames
from one LAN (e.g. LAN A below) to another (e.g.
A single shared cable can serve as the basis for a
LAN B). Obviously, the bridge could forward all
complete Ethernet network, which is what I discussed
frames, but then it would behave rather like a
repeater; it would be much smarter if the bridge only While Ethernet broadcasts cross bridges in their
forwarded frames which need to travel from one search to find every node on the network, they do not
LAN to another. To do this, the bridge needs to learn cross routers, because the router forms a logical
which computers are connected to which LANs. boundary for the network. Routers can isolate the
More formally, it need to learn whether to forward to broadcast domains. As broadcast domains can also
each address.[23] affect the performance of the network so using the
routers the overloading as well the collisions in a
segment of a network can also be reduced. [24]