Internetworking With Tcp/Ip Cosc 611 Credit Hours Year: I Semester: I
Internetworking With Tcp/Ip Cosc 611 Credit Hours Year: I Semester: I
Internetworking With Tcp/Ip Cosc 611 Credit Hours Year: I Semester: I
CoSc 611
Credit Hours : 3 Lecture Hours
Year: I Semester: I
Dr.P.Sudhakar Periyasamy
Origins of TCP/IP
1950’s – 1960’s – US Govt. requirement for “rugged(uneven surface)”
network that would continue to work in case of a nuclear attack
RAND Corporation (America’s leading think thank) & DoD formed ARPA
(Advanced Research Project Agency)
– “connection oriented”
– Decentralised
Want to connect them all together and provide a unified view of the whole lot (i.e.
act as a single large network)
Network Connection Types
The “nuts and bolts” view of the Internet
Guaranteed performance
frequency
time
Each mobile’s share of the bandwidth is divided into portions for the uplink and the downlink.
TDM
frequency
time
Packet Switching
Each end-end data stream divided Resource conflict:
into packets
Collective resource demand can
Packets across flows share network
resources exceed than amount available
1 Mb/s link
Each user:
– 100 kb/s when “active”
– active 10% of time
N users
Circuit-switching: 1 Mbps link
– 10 users
Packet switching:
– with 35 users, probability > 10
active less than .0004
Edge vs. core functionality
network
networks”
Seven second level goals
computers
TCP and IP but includes other protocols such as UDP, RTP, etc
Open Systems & TCP/IP
TCP/IP formed from standardized communications procedures that were
platform independent and open
Open systems
1. Open the Network Settings dialog box (double-click the Network icon in the Control Panel).
2. Click Add in the Protocols tab to open the Select Network Protocol dialog box.
3. Select TCP/IP Protocol in the Network Protocol list and choose OK.
4. The next prompt asks, “Do you wish to use DHCP?” If this computer will obtain its IP
address from DHCP, choose Yes. If this computer will be configured with a static IP
address, choose No.
5. When prompted, supply the path where Setup can locate the driver files.
6. Choose Close to exit the Network settings dialog box. After recalculating the bindings, Setup
shows you a Microsoft TCP/IP Properties dialog box that will, at first, be blank.
Contd….
7. If more than one adapter has been installed, select the adapter to be configured in the
Adapter list. (You should configure each adapter with a valid IP address for the subnet they
are on.)
8.If this computer will obtain its address configuration from DHCP for any of the network
adapters, click the Obtain an IP address from a DHCP server radio button.
9. If this computer will be configured with static addresses, click the Specify an IP address
radio button and complete the following fields:
IP Address (Required)
Subnet Mask (Required. Setup will suggest the default subnet mask appropriate for the IP
address you enter.) Default Gateway
10. Choose OK and restart the computer to activate the settings.
TCP/IP Services
Line Printer Daemon - enables you to share printers with many different types of hosts.
DHCP Relay Agent - extends the capabilities of DHCP service by allowing it to work across various
different subnets.
Windows Internet Name Service (WINS) - WINS server provides a centralized method of name
management that is both flexible and dynamic.
Simple Network Management Protocol Agent (SNMP) - track the performance of your TCP/IP
protocols.
Domain Name Server (DNS) - works with host names to allow you to integrate your systems into the
Internet or to resolve hosts on the Internet.
Topology
The physical topology of a network refers to the configuration of cables,
– Linear Bus
– Star
– Ring
– Mesh
– Tree or Hybrid
Linear Bus topology
A linear bus topology consists of a main run of cable with a terminator at
each end.
All servers workstations and peripherals are connected to the linear cable
Advantages and Disadvantage of Bus topology
28
Star topology
A star network is designed with each node (file server, workstation,
2) Easy to connect new nodes or devices central device increases the overall
A ring network is one where all workstations and other devices are
2) Performance is better than Bus topology the computers between source and
3) No need for network server to control the destination, slower than star topology
5) Each computer has equal access to resources which connects different components
32
Advantage and disadvantage of Mesh Topology
▸ possible to transmit data from one 1.This leads to idleness of many network
node to many other nodes at the same
time. connections.
▸ The failure of a single node does not 2.costs incurred in setup and maintenance are
cause the entire network to fail
high.
▸ It can handle heavy traffic
3. Owing to its complexity, the administration
▸ Point-to-point contact between every
pair of nodes, makes easy to identify of a mesh network is difficult.
faults.
34
Tree or hybrid topology
A tree or hybrid topology combines characteristics of linear bus and star
and/or ring topologies.
across a network
– Peer-to-peer
– Client/server
Peer to peer network OS
– In P2P network OS, there is no file server or central management source; all
computers are considered equal
– Peer to peer networks are designed primarily for small to medium LANS
Divide-and-conquer approach
– Upper layers are logically closer to the user and deal with more abstract data
– Lower layer protocols translate data into forms that can eventually be
physically transmitted.
OSI Model
OSI Model
7 Application
APPLICATION
6 Presentation
• Upper Layers
Session • Application oriented
5
• Independent of layers below
4 Transport
3 Network
TRANSPORT
Data Link • Lower Layers
2
• Transmission of data
1 Physical • No differentiation of upper layers
Layers 7, 6, 5
7: Application layer
6: Presentation layer
– Converts data from applications into common format and vice versa
5: Session layer
– E.g. TCP
– bundles bits into frames and moves frames between hosts on the same
link
– some link layers detect corrupted frames while other layers re-send
1: Physical layer
1101001000
OSI and TCP/IP
7 Application
Mail, Web, etc.
6 Presentation Application
5 Session
4 TCP/UDP – end to end reliability
Transport Transport
3 Network Network IP - Forwarding (best-effort)
OSI TCP/IP
Protocol Layers:
The TCP/IP Hourglass Model
Application layer
SMTP HTTP FTP Telnet DNS Audio Video
IP Network layer
Token Frame
Ethernet ATM X.25 PPP HDLC
Ring Relay
Data link layer
Layer Interaction
Application, Presentation and Session protocols are end-to-end
– IP over anything
– Different Locations
– network part identifies which network in the internetwork (e.g. the Internet)
205 . 154 . 8 1
11001101 10011010 00001000 00000001
Network Host
– Boundary can be anywhere
» very often NOT at a multiple of 8 bits
Classless Addressing
IP address with the subnet mask defines the range of
addresses in the block
– E.g 10.1.1.32/28 (subnet mask 255.255.255.240) defines the
range 10.1.1.32 to 10.1.1.47