You are on page 1of 24

Lecture7

Internetworking

Recap

LAN Design
Issues
Media; Topology; Protocol;
Addressing; Naming;
Example networking application.

Network Topology Bus Point to Point Star Tre e Rin g (cont) Parti al Mesh Fully Connect ed .

255.15.255.IP addressing IP Address 192.168.0 (decimal) Network part Host part 11111111   11111111  .2 (decimal) 11000000   10101000    00001111   00000010 (binary) Subnet Mask: 255.

15.15.0 to addressing (network/ broadcast 192. Two addresses are reserved in every For our .P Range: 192. … the network) 255 2) -> host bits  all192. network example: 25 1) host bits  all zeros (for representing 4 192. ones (for the broadcast broadcast address) Packet sent 0/24 address.168.255.168.15. to broadcast address .168.168.15. 1 A packet sent to broadcast address will be received by all .

niit.pk .pk the niit.edu.pk LAN) wanted to access NUST-SEECS website hosted at www.Example application In the last lecture.edu.edu. we assumed a greatly simplified model of the W W P W LAN of NUST-SEECS C Network’s domain name: We assumed that a student (in niit.

pk? W W W .niit.edu.DNS Client/Server Exchange D N S Reque st Tell me the IP address of www.

157.125.196 .niit.DNS Client/Server Exchange D N S Repl y W W W The IP address of www.pk is 202.edu.

ARP Client/Server Exchange D N S Reque st Any one knows the MAC (physical) address of W W W .

196 .157.125.ARP Client/Server Exchange D N S Repl y W W W The MAC address of 202.

157.196 Source MAC address | Destination MAC address 23:34:aa:bb:cc:dd | 12:34:aa:bb:cc:dd Payload Payloa d Payloa d FCS .Layered Communications Application data TCP Segment IP Packet MAC Frame GET / HTML/1.157.125.125.150 | 202.1 Source Port | Destination Port > 1024 | 80 Source IP | Destination IP 202.

html page for the host www.niit.HTTP High-level Exchange D N S Reque st Send me the index.edu.pk using W W W .

HTTP Client/Server Exchang D N S Repl y W W W The index.html page in the wwwroot directory configured for the www.edu.niit.pk webserver is sent .

Quiz # 3 .

. Interconnecting multiple networks.s ’ y a d ure o T e ct l Internetworking Encapsulation/ layered communication. Hierarchical addressing.

150 | 202.157.Layered Communication TCP/IP model Application layer Transport layer Internet layer Link layer GET / HTML/1.125.1 Source Port | Destination Port > 1024 | 80 Source IP | Destination IP 202.196 Source MAC address | Destination MAC address 23:34:aa:bb:cc:dd | 12:34:aa:bb:cc:dd Payload Payloa d Payloa d FCS .157.125.

switch . bridge.Networking devices (same LAN) Application Application Transport Transport Network Network Data Link Data Link Bits Bits Bridges/ Host Repeater/ Source HostDestination Switches (Same Hub LAN) ice used in a single LAN: hub.

nternetworking devices (different LAN) Application Transport Routers/ Application Gateway Transport Network Network Data Link Data Link Bits Bits Source Host Destination Host (Different network) .

Routing example .

Routing example .

Course to be tested Every thing we have studied in the classroom. Material from your textbook that was not covered in the class at all will not be tested . 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.

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) .

d)We discussed details of the midsemester exam. 3) routers. c) We studied that routers are necessary for internetworking. 2) bridges/ switches.’ e r u t c e L s ary m m u S a) We studied the TCP/ IP layering model b)We discussed basic networking device types: 1) hubs/ repeaters. .

com/5hb8pp .?? Questions/ ? Confusions? Credits/ Acknowledgement can be found at the course website: http://tinyurl.