Beruflich Dokumente
Kultur Dokumente
ER/CORP/CRS/OS41/003
Course Objectives
To introduce the general concepts of computer networks, internetworking, network architecture and network security. To introduce the Client Server concepts, WWW, and Web application development To provide the overview of Web application performance, Securing the web application and mobile web application.
Course Agenda
Day1 Basics of Computer Networks Network Architecture
OSI-ISO reference Model
Day2 Client Server Concepts Introduction to World Wide Web Web Application
References
James F. Kurose, Keith W. Ross, Computer Networking: A Topdown Approach Featuring the Internet, Pearson International, 3rd Edition, 2005. William Stallings, Business Data Communications, 5/E, Prentice Hall, 2005. Douglas E Comer, Internet Book, The: Everything You Need to Know About Computer Networking and How the Internet Works, 4/E, Prentice Hall, 2007 William Stallings, Network Security Essentials: Applications and Standards, Prentice Hall, 3rd Edition, 2007 Raymond Panko, Corporate Computer and Network Security, Prentice Hall, 2004 Jeffrey C. Jackson, Web Technologies: A Computer Science Perspective, Prentice Hall, 2007 http://www.ietf.org/ http://www.w3.org/ http://www.vpnc.org/vpn-standards.html
Copyright 2008, Infosys Technologies Ltd.
ER/CORP/CRS/OS41/003
Computer Network
A collection of computers interconnected to exchange information Need for computer networks
Intrinsically distributed information Resource sharing Computational power (load sharing) Reliability
Network Topology
Network Topology
Refers to how the computers are connected in a network either physically or logically Geometric representation of relationship of all the computer and interconnecting devices
10
Star Topology
Each node (computer/device) has a dedicated point-to-point link to the central node If one node wants to send packet to another, it sends the packet to the controller/switch, which then relays the packet to the other connected node
switch
11
Ring Topology
Each node (computer/device) has a dedicated point-to-point link with the two nodes on either side of it Data packet is passed along the ring in one direction, from one node to node, until it reaches its destination
12
Bus Topology
One long cable run as a backbone (bus) to link all the nodes in the network Nodes (computer/device) are connected to the bus by drop lines
Drop line
Backbone
Terminator
13
Network Architecture
Defines the design and implementation of computer networks Has a layered approach which helps in
Reducing the design complexity Shielding the implementation details of the services
Each layer provides services to the layer above Different protocols are followed between corresponding layers in Sender and Receiver Two popularly referenced architectures are
ISO-OSI model TCP/IP model
14
15
Application
Presentation
Application
Presentation protocol
Presentation
Session protocol
Session
Session Segment
Transport
Transport protocol
Transport
Network
Network protocol
Network
Packet
Data link
Data link
Physical link protocol
Frame Bit
Physical
Physical
16
Data Link
Deals with frames, node-to-node delivery, error and flow control Physical Deals with bits, electrical specifications
Physical
17
Application Layer
Top most layer which gives services to the application Provides a means for the application process to access the environment Contains a variety of protocols that are commonly needed Examples
FTP EMAIL (SMTP) RLOGIN (Telnet) WWW (HTTP) Newsgroups
Copyright 2008, Infosys Technologies Ltd.
18
Presentation Layer
Basically concerned with the syntax and semantics of the information transmitted Resolves common data formats Big Endian versus small Endian Deals with data compression, encryption & decryption
19
Session Layer
Allows users of different machines to establish sessions between them Manages dialogue control Provides synchronization
20
Transport Layer
The primary function of this layer is to accept data from the session layer, split it into smaller units if required and then pass these to the network layer. Deals with delivery of messages (end to end message delivery) Retransmission in case of failures Transport Layer protocols,
Transmission Control Protocol (TCP ) Sequence Packet Exchange (SPX)
21
Network Layer
Primarily deals with
Routing the packets from source to destination congestion control
22
23
Physical Layer
Deals with physical aspects such as
raw bit transmission voltage of each bit number of bits physical connectors ( RS-232C, X.21 ) Transmission mode ( simplex, half-duplex, fullduplex)
24
Network Components
There are many different devices for interconnecting networks.
Repeaters Bridges Routers Gateway
LAN LAN LAN Repeater
Bridge
Router/Switch
IP network
X.25
Network
Gateway
LAN
Copyright 2008, Infosys Technologies Ltd.
25
Bridges
divides a large network into smaller operates in both the physical and data link layer of network
Routers
interconnects similar or dissimilar networks together operates in physical, data link and network layer of network
Gateways
interconnects dissimilar networks together operates in all the layers of network
Copyright 2008, Infosys Technologies Ltd.
26
Internetworking
ER/CORP/CRS/OS41/003
Internet
Internet
Huge network of networks
Host/Node
Communicating system connected to the network Millions of hosts hooked on to the Internet
Communication Protocol
TCP/IP
28
What is Internetworking?
Interconnection of various heterogeneous/homogeneous networks Network of Networks
29
ISP Network
Modem Laptop
Internet
30
31
192.168.121.0 Network
1111110000010010 0011111001000100 1010001000011111 0010101110010001 1110111111000001 0010010001000011 1110010101110010 0011110011111001 0001001010001000 0111110001000111 1001111100100011 1100111110111001 Data /File
192.168.121.40 192.168.223.208 4 10100010000111.. 192.168.121.40 192.168.223.208 ` 00100100010000.. 192.168.121.40 192.168.223.208 2 0111110001000.. 192.168.121.40 192.168.223.208 1 1100111110111..
Packets
192.168.121.40 192.168.121.40 192.168.121.40 192.168.223.208 192.168.223.208 192.168.223.20 1 2 3 1100111110111.. 0111110001000.. 00100100010000.
F
192.168.223.208
1111110000010010 0011111001000100 1010001000011111 0010101110010001 1110111111000001 0010010001000011 1110010101110010 0011110011111001 0001001010001000 0111110001000111 1001111100100011 1100111110111001
32
IP addressing
ER/CORP/CRS/OS41/003
IP address is provided by the Internet service provider IP addresses are a scarce resource!!
34
IP Address (IPV4)
EXAMPLE: 130.195.128.25
w NETWORK ID
y HOST ID
1 0 0 0 0 0 1 0 1 1 0 0 0 0 1 1 1 0 0 0 0 0 0 0 0 0 0 1 1 0 0 1
130
195
128
25
35
Class A
0
w
NETWORK ID
y HOST ID
126
16,777,214
Class B
1 0
16,384
65,534
NETWORK ID Class C
1 1 0 w
HOST ID
x NETWORK ID
z HOST ID
36
2,097,152
254
C
D
192.0.0.0 to 223.255.255.255
224.0.0.0 to 239.255.255.255 (Multi-Casting)
240.0.0.0 to 247.255.255.255
37
Private Addresses
IP Standard defines specific address ranges within Class A, Class B, Class C reserved for use by Private Networks.
Class
Range
A B C
38
39
DHCP SERVER
Internet
DHCP SERVER
IBM Compatible
40
41
Host can also be identified with Name User submits the request to the Domain Name Domain Name Server
Translates Domain Name to IP Address and vice versa De-centralized
42
Intranet Vs Internet
Internet
Not owned by any single entity Have publicly known IP addresses (Unique world-wide) Information access is open to everyone
Intranet
Used by corporations for their own business or operational needs Usually accessible only to the members, employees of the organization Use the same technology as Internet Smaller in size Private network Better controlled and more secure
43
Summary
Basics of Computer Networks Network Architecture
OSI-ISO reference Model
44
Thank You
The contents of this document are proprietary and confidential to Infosys Technologies Ltd. and may not be disclosed in whole or in part at any time, to any third party without the prior written consent of Infosys Technologies Ltd. 2008 Infosys Technologies Ltd. All rights reserved. Copyright in the whole and any part of this document belongs to Infosys Technologies Ltd. This work may not be used, sold, transferred, adapted, abridged, copied or reproduced in whole or in part, in any manner or form, or in any media, without the prior written consent of Infosys Technologies Ltd.
45
Appendix 1
Self Study
ER/CORP/CRS/OS41/003
Comparison of Topology
Feature
Mesh
Star
Low
Ring
Low Variable (1 to n-1 hops) Low
Bus
Low Low
Low
47
Application
TCP, UDP
Transport
routing and delivery of data across networks. IP, ICMP. IGMP, DHCP, RIP, OSPF
Internet
Network Access
MAC Protocols: Ethernet (CSMA/CD) CSMA/CA, Token ring, Token Bus, ARP
48
Appendix 2
Self Study (The following slides are not included for assessment)
ER/CORP/CRS/OS41/003
Sub-Networking
Creating sub-networks within a given IP address range
Extends the network portion of IP address into the Host Part Converts the rigid boundary to arbitrary
Uses the Subnet mask to decide the no. of bits representing Physical Network ID and host ID
Default IP Address Definition
Internet ID Host ID
1 0 0 0 0 0 1 0 1 1 0 0 0 0 1 1 1 0 0 0 0 0 0 0 0 0 0 1 1 0 0 1 Internet ID Host ID
Sub-Netting
Physical Network
50
Sub-Networking (Contd)
130 IP Address
1 0 0 0 0 0 1 0 1 1 0 0 0 0 1 1 1 0 0 0 0 0 0 0 0 0 0 1 1 0 0 1 Internet ID
Physical Network
195
128
25
Host ID
Subnet Mask
1 1 1 1 1 1 1 1 1 1 1 11 1 1 1 1 1 1 1 0 0 0 0 0 0 0 0 0 0 0 0 0 3 Bits 5 Bits
255
255
224
51