Pages

Showing posts with label netwark. Show all posts
Showing posts with label netwark. Show all posts

Monday, May 20, 2013

what is OSI Reference Model


The Open Systems Interconnection (OSI) Reference Model is a modular framework for developing standards that are based on a division of network operations into seven, sets of network services.
At one time, most vendors agreed to support OSI in one form or another, but the OSI was too loosely defined and proprietary standards were too entrenched. Except for the OSI-compliant X.400 and X.500e-mail and directory standards, which are still widely used, what was once thought to become the universal communications standard now serves as the teaching model for all other protocols. 
Most of the functionality in the OSI model exists in all communications systems, although two or three OSI layers may be incorporated into one. 
Example of how the OSI Layers work using an e-mail sent from the computer on the left.
Data travels from the sending computer down through all the layers to the physical layer where the data is put onto the network cabling, and then sent to the physical layer of the receiving computer where the process reverses and the data travels up through the layers to the application layer of the receiving computer.

E-mail sent from John:
Meet me at Carl's 1:30

John
E-mail received from John:
Meet me at Carl's 1:30

John


Identify sender
and intended receiver; is there an e-mail application available?

APPLICATION

layer 7 
Identified sender and intended receiver; found e-mail application.
Encode data with X coding key; use ASCII characters.

PRESENTATION

layer 6 
Decoded data with X decoding key; used ASCII characters.
Initiate and terminate the session according to X protocol.

SESSION

layer 5 
Initiated and terminated the session according to X protocol.
Make sure all data is sent intact.

TRANSPORT

layer 4 
Make sure all data has arrived intact.
Keep track of how many hops;

open shortest path First;

Go to IP address 255.65.0.123

NETWORK

layer 3 
Keep track of how many hops;

opened the shortest path First;

Went to IP address 255.65.0.123
Is the initial connection set up? Put data into frames according to X standard.

DATA LINK

layer 2 
The initial connection set up. Decoded data in frame according to X standard.
Send as electrical signal over the network cable at X voltage, and X Mbps.

PHYSICAL

layer 1 
Receive electrical signal over the network cable at X voltage, and X Mbps.

A look at each of the OSI layers , and the role it plays.
APPLICATION

layer 7
Gives user applications access to network. This layer represents the services, that directly support the user applications such as software for file transfers, database access, and E-mail
PRESENTATION

layer 6
The presentation layer, usually part of an operating system, converts incoming and outgoing data from one presentation format to another. Presentation layer services include data encryption and text compression.
SESSION

layer 5
Opens manages, and closes conversations between two computers. It performs name recognition and the functions such as security, needed to allow two applications to communicate over the network, also provides error handling.
TRANSPORT

layer 4
This layer provides transparent transfer of data between end systems, or hosts, and is responsible for end-to-end error recovery and flow control. It ensures complete data transfer.
Sequences data packets, and requests retransmission of missing packets. It also repackages messages for more efficient transmission over the network.
NETWORK

layer 3
Establishes, maintains and terminates network connections. Routes data packets across network segments. Translates logical addresses and names into physical addresses.
DATA LINK

layer 2
Transmits frames of data from computer to computer on the same network segment. Ensures the reliability of the physical link established at layer 1. Standards define how data frames are recognized and provide the necessary flow control and error handling at the frame set.
The data link layer is divided into two sublayers: The Media Access Control (MAC) layer and the Logical Link Control (LLC) layer. The MAC sublayer controls how a computer on the network gains access to the data and permission to transmit it. The LLC layer controls frame synchronization, flow control and error checking.
PHYSICAL

layer 1
The Physical layer defines all the electrical and physical specifications for devices. This includes the layout of pins, voltages, and cable specifications. Hubs, repeaters and network adapters are physical-layer devices.
Defines cabling and connections. Transmits data over the physical media.
Some common network devices and protocols and where they are implemented in the OSI model.

OSI LAYER 

DEVICES 

PROTOCOLS 
APPLICATION

layer 7

SNMP, SMTP, FTP, TELNET, HTTP, NCP,
SMB, AppleTalk
PRESENTATION

layer 6

NCP, AFP, TDI
SESSION

layer 5

NetBIOS
TRANSPORT

layer 4

NetBEUI, TCP, SPX, NWlink
NETWORK

layer 3
Routers, layer 3 (or IP) switches.
IP, IPX, NWlink, NetBEUI
DATA LINK

layer 2
Bridges and switches, Ethernet incorporates both this layer and the Physical layer.
-
PHYSICAL

layer 1
Hubs, repeaters, network adapters, Parallel SCSI buses. Various physical-layer Ethernet incorporates both this layer and the data-link layer. Token ring, FDDI, and IEEE 802.11.
-
The unofficial other OSI Layer 2.5
While not a part of the official OSI model, the term "Layer 2.5" has been used to categorize some protocols that operate between the data link layer 2 and the network layer 3. For example, Multiprotocol Label Switching (MPLS) operates on packets (layer 2) while working with IP addresses (layer 3) and uses labels to route packets differently.
Interfaces
In addition to standards for individual protocols in transmission, there are also interface standards for different layers to talk to the ones above or below, usually operating system specific. For example, Microsoft Winsock, and Unix's sockets and System V Transport Layer Interface, are interfaces between applications (layers 5 and above) and the transport (layer 4). NDIS and ODI are interfaces between the media (layer 2) and the network protocol (layer 3).
Layer
Examples
TCP/IP
AppleTalk
OSI
Novell IPX
Application
HL7

Modbus

SIP
HTTP

SMTP

SMPP

SNMP

FTP

Telnet

NFS

NTP
AFP

PAP
FTAM

X.400

X.500

DAP

Presentation
TDI

ASCII

EBCDIC

MIDI

MPEG
XDR

SSL

TLS
AFP

PAP
ISO 8823

X.226

Session
Named Pipes

NetBIOS

SAP

SDP
Session establishment for TCP
ASP

ADSP

ZIP
ISO 8327

X.225
NWLink
Transport
NetBEUI
TCP

UDP

RTP

SCTP
ATP

NBP

AEP

RTMP
TP0

TP1

TP2

TP3

TP4

OSPF
SPX

RIP
Network
NetBEUI

Q.931
IP

ICMP

IPsec

ARP

RIP

BGP
DDP
X.25 (PLP)

CLNP
IPX
Data Link
Ethernet

Token Ring

FDDI

PPP

HDLC

Q.921

Frame Relay

ATM

Fibre Channel

LocalTalk

TokenTalk

EtherTalk

Apple Remote Access

PPP
X.25 (LAPB)

Token Bus
IEEE 802.3 framing

Ethernet II framing
Physical
RS-232

V.35

V.34

Q.911

T1

E1

100BASE-TX

ISDN

SONET

DSL

Localtalk on shielded, Localtalk on   unshielded
(PhoneNet)
X.25 (X.21bis)

EIA/TIA-232

EIA/TIA-449

EIA-530

G.703

notes:
X.400 An ISO and ITU standard for addressing and transporting e-mail messages. It conforms to layer 7 of the OSI model and supports several types of transport mechanisms, including Ethernet, X.25, TCP/IP, and dial-up lines.

X.500 An ISO and ITU standard that defines how global directories should be structured. X.500 directories are hierarchical with different levels for each category of information, such as country, state, and city. X.500 supports X.400 systems.

Media Access Control Layer is one of two sublayers that make up the Data Link Layer of the OSI model. The MAC layer is responsible for moving data packets to and from one Network Interface Card (NIC) to another across a shared channel.
The MAC sublayer uses MAC protocols to ensure that signals sent from different stations across the same channel don't collide.
Different protocols are used for different shared networks, such as Ethernets, Token Rings, Token Buses, and WANs.

Saturday, May 11, 2013

What is IP address

A unique string of numbers separated by periods that identifies each computer attached to the Internet

IP stands for Internet Protocol.An Internet Protocol(IP) address refers to a unique number assigned to each computer on the Internet.An IP address consists of four numbers, each of which contains one to three digits, with a single dot (.) separating each number or set of digits. Each of the four numbers can range from 0 to 255. Here's an example of what an IP address might look like: 78.125.0.209
There are five classes of available IP ranges: Class A, Class B, Class C, Class D and Class E, while only A, B, and C are commonly used:
Class A------------------> 1.0.0.1 to 126.255.255.254
Class B -----------------> 128.1.0.1 to 191.255.255.254
Class C -----------------> 192.0.1.1 to 223.255.254.254
Class D------------------> 224.0.0.0 to 239.255.255.255
Class E -----------------> 240.0.0.0 to 254.255.255.254
Web definitions
  • An Internet Protocol address (IP address) is a numerical label that is assigned to any device participating in a computer network that uses the Internet Protocol for communication between its nodes. ...

  • (Internet Protocol address) A number assigned to each computer's or other device's network interface(s) which are active on a network supporting the Internet Protocol, in order to distinguish each network interface (and hence each networked device) from every other network interface anywhere on ...

  • (IP Addresses) We use IP addresses to analyse trends, administer our site and track your movements whilst on our site. IP addresses do not supply us with personally identifiable data.

Monday, April 15, 2013

what is difference between ipv4 and ipv6


What is Internet Protocol -- IP?

IP (short for Internet Protocol) specifies the technical format of packets and the addressing scheme for computers to communicate over a network. Most networks combine IP with a higher-level protocol called Transmission Control Protocol (TCP), which establishes a virtual connection between a destination and a source. 

IP by itself can be compared to something like the postal system. It allows you to address a package and drop it in the system, but there's no direct link between you and the recipient. TCP/IP, on the other hand, establishes a connection between two hosts so that they can send messages back and forth for a period of time. 

There are currently two version of Internet Protocol (IP): IPv4 and a new version called IPv6. IPv6 is an evolutionary upgrade to the Internet Protocol. IPv6 will coexist with the older IPv4 for some time.

What is IPv4 -- Internet Protocol Version 4?

IPv4 (Internet Protocol Version 4) is the fourth revision of the Internet Protocol (IP) used to to identify devices on a network through an addressing system. The Internet Protocol is designed for use in interconnected systems of packet-switched computer communication networks (see RFC:791). 

IPv4 is the most widely deployed Internet protocol used to connect devices to the Internet. IPv4 uses a 32-bit address scheme allowing for a total of 2^32 addresses (just over 4 billion addresses).  With the growth of the Internet it is expected that the number of unused IPv4 addresses will eventually run out because every device -- including computers, smartphones and game consoles -- that connects to the Internet requires an address.

A new Internet addressing system Internet Protocol version 6 (IPv6) is being deployed to fulfill the need for more Internet addresses.

What is IPv6 -- Internet Protocol Version 6?

IPv6 (Internet Protocol Version 6) is also called IPng (Internet Protocol next generation) and it is the newest version of the Internet Protocol (IP) reviewed in the IETF standards committees to replace the current version of IPv4 (Internet Protocol Version 4). 

IPv6 is the successor to Internet Protocol Version 4 (IPv4). It was designed as an evolutionary upgrade to the Internet Protocol and will, in fact, coexist with the older IPv4 for some time. IPv6 is designed to allow the Internet to grow steadily, both in terms of the number of hosts connected and the total amount of data traffic transmitted.

IPv6 is often referred to as the "next generation" Internet standard and has been under development now since the mid-1990s. IPv6 was born out of concern that the demand for IP addresses would exceed the available supply.

While increasing the pool of addresses is one of the most often-talked about benefit of IPv6, there are other important technological changes in IPv6 that will improve the IP protocol:
  • No more NAT (Network Address Translation)
  • Auto-configuration
  • No more private address collisions
  • Better multicast routing
  • Simpler header format
  • Simplified, more efficient routing
  • True quality of service (QoS), also called "flow labeling"
  • Built-in authentication and privacy support
  • Flexible options and extensions
  • Easier administration (say good-bye to DHCP)
Recommended Reading: IPv6: Preparing for the Migration

The Difference Between IPv6 and IPv4 IP Addresses

An IP address is binary numbers but can be stored as text for human readers.  For example, a 32-bit numeric address (IPv4) is written in decimal as four numbers separated by periods. Each number can be zero to 255. For example, 1.160.10.240could be an IP address.
IPv6 addresses are 128-bit IP address written in hexadecimal and separated by colons. An example IPv6 address could be written like this: 3ffe:1900:4545:3:200:f8ff:fe21:67cf (see "What does an IPv6 address look like?")  

A Dictionary of IPv6 Related Terms

Webopedia's Network and Internet Protocols Category offers definitions to hundreds of technology terms and phrases related to network protocols. You can view all related sub-categories and term definitions here.

Related IPv6 Articles

IPv6: Preparing for the Migration 
IPv6 is here. With the move to a 128-bit address space will come a fundamental shift in the way you think about your network. Are you ready to migrate? Still learning about the challenges? Check in here as we add to our collection of IPv6 resources.

Is the U.S. Ready For The IPv6 Challenge?
In the third volume of its report to the government about IPv6 transition, Juniper Networks outlined some of the key challenges and initiatives the government will have to undertake in order to meet the federally mandated IPv6 transition deadline of June 2008.

Understanding IPv6
We're going to spend some time teaching you a number of incredibly wonderful things about IPv6, such as why network administrators need to get their duffs up and implement it, bullet points to persuade the bosses, and, of course, how to actually use it.