Beruflich Dokumente
Kultur Dokumente
3)
Advantages:
It is versatile- suit many applications
It is easy to use-no need to design the hardware interface or..
A wide selection of products is available-hardware, software, debugging
tools are available..
The hardware controls network access-hardware manages the network
traffic and no need for software to control network access
It is fast-supports from 10Mbps to 10Gbps
It can span long distances
Interfaces are electrically isolated
The cost id reasonable
Limits:
Cost-if keeping the cost to an absolute minimum is essential, there are
cheaper interfaces that are suitable for some applications like RS-485..
Real-time limits-does not support real time transfers with minimum delay
Efficiency- not very efficient when transferring small amount of data. to
transmit 1byte of data, 26 bytes-overhead, 45 bytes of padding..
Power consumption-at 5V, power consumption is around 50mA
Ethernet is not the only LAN standard token bus (802.4) and token
ring (802.5)
Wireless LAN standard WiFi (802.11)
Four types of cabling are commonly used:
Name
Cable
Max.seg
Nodes/seg.
Advantages
10Base5
Thick coax
500m
100
Original
cable, now
obsolete
Thin coax
185m
30
No hub
needed
(thick Ethernet)
10Base2
(thin Ethernet)
10Base-T
1024
Cheapest
system
10Base-F
Fiber optics
1024
Best between
buildings
2000m
Manchester encoding
None of the versions of Ethernet uses straight binary
encoding with 0 volts for 0 bit and 5volts for 1bit.
A way for receivers to unambiguously determine the start,
middle and end of a bit without reference to an external clock.
Two approaches
Manchester encoding
Each bit period is divided into two equal intervals. A binary 1
bit is sent by having the voltage set low during the first interval
and high in the second interval. A binary 0 is just the reverse
first high then low. This scheme ensures that every bit
period has a transition in the middle, making it easier for the
receiver to synchronize with the sender.
Preamble SOF destination add Source add Length data frame check sequence
Each frame starts with a preamble of 7bytes, and I byte for a start of frame
delimiter
Preamble bits are required to synchronize the receivers clock with the
senders.
The frame contains two addresses, one for the destination and one for
the source.
For 10Mbps base band standard 6-byte address are used
The higher order bit of the destination address 0 ordinary address
-1 group address. Multiple stations listen to a single address
Sending to a group of stations is called multicast.
Address consisting of all 1s broadcast.
The frame containing all 1s in the destination field is accepted by all
stations on the network.
Ethernet frames
All data in an Ethernet network travels in structures
called frames. An Ethernet frame has defined fields for
data and other information to help the data get to its
destination and to help the destination computer
determine whether the data has arrived intact.
The Ethernet controllers hardware places information to
be sent in frames for transmitting, and extracts and
stores the information in received frames.
Destination address
Every Ethernet interface has a 48-bit physical or hardware address
that identifies the interface on the network.
The destination address field contains the physical address of the
intended receiver of the frame.
The receiver may be an individual interface or a group of interfaces
identified by a multicast address or a broadcast address.
Every interface in the network reads the destination address of a
received frame. If the address does not match the physical address
or a multicast or broadcast address, the interface ignores the rest of
the frame.
The second bit of the destination address 0 address is assigned
by the manufacturer of the interface
- 1 address is administered locally.
Source address
48-bit physical address of the transmitting interface.
Length/Type field
16-bits that have one of two meanings.
The field can indicate the number of bytes of valid data in the data
field
The protocol used by the data in the field that follows
If the value is less than or equal to
1500 decimal, the value indicates length.
1536 decimal, the length/type field indicates the protocol that the
contents of the data field use.
Values from 1501 to 1535 decimal are undefined
The DIX standard defines this field as type
The original IEEE 802.3 defines this field as length
Data
The data is the information that the transmitting interface wants to read
Data field must be between 46 and 1500 bytes
If the data bits are fewer than 46bytes, the field must include pad bytes
to increase the size to 46 bytes.
If the transmitting interface has more than 1500 bytes to send, it uses
multiple frames
An Ethernet frame must be at least 512 bits(64bytes) not including the
preamble and SOF bits.- size of the frame with min. 45 data bytes.
Receiving interface ignore frames that are shorter than this min. size
Responding to collision
A collision results when two interfaces in the same collision domain
try to transmit at the same time.
All of the interfaces that connect via repeater hubs share a collision
domain or interfaces that connect directly via coaxial cable also
share a collision domain.
On detecting a collision, the transmitting interface does not stop
immediately. It continues long enough to be sure that the other
transmitting interfaces have time to detect collision.
A transmitting interface that has detected a collision always finishes
sending the 64bits of the preamble and SOF delimiter. Following
these, the interface sends an additional 32 bits called jam signal,
then stops transmitting.
Ethernet controllers
An embedded system that supports Ethernet requires Ethernet
controller hardware to provide the Ethernet interface
Ethernet communications are typically handled by a combination of
an Ethernet controller chip and device-driver code that communicate
with the controller.
The controller chip handles many of the details of sending and
receiving Ethernet frames.
Ethernet
Ethernet controller
is a network controller
compatible
To conclude..
The term Ethernet refers to the family of local-area network (LAN)
products covered by the IEEE 802.3 standard that defines what is
commonly known as the CSMA/CD protocol. Four data rates are
currently defined for operation over optical fiber and twisted-pair
cables:
10 Mbps10Base-T Ethernet
100 MbpsFast Ethernet
1,000 MbpsGigabit Ethernet
10,000 Mbps10 Gigabit Ethernet
Ethernet is currently used for approximately 85 percent of the world's
LAN-connected PCs and workstations. Ethernet is the major LAN
technology because of the following characteristics:
Is easy to understand, implement, manage, and maintain
Allows low-cost network implementations
Provides extensive topological flexibility for network installation
Guarantees successful interconnection and operation of
standards-compliant products, regardless of manufacturer