9_networking

9_networking - Part 9: Internet and Socket Programming...

Info iconThis preview shows pages 1–13. Sign up to view the full content.

View Full Document Right Arrow Icon
Part 9: Internet and Socket Programming CS252: Systems Programming Ramana Kompella Computer Science Department Purdue University
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
History of the Internet q In the late 1960s the Department of Defense Advance Research Project Agency (ARPA) created a nationwide network to allow computer access to the different research centers. q The alternative was to give a computer to each center/university but this was –very- expensive. q Research in the Internet continued in the 70s and 80s q The Internet became a commercial success in the 90s.
Background image of page 2
History of the Internet q The Internet has been doubling in size every nine to twelve months. q Some people attribute the increase in productivity in the last 10 years to the existence of the Internet. People produce more in less time.
Background image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Internet Architecture q The Internet is a collection of Ø Networks Ø Routers interconnecting networks Ø Hosts connected to networks. H Network H H R Network H H R Network H Network H H H H H
Background image of page 4
Internet Architecture q The networks may be implemented using different kinds of hardware: Ethernet, Token Ring, Serial Line, Apple Talk, etc. q The goal of the Internet is to hide all this heterogeneity to the user and user programs.
Background image of page 5

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Internet Architecture q The internet is a virtual network with its own addressing and name scheme. H Network H H R Network H H R Network H Network H H H H H Internet
Background image of page 6
Internet Layering q It reflects the layering used by the TCP/IP protocols q Closer to reality than ISO- 7 Layering Application Transport Internet Network Interface Physical - Individual Application Programs (HTTP) - Program to Program (TCP and UDP) - Packet Forwarding. Machine to Machine. (IP) - Local Area Network (Ethernet, RS232, etc) - Basic Network Hardware
Background image of page 7

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
IP Addressing q It is an abstraction to hide the network internals. q It is independent from hardware addressing. q IP addresses are used for all communications. q IP addresses use 32 bits. q There is a unique value for each host
Background image of page 8
IP Addressing q Important: An IP Address does not specify a specific computer. Instead, each IP address identifies a connection between a computer and a network. q An IP address identifies a network interface. q A computer with multiple network connections (like a router) must be assigned one IP address for each connection.
Background image of page 9

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
IP Addressing q It has two parts: Ø The prefix identifies a network Ø The suffix identifies the host in that network. Network Number Host Number H N1 H H H N1 H1 N1 H2 N1 H3 N1 H4 R N2 H H N2 H1 N2 H2 N2 H3 N1 H5
Background image of page 10
IP Addressing q A global authority assigns a unique prefix for the network. q A local administrator assigns a unique prefix to the hosts. q The number of bits assigned to the prefix and suffix is variable depending on the size of the number of hosts in each network.
Background image of page 11

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Routing q The routing table gives the next router necessary to reach the destination network.
Background image of page 12
Image of page 13
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 03/06/2012 for the course CS 252 taught by Professor Gustavorodriguez during the Spring '11 term at Purdue.

Page1 / 78

9_networking - Part 9: Internet and Socket Programming...

This preview shows document pages 1 - 13. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online