LAN
LAN
LAN Standards
• Networks we need to have set of rules/standards for
the data to travel from one computer to other
computer
• One such set of rules for the networking traffic to
follow is IEEE802 standards
• Its developed by IEEE (Institute of Electrical and
Electronics Engineers, Inc.)
• The standards such as IEEE 802 helps industry
provide advantages such as,
– interoperability,
– low product cost, and
– easy to manage standards.
• IEEE standards deal with only Local Area Networks (LAN)
and Metropolitan Area Networks (MAN).
IEEE 802 Addresses
• All 802 protocols use the same address format
– 48-bit, globally-unique addresses
– Advantage: any interface can be plugged into any LAN
worldwide without danger of collision
• First 24 bits: Organizationally Unique Identifier (OUI)
Address space administered by IEEE, assigned to
organizations Typically manufacturers of equipment
(interfaces) • To get an OUI currently costs $1650
• Last 24 bits: set by the organization
– Example: MAC address 00-19-C5-01-23-45
OUI 00-19-C5 is registered to Sony Corp
IEEE 802.3 Ethernet (CSMA/CD)
• (CSMA/CD) was used to send data over shared
single co-axial cable connected to all
computers on a network
• CSMA/CD system to connect multiple personal
computers on a single cable. It was named as
Ethernet.
• Ethernet or IEEE802.3 standards only define
MAC (Data link) and Physical layer of standard
OSI model.
• Wiring and cabling standards of 802.3
• The four types of cables are,
1. 10Base5
2. 10Base2
3. 10Base-T
4. 10Base-F
• The 10 in the technical name refer to data speed of 10Mbits/sec.
Technical Name Cable/Wire type Max. Segment/wire Length Maximum number of Advantages
Nodes/Segment
10Base5 Thick coaxial 500 meters 100 Long cable length
•
where
k = number of stations ready to transmit
p = probability that a station will retransmit
A is maximized when p is 1/k
When p is 1/k, A --> 1/e as k --> infinity
•
is the probability that the contention window is j slots
Mean number of slots per contention is:
Let
F = frame length B = bandwidth L = cable length c = speed of light
P = F/B
and
SD = Starting Delimiter
ED = Ending Delimiter
They contains invalid differential Manchester codes
AC= Access Control, i.e. data or control or token
Point Ethernet Token Ring
Cost Less Expensive & Easy to More Expensive & more complex
install compared to Ethernet
Stability Less Stable & Secure More stable & secure than Ethernet
Scalability Easy as compared to token Difficult to add computers &
ring & less effect on performance considerably reduces
performance
QoS Use CSMA/CD for media Uses token ring & suitable with
access control suitable for small to medium size LAN
large no. of computers
DHCP
• DHCP- Dynamic Host Configuration Protocol
• Each computer that uses the TCP/IP protocol suite needs to
know
– its IP address
– Subnet & Subnet Masking
– IP address of a default router &
– IP address of a name server
i.e. four pieces of information are normally needed.
• This info is stored in configuration file & accessed at the time
of booting process
• DHCP is the preferred mechanism for dynamic assignment of
IP addresses to host
Why is DHCP Important?
• Important when it comes to adding a machine to a
network
• When computer requests an address, the
administrator would have to manually configure the
machine
Mistakes are easily made
Causes difficulty for both administrator as well as
neighbors on the network
• DHCP solves all the hassle of manually adding a
machine to a network
How does DHCP work?
• When a client needs to start up TCP/IP operations, it
broadcasts a request for address information
• The DHCP server will not reallocate the address during the
lease period and will attempt to return the same address
every time the client requests an address
• The client can extend its lease or send a message to the server
before the lease expires it that it no longer needs the address
so it can be released and assigned to another client on the
network
DHCP packet format
Flag format
TCP/IP Protocol Suite 33
Figure 18.7 Option with tag 53