Telecom tutorial
Telecom tutorial
3
2 3
5
2
3 1 6
1 1 2
1 4 5
Find the least cost path from node (1) to node (6)
using forward search algorithm.
Network : Network is a set of interconnected computers
Local Area Network : A computer network covering a small
geographic area ( usually less than 1 km2 )
Wide Area Network : A computer network that covers a broad
geographic area ( usually a collection of LANs )
Hub : A Hub is used in a wired network to connected Ethernet cables from number of
workstations together. Data packets sent from one machine are connected to rest of the
machines. The each machine check the header for the destination address. The intended
machine retrieves the packet while other machines discard it. Hubs are prone to packet
sniffing attacks. TCP dump/Net stumbler/ Wireshark(Ethereal) – A hub operates on layer 1 :
physical layer
Switch : A switch is a intelligent hub that forwards incoming frames to a specific port that
will take data to its intended destination. Reads the intended MAC address from the received
data frame and determines the forwarding port from the Switching Table and connect the
received frame to the intended port. Switch operates on MAC sub layer of the layer 2 : the
data link layer.
Computer B
Router : A router is an internetworking device commonly used to
connect different network types together. A router has two or more
interface, each interface connecting a different network type and
forwards packets according to its destination address. Router can be
seen as a layer 3 switch (network layer ). Router accepts incoming
packets from one network interface and forwards towards its intended
destination. Routers are the basic building block holding the internet
in place. Routers uses IP address instead of MAC addresses and
constructs routing table from the received packets.
Computer A
Modem : A modem is a communication device that converts one form of signal to another
that is suitable for transmission over communication network such as telephone lines, typically
from digital to analogue and from analogue to digital.
Sending time -
Time to detect collision - 2
Transmitted frame length - T
Propagation delay to frame length ratio - a T
Number of retries needed - K
Therefore average time for transmitting one frame - tv
tv T 2K
T 1 2 K Utilization factor - U T tv
T 1 T 1 2 K
U T tv 1 1 a1 2 K
T 1 a1 2 K
Wireless LAN - A computer network covering a small
geographic area that communicates with each other
without wires (wireless)
Advantages of wireless LAN -
Increased mobility of users
Increased flexibility
Instant networking
Availability of LAN technology
Functionality – Speed and Reliability, The network must work with reasonable
speed and reliability
Scalability – Ability to grow without major changes, The network must be able
to grow without any major changes to the overall design
Adaptability – Easily implements new technologies, The network should include
no element that would limit the use of new technologies as they
become available
Manageability – Facilitates monitoring and ease of Management, The network
must be able to allow ease of monitoring and managing
7 Layer OSI Model
Primary
1 0 prefix suffix
Class B Classes
1 1 1 0 multicast address
Class D
The class of the network must be identified from the first octet.
Subnet Masking
Rather than allocating address blocks in eight bit boundaries, which in certain cases could be a
waste of address space, arbitrary prefix and suffix lengths are introduced using a subnet mask.
Subnet mask is a 32 bit number in which left hand side ones correspond to prefix and right hand
side zeros correspond to suffix.
Rather than allocating address blocks in eight bit boundaries forcing 8, 16, 24 bit prefixes, it
uses arbitrary length prefixes.
CIDR Notation 192.168.0.3 / 16 Prefix length in bits
32bit IP address
*** Example :- Consider a private intranet of a large organization which consists of 4 physical networks.
One small, two medium sized and one extremely large network. Design suitable IP address
scheme.
128.11.0.2
128.11.0.1
128.10.0.1 128.10.0.2
Large Network
Small network
10.10.0.1 10.10.0.2
192.168.0.1 192.168.0.2
ARP : Address Resolution Protocol
ARP is the standard method of finding out hosts layer 2 MAC address when only its
layer 3 IP address is known. If host ‘A’ needs to send a a data packet to host ’B’,
host ‘A’ broadcasts ARP request packet containing ‘A’s MAC address. Host ‘B’
upon receiving the ARP request replies with its MAC address directly (unicast) to
host ‘A’ while other stations discard the ARP request. Host ‘A’ now having the MAC
address of host ‘B’ can directly send the data packet.
802.15
802.16a 802.11
Parameters (Bluetoo
(WiMax) (WLAN)
th)
Frequency Band 2-11GHz 2.4GHz Varies
~100meter ~10meters
Range ~31miles
s
20Kbps –
11 Mbps – 55 Mbps
Data transfer rate 70 Mbps
55 Mbps
Dozens
Number of Users Thousands Dozens
Aloha System
ALOHA was a pioneering computer networking system developed at the University
of Hawaii. Although the network itself is no longer used, the ALOHA project is quite
important as one of the core concepts in the ALOHA net is the basis for widely used
Ethernet technology.
Aloha key concept : If you have data send data. If the message collides try
resending the data later. The waiting time must be random
or the same frames will collide over and over again, in a
deadlock.
N – Number of frames generated by all the users connected per frame time
G – Total Number of frames generated per frame time (New and retransmitted) G ≥ N
G is also known as the channel traffic
S – Channel throughput per frame time, number of successful transmission per frame time
Channel throughput is equal to number of total packets generated in the system per
given time into the probability of a frame does not suffer collision
Aloha Capacity
S – Channel throughput per frame time, number of successful transmission per frame time
Channel throughput is equal to number of total packets generated in the system per
given time into the probability of a frame does not suffer collision
Therefore S = G.e-2G
Aloha Capacity
S – Channel throughput per frame time, number of successful transmission per frame time
Channel throughput is equal to number of total packets generated in the system per
given time into the probability of a frame does not suffer collision
Therefore S = G.e-2G
Capacity is the maximum throughput
Therefore S = G.e-G
Pure ALOHA system has a utilization factor of 37%, and therefore can reach a
maximum capacity of 14400x0.386 = 5558 bits/s