Top Banner
1 Internetworking : Internet architecture and TCP/IP Protocol TK3133 Computer Networking Technology
58

1 Internetworking : Internet architecture and TCP/IP Protocol TK3133 Computer Networking Technology.

Dec 26, 2015

Download

Documents

Jeffry Short
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: 1 Internetworking : Internet architecture and TCP/IP Protocol TK3133 Computer Networking Technology.

1

Internetworking : Internet architecture and TCP/IP Protocol

TK3133Computer

Networking Technology

Page 2: 1 Internetworking : Internet architecture and TCP/IP Protocol TK3133 Computer Networking Technology.

2

Introduction

Internetworking :– Concept– Architecture– Protocol

Page 3: 1 Internetworking : Internet architecture and TCP/IP Protocol TK3133 Computer Networking Technology.

3

Introduction

In the real world, computer is connected to various technology of LAN and WAN

In reality, network is heterogeneous – various network (and it is not homogeneous)

Contain millions of networks which connected to high-speed backbone

Each systems should adapt to various technology Introduce to internetworking concept

Page 4: 1 Internetworking : Internet architecture and TCP/IP Protocol TK3133 Computer Networking Technology.

4

Internetworking

Internetworking is a schema for connecting various network with different technology

Use both hardware and software Additional hardware are placed between network Software is in the computer that is connected with Connected networking system is called internetwork /

internet Also called as virtual network

Page 5: 1 Internetworking : Internet architecture and TCP/IP Protocol TK3133 Computer Networking Technology.

5

Internetworking

Why different network ?– Network differ with different protocols– Install own network – Different network use different technology

Internetworking Scenario

Page 6: 1 Internetworking : Internet architecture and TCP/IP Protocol TK3133 Computer Networking Technology.

6

Internetworking

Page 7: 1 Internetworking : Internet architecture and TCP/IP Protocol TK3133 Computer Networking Technology.

7

Network differences

Page 8: 1 Internetworking : Internet architecture and TCP/IP Protocol TK3133 Computer Networking Technology.

8

Physical network connection using router Router is a component or hardware device which is

used to connect networking Router has more interface on various networking Router send and deliver packet between networks Change the packet if necessary to fulfill the

standard of each network with different technology (is also called as gateway)

Page 9: 1 Internetworking : Internet architecture and TCP/IP Protocol TK3133 Computer Networking Technology.

9

Router

Example of two physical networks connected to a router that contain 2 different interfaces for each network connection

Page 10: 1 Internetworking : Internet architecture and TCP/IP Protocol TK3133 Computer Networking Technology.

10

Internet architecture

internetwork consist of various networks connected through router (Network can be LAN or WAN)

Page 11: 1 Internetworking : Internet architecture and TCP/IP Protocol TK3133 Computer Networking Technology.

11

Internet architecture

Router can have more that two interfaces

Page 12: 1 Internetworking : Internet architecture and TCP/IP Protocol TK3133 Computer Networking Technology.

12

Internet

The internet concept. (a) The illusion of a single network that TCP/IP software provides to users and applications, and (b) the underlying physical structure in which a computer attaches to one physical network, and routers interconnect the networks

Page 13: 1 Internetworking : Internet architecture and TCP/IP Protocol TK3133 Computer Networking Technology.

13

Internet seen by TCP/IP

Page 14: 1 Internetworking : Internet architecture and TCP/IP Protocol TK3133 Computer Networking Technology.

14

Protocol for Internet

TCP/IP is the most popular internetworking protocol

The first internetworking protocol Maintain by ARPA and taken over by

NSF Independent to platform and

manufacturer

Page 15: 1 Internetworking : Internet architecture and TCP/IP Protocol TK3133 Computer Networking Technology.

15

TCP/IP layer

OSI 7-layer model not include internetworking Model TCP/IP layer model contain 5 layers

Page 16: 1 Internetworking : Internet architecture and TCP/IP Protocol TK3133 Computer Networking Technology.

16

TCP/IP layer and OSI model

Page 17: 1 Internetworking : Internet architecture and TCP/IP Protocol TK3133 Computer Networking Technology.

17

TCP/IP Layer

Layer 5: Application Similar to layer 5,6 and 7 in OSI model

Layer 4: Transport Similar to layer 4 in OSI model ; provide reliable

transmission of data Layer 3: Internet

Define standard format packet sent through network with different technology and provide mechanism for packet transmission by router

Page 18: 1 Internetworking : Internet architecture and TCP/IP Protocol TK3133 Computer Networking Technology.

18

TCP/IP Layer

Layer 2: Network interface Similar to layer 2 in OSI; define framework format

Layer 1: Physical Similar to layer 1 in OSI; define basic of network

hardware

Page 19: 1 Internetworking : Internet architecture and TCP/IP Protocol TK3133 Computer Networking Technology.

19

Host, Router and Protocol Layer Host computer is any computer system connected to

internet and perform application TCP/IP allow the hosts at internet have direct

communication Both host and router needs TCP/IP stack Host normally has an interface and is not forwarding

packet Router forwards packet but does not need layer 4

and 5

Page 20: 1 Internetworking : Internet architecture and TCP/IP Protocol TK3133 Computer Networking Technology.

20

Network Layer Internet Protocol (IP)

How to manage network in network?– Use network layer protocol called as

Internet Protocol (IP)– Enable for a procedure running on a

computer sending data to application procedure that running on other computer at another distance network

Page 21: 1 Internetworking : Internet architecture and TCP/IP Protocol TK3133 Computer Networking Technology.

21

Internet Protocol (IP)

IP responsible for providing best-effort transmission for packet (or datagram)

How is the communication in the Internet ?– Transport layer takes data flow and divides them

into datagram– Network layer send each datagram through

Internet. Division into smaller unit may happen during this process.

Page 22: 1 Internetworking : Internet architecture and TCP/IP Protocol TK3133 Computer Networking Technology.

22

Internet Protocol(IP)

– At the destination, datagram is re-gathered by network layer to original datagram and is sent to transport layer

Best-effort does not guarantee in managing datagram overlapping problem, slow or not-sequence transmission, lost and corrupted data

Service that offered by IP is without connection IP define hardware-free packet format that can be

sent called Datagram IP

Page 23: 1 Internetworking : Internet architecture and TCP/IP Protocol TK3133 Computer Networking Technology.

23

Datagram IP

IPv4 defines datagram at maximum 64Kb Head format datagram IP

Page 24: 1 Internetworking : Internet architecture and TCP/IP Protocol TK3133 Computer Networking Technology.

24

Head Protocol of IPv4

Page 25: 1 Internetworking : Internet architecture and TCP/IP Protocol TK3133 Computer Networking Technology.

25

Datagram IP Format

FIELD Description VERSION Version number of datagram IP

IHLEN What is the length of datagram IP head

TOS Type of services offered

Total Length What is the length of datagram

Page 26: 1 Internetworking : Internet architecture and TCP/IP Protocol TK3133 Computer Networking Technology.

26

IP Protocol

Field Description

Identification Unique identification to datagram

Fragment Offset Offset for fragment

Time To Live Counter to maximum number of datagram longevity

Protocol Give protocol to top layer

Checksum Define genuine of head

Source/destination address

Full address of source/destination node

Option May be contain security option

Page 27: 1 Internetworking : Internet architecture and TCP/IP Protocol TK3133 Computer Networking Technology.

27

Fragmentation

Each network technology define the maximum data that can be sent in a packet. This limitation called MTU (Maximum Transmission Unit).

When a router accept a datagram that bigger than MTU, router would fragment datagram into smaller fragment

Each fragment is sent to a destination that responsible to match/reconnect the original datagram

Page 28: 1 Internetworking : Internet architecture and TCP/IP Protocol TK3133 Computer Networking Technology.

28

Fragmentation

a) Transparent fragmentation

b) Nontransparent fragmentation

Page 29: 1 Internetworking : Internet architecture and TCP/IP Protocol TK3133 Computer Networking Technology.

29

Fragmentation

Fragmentation when the elementary data size is 1 byte.(a) Original packet, containing 10 data bytes.(b) Fragments after passing through a network with maximum packet

size of 8 payload bytes plus header.(c) Fragments after passing through a size 5 gateway.

Page 30: 1 Internetworking : Internet architecture and TCP/IP Protocol TK3133 Computer Networking Technology.

30

Address issue

Main aspect in virtual network is a standard address format

Cannot use hardware address because different technology use different address format

Address format should independence to any address format of hardware address

Sending Host place internet destination address in packet/datagram

Router check destination address and send packet to destination

Page 31: 1 Internetworking : Internet architecture and TCP/IP Protocol TK3133 Computer Networking Technology.

31

TCP/IP address

Addressing in TCP/IP defined by Internet Protocol (IP)

Each host assigned to a 32-bit number Called IP address or Internet address Unique to throughout Internet Each datagram contain IP address of

source and destination

Page 32: 1 Internetworking : Internet architecture and TCP/IP Protocol TK3133 Computer Networking Technology.

32

IP address

Each IP address divided into two categories : network number (prefix) and host number (suffix)

Network number shows physical network in which computer connected

Host number shows unique number of computer at network

Address format enable routing to be efficient

Page 33: 1 Internetworking : Internet architecture and TCP/IP Protocol TK3133 Computer Networking Technology.

33

Define IP address

From 32-bit, some bit assigned to prefix and some to suffix

Prefix bigger , suffix smaller - many network, few host at network

Prefix smaller, suffix bigger - few network, many host at network

Because there are various technology, should allow smaller and bigger networks

Page 34: 1 Internetworking : Internet architecture and TCP/IP Protocol TK3133 Computer Networking Technology.

34

Address classification

Various address format to allow both small and big prefix

Each format called an address class A class is identified through the first four

bit

Page 35: 1 Internetworking : Internet architecture and TCP/IP Protocol TK3133 Computer Networking Technology.

35

Class Format of IP address

Page 36: 1 Internetworking : Internet architecture and TCP/IP Protocol TK3133 Computer Networking Technology.

36

IP address

Page 37: 1 Internetworking : Internet architecture and TCP/IP Protocol TK3133 Computer Networking Technology.

37

Using class IP

Class A, B and C are primary class– Used to normal host addressing

Class D for multicasting, a form of limited broadcast

Class E specify for future use

Page 38: 1 Internetworking : Internet architecture and TCP/IP Protocol TK3133 Computer Networking Technology.

38

Dotted Decimal Notation

IP number is binary number 32-bit. To make it easier dotted decimal notation is

used 32-bit number defined as 4 section 8-bit in

decimal number and use dot to separate section

To identify class from decimal number, can use address range

Page 39: 1 Internetworking : Internet architecture and TCP/IP Protocol TK3133 Computer Networking Technology.

39

Dotted Decimal Notation

Page 40: 1 Internetworking : Internet architecture and TCP/IP Protocol TK3133 Computer Networking Technology.

40

Dotted Decimal Notation

Page 41: 1 Internetworking : Internet architecture and TCP/IP Protocol TK3133 Computer Networking Technology.

41

Class Range from IP address

Page 42: 1 Internetworking : Internet architecture and TCP/IP Protocol TK3133 Computer Networking Technology.

42

Number of networks and hosts

Page 43: 1 Internetworking : Internet architecture and TCP/IP Protocol TK3133 Computer Networking Technology.

43

Example of class addressing

Example of assigning IP address to host

Page 44: 1 Internetworking : Internet architecture and TCP/IP Protocol TK3133 Computer Networking Technology.

44

Subnet

Able to divide the network into sub-network Example: a platform has one IP address class

B assigned to network but has two or more physical network. Only local router know about various subnet and how to send data to it, other routers know only that there is just one network.

Page 45: 1 Internetworking : Internet architecture and TCP/IP Protocol TK3133 Computer Networking Technology.

45

Subnet

A campus network with LAN for various departments

Page 46: 1 Internetworking : Internet architecture and TCP/IP Protocol TK3133 Computer Networking Technology.

46

Subnet

A network class B has 64 subnet

Needs additional information to differentiate between prefix and suffix called subnet mask

Page 47: 1 Internetworking : Internet architecture and TCP/IP Protocol TK3133 Computer Networking Technology.

47

IPv6

128 bit address Head is more easier More service supports Security

Page 48: 1 Internetworking : Internet architecture and TCP/IP Protocol TK3133 Computer Networking Technology.

48

IPv6 Head

Page 49: 1 Internetworking : Internet architecture and TCP/IP Protocol TK3133 Computer Networking Technology.

49

Internet control protocols

As addition to IP, Internet network layer has several control protocol :– Address Resolution Protocol (ARP)– Reverse Address Resolution Protocol (RARP)– Internet Control Message Protocol (ICMP) – Internet Group Management Protocol (IGMP)

Page 50: 1 Internetworking : Internet architecture and TCP/IP Protocol TK3133 Computer Networking Technology.

50

Address Resolution Protocol (ARP)

Connection between host using IP address, but connection at data link layer using MAC address

This protocol used for finding MAC address for NIC that used by host with certain IP

Send request by broadcast – Host with IP will response

Page 51: 1 Internetworking : Internet architecture and TCP/IP Protocol TK3133 Computer Networking Technology.

51

Address Resolution Protocol (ARP)

McGraw-Hill ©The McGraw-Hill Companies, Inc., 2001

Figure 24-13ARP

Page 52: 1 Internetworking : Internet architecture and TCP/IP Protocol TK3133 Computer Networking Technology.

52

Reverse ARP (RARP)

Normally used by diskless computer. When it is booted from ROM, MAC address is known and want to know its IP address.

It can only be used in the same segment.

Page 53: 1 Internetworking : Internet architecture and TCP/IP Protocol TK3133 Computer Networking Technology.

53

Internet Control Message Protocol (ICMP)

Used for configuration and IP networking (due to unreliability of IP)

Can give feedback about network problems

Type of message– Destination unreachable– Time to live (TTL) exceeded– Parameter problem (header unknown)

Page 54: 1 Internetworking : Internet architecture and TCP/IP Protocol TK3133 Computer Networking Technology.

54

Internet Control Message Protocol (ICMP)

– Redirection– Response to request ( ping packet) – Response to request with time feedback (ping

needs time info (timestamped)

Use IP, so it can act by its own– Example of instruction that used ICMP

• Ping and Traceroute

Page 55: 1 Internetworking : Internet architecture and TCP/IP Protocol TK3133 Computer Networking Technology.

55

Internet Control Message Protocol (ICMP)

Page 56: 1 Internetworking : Internet architecture and TCP/IP Protocol TK3133 Computer Networking Technology.

56

Internet Group Management Protocol (IGMP) The IP protocol can be involved in two types of The IP protocol can be involved in two types of

communication: unicasting and multicasting. communication: unicasting and multicasting. IGMP is one of the necessary, but not sufficient, IGMP is one of the necessary, but not sufficient,

protocols that is involved in multicasting.protocols that is involved in multicasting. IGMP is a companion to the IP protocol.IGMP is a companion to the IP protocol.

Page 57: 1 Internetworking : Internet architecture and TCP/IP Protocol TK3133 Computer Networking Technology.

57

IGMP

There are two phases : – Phase 1 : when a host become a member

of a multicast group, it send a IGMP message to multicast group address to declare its membership. Local multicast router receives message and inform member information to other multicast router in internet

Page 58: 1 Internetworking : Internet architecture and TCP/IP Protocol TK3133 Computer Networking Technology.

58

IGMP

– Phase 2 : because the membership is dynamic, multicast router periodically should poll for host in local network to certify whether any host is still active or not. If not active, inform to other multicast router.