Internetworking: COMP476 Networked Computer Systems Universal Service Concept Internetworking
Internetworking: COMP476 Networked Computer Systems Universal Service Concept Internetworking
Internet Protocol
Physical Network Connection Internet Architecture
• An internet consists of a set of networks • To achieve universal service among all
interconnected by routers. The internet scheme computers on an internet, routers must agree
• Routers are used to connect heterogeneous
allows each organization to choose the number to forward information from a source on one
networks together. network to a destination on another.
and type of networks, the number of routers to
use to interconnect them, and the exact • A common protocol is needed on computers
interconnection topology. and routers to overcome the differing frame
formats and addressing schemes used within
each network.
Two physical networks connected by a router, • Because each network uses an different and
which has a separate interface for each network incompatible addressing system, an
connection. An internet formed by using three routers to interconnect four
independent addressing system is needed.
physical networks. Each network can be a LAN or a WAN.
* A table that can be used to compute the class of an address. The first four bits of * Examples of 32-bit binary numbers and their equivalent in dotted decimal notation.
an address are extracted and used as an index into the table. Each octet is written in decimal with periods (dots) used to separate octets.
* An example private internet with IP addresses assigned to hosts. The size of the
cloud used to denote a physical network corresponds to the number of hosts
The range of decimal values found in the first octet of each address class.
expected on the network; the size of a network determines the class of address
assigned.
IP Routing Procedure 4. If the netid of the sender and receiver are IP Routing Example
the same, then the destination is on the
Assume computer A wants to send one frame same network. A can send the packet
to computer B directly to B.
1. A sends a DNS request to the local 5. If the netids are different, A must send the
packet to the gateway.
Domain Name Server asking for the IP
address of B. 6. The gateway will forward the packet to
another gateway that is closer to the
2. The DNS sends the IP address of B to A. destination’s domain.
3. The netid portion of B’s IP address is 7. The gateway at the destination’s domain
extracted by ANDing B’s IP address with will send the frame to B
the subnet mask of A