Module 2
Module 2
enterprise
network
Introduction: 1-1
Access networks: cable-based access
cable headend
cable splitte
mode r
m
C
O
V V V V V V N
I I I I I I D D T
D D D D D D A A R
E E E E E E T T O
O O O O O O A A L
1 2 3 4 5 6 7 8 9
Channel
s
DSL splitte
mode r DSLAM
m
to/from headend or
central office
often combined
in single box
to
to Internet
Internet Introduction: 1-6
Access networks: enterprise
networks
Enterprise link
to
institutional
ISP (Internet)
router
Ethern institutional
et mail,
switch web servers
local or
regional
ISP
home network content
provider
network datacenter
network
Introduction: 1-13
Links: physical media
Coaxial cable: Fiber optic cable:
▪ two concentric copper conductors ▪ glass fiber carrying light pulses, each
pulse a bit
▪ bidirectional ▪ high-speed operation:
▪ broadband: • high-speed point-to-point
• multiple frequency channels on cable transmission (10’s-100’s Gbps)
• 100’s Mbps per channel ▪ low error rate:
• repeaters spaced far apart
• immune to electromagnetic noise
Introduction: 1-14
Links: physical media
Wireless radio Radio link types:
▪ signal carried in various ▪ Wireless LAN (WiFi)
“bands” in electromagnetic • 10-100’s Mbps; 10’s of meters
spectrum ▪ wide-area (e.g., 4G cellular)
▪ no physical “wire” • 10’s Mbps over ~10 Km
▪ broadcast, “half-duplex” ▪ Bluetooth: cable replacement
(sender to receiver) • short distances, limited rates
▪ propagation environment ▪ terrestrial microwave
effects: • point-to-point; 45 Mbps channels
• reflection ▪ satellite
• obstruction by objects • up to 45 Mbps per channel
• Interference/noise • 270 msec end-end delay
Introduction: 1-15
LAN Topologies
Frame
Transmission
on Bus LAN
Frame
Transmission
Ring LAN
Bridges
• Ability to expand beyond single LAN
• Provide interconnection to other LANs/WANs
• Use Bridge or router
• Bridge is simpler
— Connects similar LANs
— Identical protocols for physical and link layers
— Minimal processing
• Router more general purpose
— Interconnect various LANs and WANs
— see later
Why Bridge?
• Reliability
• Performance
• Security
• Geography
Functions of a Bridge
• Read all frames transmitted on one LAN and
accept those address to any station on the other
LAN
• Using MAC protocol for second LAN, retransmit
each frame
• Do the same the other way round
Bridge Operation
Bridge Design Aspects
• No modification to content or format of frame
• No encapsulation
• Exact bitwise copy of frame
• Minimal buffering to meet peak demand
• Contains routing and address intelligence
— Must be able to tell which frames to pass
— May be more than one bridge to cross
• May connect more than two LANs
• Bridging is transparent to stations
— Appears to all stations on multiple LANs as if they are on one single
LAN
Bridge Protocol Architecture
• IEEE 802.1D
• MAC level
— Station address is at this level
• Bridge does not need LLC layer
— It is relaying MAC frames
• Can pass frame over external comms system
— e.g. WAN link
— Capture frame
— Encapsulate it
— Forward it across link
— Remove encapsulation and forward over LAN link
Fixed Routing
• Complex large LANs need alternative routes
— Load balancing
— Fault tolerance
• Bridge must decide whether to forward frame
• Bridge must decide which LAN to forward frame
on
• Routing selected for each source-destination pair
of LANs
— Done in configuration
— Usually least hop route
— Only changed when topology changes
Loop of Bridges
Layer 2 and Layer 3 Switches
• Now many types of devices for interconnecting
LANs
• Beyond bridges and routers
• Layer 2 switches
• Layer 3 switches
Hubs
• Active central element of star layout
• Each station connected to hub by two lines
— Transmit and receive
• Hub acts as a repeater
• When single station transmits, hub repeats signal on outgoing line to
each station
• Line consists of two unshielded twisted pairs
• Limited to about 100 m
— High data rate and poor transmission qualities of UTP
• Optical fiber may be used
— Max about 500 m
• Physically star, logically bus
• Transmission from any station received by all other stations
Hub Layouts
• Multiple levels of hubs cascaded
• Each hub may have a mixture of stations and other hubs
attached to from below
• Fits well with building wiring practices
— Wiring closet on each floor
— Hub can be placed in each one
— Each hub services stations on its floor
Buses and Hubs
• Bus configuration
— All stations share capacity of bus (e.g. 10Mbps)
— Only one station transmitting at a time
• Hub uses star wiring to attach stations to hub
— Transmission from any station received by hub and
retransmitted on all outgoing lines
— Only one station can transmit at a time
— Total capacity of LAN is 10 Mbps
• Improve performance with layer 2 switch
Shared Medium Bus and Hub
Shared Medium Hub and
Layer 2 Switch
Layer 2 Switches
• Central hub acts as switch
• Incoming frame from particular station switched to
appropriate output line
• Unused lines can switch other traffic
• More than one station transmitting at a time
• Multiplying capacity of LAN
Layer 2 Switch Benefits
• No change to attached devices to convert bus LAN or hub
LAN to switched LAN
• For Ethernet LAN, each device uses Ethernet MAC protocol
• Device has dedicated capacity equal to original LAN
— Assuming switch has sufficient capacity to keep up with all devices
— For example if switch can sustain throughput of 20 Mbps, each
device appears to have dedicated capacity for either input or
output of 10 Mbps
• Layer 2 switch scales easily
— Additional devices attached to switch by increasing capacity of layer
2
Types of Layer 2 Switch
• Store-and-forward switch
— Accepts frame on input line
— Buffers it briefly,
— Then routes it to appropriate output line
— Delay between sender and receiver
— Boosts integrity of network
• Cut-through switch
— Takes advantage of destination address appearing at beginning of
frame
— Switch begins repeating frame onto output line as soon as it
recognizes destination address
— Highest possible throughput
— Risk of propagating bad frames
Layer 2 Switch v Bridge
• Layer 2 switch can be viewed as full-duplex hub
• Can incorporate logic to function as multiport bridge
• Bridge frame handling done in software
• Switch performs address recognition and frame forwarding
in hardware
• Bridge only analyzes and forwards one frame at a time
• Switch has multiple parallel data paths
— Can handle multiple frames at a time
• Bridge uses store-and-forward operation
• Switch can have cut-through operation
• Bridge suffered commercially
Problems with Layer 2 Switches
• As number of devices in building grows, layer 2 switches
reveal some inadequacies
• Broadcast overload
• Lack of multiple links
• Set of devices and LANs connected by layer 2 switches
have flat address space
— Allusers share common MAC broadcast address
— If any device issues broadcast frame, that frame is delivered to all
devices attached to network connected by layer 2 switches and/or
bridges
— In large network, broadcast frames can create big overhead
— Malfunctioning device can create broadcast storm
Problems with Layer 2 Switches
• Current standards for bridge protocols dictate no closed
loops
— Only one path between any two devices
— Impossible in standards-based implementation to provide multiple
paths through multiple switches between devices
• Limits both performance and reliability.
• Solution: break up network into subnetworks connected by
routers
• MAC broadcast frame limited to devices and switches
contained in single subnetwork
• IP-based routers employ sophisticated routing algorithms
— Allow use of multiple paths between subnetworks going through
Problems with Routers
• Routers do all IP-level processing in software
— High-speed LANs and high-performance layer 2
switches pump millions of packets per second
— Software-based router only able to handle well under a
million packets per second
• Solution: layer 3 switches
— Implementpacket-forwarding logic of router in hardware
• Two categories
— Packet by packet
— Flow based
Gateways
It is connected through help of a DCE DCE network acts as a medium for two
network. DTE networks.
RS-232D Interface
● At the time when there is a need to transmit many signals from the sender
side that sends simultaneously then multiplexer is used to convert many
signals into one so that on the receiving end we can get them simultaneously.
● As it is very expensive to send many signals differently and it also requires
more wires to send. Thus there is a need for multiplexing. Let us take an
example of T.V cable distributor who sends many channels through a single
wire.
Categories of Multiplexing
● Frequency-division multiplexing
● Wavelength-division multiplexing
● Time-division multiplexing
Frequency-Division Multiplexing
●
With this technique, signals having different frequencies are combined in a composite
signal and then transmitted on the link.
● It is mainly applied at the time when the bandwidth of the link is greater than the combined bandwidths of the
signal to be transmitted.
● In this, each signal is of a different frequency.
● The channel is usually separated by the strips of unused bandwidth that is the guard bands in order to prevent the signals from
overlapping.
● In the case of frequency division multiplexing, suppose the input signal is in the digital form then it must be converted to analog
before giving it as the input to the modulator.
Frequency-Division Multiplexing
● Here in FDM the transmission path is divided into three parts and each part mainly represents a
channel that carries one transmission.
Advantages & Disadvantages of FDM
Advantages:
● The Simultaneous transmission of a large number of signals is done easily.
● The demodulation of FDM multiplexing is easy.
● There is no need for synchronization between the transmitter and receiver for
proper operation.
● In the case of slow narrowband fading, there is only one single channel that
gets affected.
Disadvantages
● Communication channels must have a very large bandwidth.
● Another application of FDM is that it is used in television broadcasting.
● FDM is also used by first-generation cellular telephones.
Time-Division Multiplexing
In Synchronous TDM, each of the Input connection has an allotment in the output
even if it is not sending the data.
● In this multiplexing, each device is given the same time slot in order to
transmit data over the link whether it has to send data to the receiver or not.
● Each device places data on the link whenever its time slot arrives Thus
control is given to each device turn by turn.
● In case if any devices do not have any data to send then in that case the time
slot for that device remains empty.
● In this multiplexing, if there are 'n' sending devices then simultaneously there
will be 'n' time slots which means one time slot for each device.
Synchronous Time-Division Multiplexing
● Also, time slots are organized in the form of frames, where each frame
consists of one or more time slots.
Advantages & Disadvantages
Advantages
● This technique is easy to implement.
● The performance is guaranteed in using this technique.
Disadvantages
● If a user has no data to transmit in that case time slots will get wasted.
● In this multiplexing, the capacity of the transmission link must be always higher than
the total capacity of the input lines.
Asynchronous Time-Division Multiplexing
● Each slot mainly contains the address part that is used to identify the source
of the input data.
● The number of frames in this multiplexing depends upon the statical analysis
of the number of input lines.
● In the following diagram, out of 6 only 4 devices are sending data that are 1,2,4,6. In the above diagram, you
can see that the data part contains the address in order to determine the source of the data. Like A1(data along
with its source).
Advantages & Disadvantages
Advantages
● In this multiplexing, there is an efficient use of the capacity of transmission.
Disadvantages
● In this Multiplexing, frames are of different sizes.
● There is a need for the buffer address information is also needed because there are no
separate slots assigned for each user.
● This technique does not provide a fixed waiting time guarantee.
ADSL
● ADSL (Asymmetric Digital Subscriber Line) is a technology that facilitates fast data
transmission at a high bandwidth on existing copper wire telephone lines to homes
and businesses.
● Unlike regular dial-up copper telephone line service, ADSL provides continuously
available, always-on broadband connections.
● In order to access ADSL, a Digital Subscriber Line modem (DSL modem) is installed at
the client side. The DSL modem sends data bits over the local loop of the telephone
network.The local loop is a two – wire connection between the subscriber’s house and the
end office of the telephone company. The data bits are accepted at the end office by a
device called Digital Subscriber Line Access Multiplexer (DSLAM).
Features of ADSL