Eth 100
Eth 100
Ethernet Standards
XEROX later joined with DEC and Intel and this joint collaboration resulted as
base of IEEE 802.3 standard. Ethernet standards have been evolved for data
speed ranging from 10 Mbps to 100 Mbps and 1000Mbps. 10Mbps referred as
legacy Ethernet and is specified in 802.3. 100Mbps is referred as fast Ethernet
and is specified in 802.3u. Later 1000Mbps referred as gigabit Ethernet is
specified in 802.3z and 802.3ab based on transmission media to carry data.
Following table describes Ethernet standards.
Ethernet Standard
10Base5
10Base2
10BaseT
10BaseFL
2000m/Fiber
100BaseTx
100m/category 5 UTP
100BaseT4
100m/category 3 UTP
100BaseT2
100BaseFx
1000BaseLx
1000BaseSx
220-550m/multimode fiber
1000BaseLx
1000BaseCx
25 m /shielded copper
1000BaseT
100m/category 5 UTP
Topology
Topology is the shape of the network i.e. configuration by which nodes and
connecting lines are arranged. There are four basic topologies used by LAN.
They are Bus, Ring, Star and Tree. Ethernet uses these topologies to provide the
connectivity between nodes. The connecting medium between nodes can be
large coaxial cable or small coaxial cable or twisted pair or fiber optic or wireless
medium. Based on these different Ethernet versions exist.
CSMA/CD protocol
This protocol makes effective use of the bus between transmitting and receiving
nodes. CSMA/CD stands for Carrier Sense Multiple Access with Collision
Detection. For example, one node-A wants to transmit the data to node-B
connected on Ethernet medium. The software running on node-A sends the data
to NIC to build the packet. The packet is stored in the RAM of NIC and node-A
monitors the bus. If no carrier is present on the Ethernet network, node-A
transmits the packet over the medium. The data is broadcasted to all the PCs
connected on the Ethernet bus. All the receiving nodes compare destination
Ethernet address and whoever nodes' Ethernet address matches it will accept
the packet from the medium and rest of the others will discard the packet.
Whenever any one of the nodes transmits the information on the bus, all the PCs
detect what is known as carrier. Carrier is nothing but the data transmitted over
the bus at some rate as specified by Ethernet standard.
If collision is detected when two or more nodes try to transmit at the same time
then nodes will wait for some random period of time and will transmit again. This
protocol is referred as CSMA/CD.
Ethernet frames
Ethernet has two main layers as per OSI stack physical layer and data link layer.
These layers are involved in forming the Ethernet frame which is used to
package the data transported between nodes. These Ethernet frames are
processed by NICs (Network Interface Cards) in both the transmitting and
receiving devices. There are two frame formats DIX and 802.3. There is slight
different between these frame fields as shown in the figures below. Hence device
using DIX and one using IEEE802.3 need to adapt each other's frame formats in
order to communicate over LAN.
Fig.1
As shown in the DIX frame consists of preamble, destination address, source
address, type, data payload and FCS fields. Source and destination addresses
signify originating and terminating NICs respectively. This Ethernet addresses are
of 6 bytes each. Preamble is used for synchronization purpose in the receiving
Ethernet card. FCS is used for error detection purpose and is of 4 bytes. Data
payload part carries information and will be of size from about 46 to 1500 bytes.
Type field signifies higher layer protocol used for transmission of the frame for
example TCP/IP or UDP/IP.
Fig.2
As shown in the fig.2, IEEE 802.3 Ethernet frame consists of preamble, Start
Frame Delimiter (SFD), destination and source addresses, length, data and FCS
fields. SFD defines start of the frame and is usually contains 10101011 bit
sequence. Length field signifies number of bytes in data field portion of the
frame. If data field is less than 46 bytes, padding bytes of value zero is
appended. The difference between both the type of frame is that DIX contains
type field and 802.3 contains length field in the same position in the Ethernet
frame.
Encoding
In Ethernet digital data is directly transmitted over the cable and no modulation is
applied. In Manchester encoding data is mapped as per non return to zero format
which will have both positive and negative voltage in a single bit. Here Bit '1' is
represented as positive pulse followed by negative pulse. Bit '0' is represented as
negative pulse followed by positive pulse. As this signals are AC resulting into
zero voltage on the Ethernet cable. The positive to negative and negative to
positive transition at the center helps derive the clock signal from the information
data itself. Hence synchronous process is performed without even transmitting
the clock signal. Most of the Ethernet uses DC version of Manchester encoding.
Ethernet Network
Fig.3
Fig.3 shows simple Ethernet network connecting various work stations and
server using Ethernet hardware devices switches, hubs, router and gateway.
Ethernet Protocols
Following protocols are very useful for Ethernet testing. ARP and RARP are
already incorporated in the framework of internet protocol family in all the
Ethernet devices.