Top Banner
Lecture 7 Internetworking
24
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: Week7 final

Lecture 7Internetworking

Page 2: Week7 final

LAN Design Issues

Media; Topology; Protocol;

Addressing; Naming;

Example networking application.

Recap

Page 3: Week7 final

Network Topology (cont)

Point to Point Star

Partial Mesh

Tree

Bus

Ring

Fully Connected

Page 4: Week7 final

IP addressingIP Address192.168.15.2 (decimal)

11000000 10101000 00001111 00000010 (binary)

Subnet Mask:255.255.255.0 (decimal)

11111111 11111111 11111111 00000000 (binary)

IP Address192.168.15.2 (decimal)

11000000 10101000 00001111 00000010 (binary)

Subnet Mask:255.255.255.0 (decimal)

11111111 11111111 11111111 00000000 (binary)

Network part Host part

Page 5: Week7 final

IP addressing (network/ broadcast)

.1

.254

192.168.15.0/24

For our example:

192.168.15.255 -> broadcast address;

Packet sent to broadcast address

.1

.254

A packet sent to broadcast address will be received by all nodes.

Range: 192.168.15.0 to 192.168.15.255;

Two addresses are reserved in every network1) host bits all zeros (for representing the network)

2) host bits all ones (for the broadcast address)

Page 6: Week7 final

Example application

We assumed that a student (in the niit.edu.pk LAN) wanted to access NUST-SEECS website hosted at www.niit.edu.pk

WWWP

C

In the last lecture, we assumed a greatly simplified

model of the LAN of NUST-SEECS

Network’s domain name: niit.edu.pk

Page 7: Week7 final

DNS Client/Server Exchange

WWW

DNS

Request

Tell me the IP address of www.niit.edu.pk?

Page 8: Week7 final

WWW

DNSReply

The IP address of www.niit.edu.pk is 202.125.157.196

DNS Client/Server Exchange

The IP address of www.niit.edu.pk is 202.125.157.196

Page 9: Week7 final

ARP Client/Server Exchange

WWW

DNS

Request

Any one knows the MAC (physical) address of 202.125.157.196 ?

Request

Page 10: Week7 final

WWW

DNS

Reply

The MAC address of 202.125.157.196 is 12:34:aa:bb:cc:dd

ARP Client/Server Exchange

The MAC address of 202.125.157.196 is 12:34:aa:bb:cc:dd

Page 11: Week7 final

Layered Communications

GET / HTML/1.1

Source MAC address | Destination MAC address 23:34:aa:bb:cc:dd | 12:34:aa:bb:cc:dd

FCSPayload

Payload

Source Port | Destination Port> 1024 | 80

Payload

Payload

Source IP | Destination IP 202.125.157.150 | 202.125.157.196

Payload

Application data

TCP Segment

MAC Frame

IP Packet

Page 12: Week7 final

HTTP High-level Exchange

WWW

DNS

Send me the index.html page for the host www.niit.edu.pk

using HTTP version 1.1

Request

Send me the index.html page for the host www.niit.edu.pk

using HTTP version 1.1

Page 13: Week7 final

WWW

DNS

Reply

The index.html page in the wwwroot directory configured for the www.niit.edu.pk webserver

is sent back to the browser for display

HTTP Client/Server Exchange

Page 14: Week7 final

Quiz # 3

Page 15: Week7 final

Internetworking

Today’s

lecture

Encapsulation/ layered communication;

Hierarchical addressing;

Interconnecting multiple networks;

Page 16: Week7 final

Layered Communication

GET / HTML/1.1

Source MAC address | Destination MAC address 23:34:aa:bb:cc:dd | 12:34:aa:bb:cc:dd

FCSPayload

Payload

Source Port | Destination Port> 1024 | 80

Payload

Payload

Source IP | Destination IP 202.125.157.150 | 202.125.157.196

Payload

Application layer

Transport layer

Link layer

Internet layer

TCP/IP model

Page 17: Week7 final

Application

Transport

Network

Data Link

Destination Host (Same LAN)

Bits

Bridges/ Switches

Repeater/ Hub

Source Host

Application

Transport

Network

Data Link

Bits

Networking devices (same LAN)

Device used in a single LAN: hub, bridge, switch

Page 18: Week7 final

Application

Transport

Network

Data Link

Destination Host (Different network)

Bits

Routers/ Gateway

Source Host

Application

Transport

Network

Data Link

Bits

Internetworking devices (different LAN)

Page 19: Week7 final

Routing example

Page 20: Week7 final

Routing example

Page 21: Week7 final

Course to be tested

Every thing we have studied in the classroom.

Topics covered in the assignment will not be

tested in this exam.

Details of material discussed in class (that is in

your textbook) may be tested.

Material from your textbook that was not covered

in the class at all will not be tested

Page 22: Week7 final

Mid sessional format

3 Sections

a) Multiple choice questions

(30 marks)

b) Fill in the blanks

(30 marks)

c) Questions requiring short answers

(40 marks)

Types of questions:

d) Requiring lower-order skills

(memorization

and comprehension)

e) Requiring higher-order skills

(analyzing and

applying)

Page 23: Week7 final

Lecture’s

Summary

a) We studied the

TCP/ IP layering model

b) We discussed basic networking device types:

1) hubs/ repeaters

; 2) bridges/ switches

;

3) routers.

c) We studied that

routers are necessary for

internetworking.

d) We discussed details of the

mid-semester exam.

Page 24: Week7 final

???Questions/

Confusions?

Credits/ Acknowledgement can be found

at the course website:

http://tinyurl.com/5hb8pp