Introduction to Network and Protocol

References
     
  1. Leon-Garcia. Widjaja, "Communication Networks: Fundamental Concepts and Key Architectures," McGraw-Hill, 2000.
  2. Douglas Comer, Introduction with TCP/IP: Principles, Protocols, and Architectures," 4th Edition, Prentice-Hall, 2000.
  3. Andrew S. Tanenbaum, Computer Networks , Prentice Hall, 3rd ed., 1996.
  4. Larry L. Peterson & Bruce S. Davie, Computer Networks: a system approach , 2nd Edition, Morgan Kaufmann, 2000.
  5. Internet Drafts and Notes documents available at

  6. http://www.isi.edu/publications.html

What is a network (net)?

Network: (Webster Dictionary) a system of computers, terminals, and databases connected by communications lines.
Net: a short name for network.
Networking: the process of establishing or using a computer network.
Switching node: system that connects with multiple communication lines, receives information on one line and sends it over another line.
Communication line (communication links, transmission line): line that connects with several end points, takes information from one end points and delivers to other end point(s).

Telecommunications Networks

Today's Video Networks

Computer Networks

Computer networks: Networks that connect computers and exchange data.
Local Area Network (LAN): a private-owned network within a single building or campus of up to a few kilometer in size (Tanenbaum).
Metropolitan Area Network (MAN): a network that connects computers that are geographically separated in a city or metropolitan area.
Wide Area Network (WAN): a network that spans a large geographical area, often a country or continent, and connects LANs or MANs. It consists of transmission line (called circuits, channels, or trunks) and switching elements (called switching nodes, data switching exchanges or router).
Host=End system: computer that runs users' application programs.
Backbone network: a network with purpose of connecting other networks.

What is a protocol?

Protocol: Which one is the right definition?


_: The name of a movie starring Goldie Hawn.
_: The rule implemented by a device driver to allow cpu to talk to a peripheral.
_: A set of rules for achieving a global objective exercised by geographically distributed nodes. (Robert Gallager, Prof. EE MIT)

Computer networks implement very complex functions for sophisticated services.
Protocol layer: To reduce the design complexity, the network functions are organized as a series of layers or levels. A higher layer utilizes the service provided by the lower layer and provides the "enhanced" service to the layer above.
Protocol entity: The hardware or software module in a computer that implement the functions of a protocol layer.
Protocol peers: The set of protocol entities that comprising the corresponding layer on different machines (typically geographically-separated).
Network architecture: A set of layers and protocols implemented by a network.
Protocol stack: the list of protocols, one per layer, used by a network.

 

Open System Interconnection (OSI) Reference Model

Served as a framework for communications architecture specification and for specifying protocol standards

Example: A UNIX Workstation Network Interface

Protocol Data Unit Encapsulation/Decapsulation

Example of PDU Encapsulation

Messages Generated for a Simple Web Access

It takes a lot of messages and involves with many protocols to achieve a simple web access.
http://cs.uccs.edu/~cs522/ethereal/ethsum1.txt contains the message sequence generated by typing "cs.uccs.edu/~cs522/" on a browser on wait.uccs.edu.
Wait  is a Dell machine with one of its NIC (network inteface card) configured with the IP address of 128.198.192.202 and it is on subnet 128.198.192/21.
The NIC card's burn in Ethernet address or MAC address is 00:a0:24:56:9c:33. (hexadecimal representation).
The browser application has a socket connection with port number=1089.     No. Time        Source                Destination           Protocol Info

      4 2.783156    wait.uccs.edu         ff:ff:ff:ff:ff:ff     ARP      Who has 128.198.192.1?  Tell 128.198.192.202
      5 2.783698    cs-old-loadbalancing-router.uccs.edu wait.uccs.edu         ARP      128.198.192.1 is at 00:50:80:d1:36:00
      6 2.783717    wait.uccs.edu         ccnuccs.uccs.edu      DNS      Standard query A cs.uccs.edu
      7 2.784022    ccnuccs.uccs.edu      wait.uccs.edu         DNS      Standard query response A 128.198.162.68
      8 2.789416    wait.uccs.edu         cs.uccs.edu           TCP      1089 > www [SYN] Seq=4211769964 Ack=0 Win=32120 Len=0
      9 2.789698    cs.uccs.edu           wait.uccs.edu         TCP      www > 1089 [SYN, ACK] Seq=4202585076 Ack=4211769965 Win=32120 Len=0
     10 2.789737    wait.uccs.edu         cs.uccs.edu           TCP      1089 > www [ACK] Seq=4211769965 Ack=4202585077 Win=32120 Len=0
     11 2.790738    wait.uccs.edu         cs.uccs.edu           HTTP     GET /~cs522/ HTTP/1.0
     12 2.791138    cs.uccs.edu           wait.uccs.edu         TCP      www > 1089 [ACK] Seq=4202585077 Ack=4211770251 Win=31856 Len=0
     13 2.793790    cs.uccs.edu           wait.uccs.edu         HTTP     HTTP/1.1 200 OK

     38 2.834564    wait.uccs.edu         cs.uccs.edu           HTTP     GET /~cs522/cubannder.JPG HTTP/1.0
     39 2.835028    cs.uccs.edu           wait.uccs.edu         TCP      www > 1092 [ACK] Seq=4205667534 Ack=4214663002 Win=31856 Len=0
     40 2.836822    cs.uccs.edu           wait.uccs.edu         HTTP     HTTP/1.1 200 OK
     41 2.837067    wait.uccs.edu         cs.uccs.edu           TCP      1092 > www [ACK] Seq=4214663002 Ack=4205668982 Win=31856 Len=0
     42 2.837050    cs.uccs.edu           wait.uccs.edu         HTTP     Continuation

     73 2.846638    wait.uccs.edu         cs.uccs.edu           HTTP     GET /~cs522/rocky.mid HTTP/1.0
     74 2.847026    cs.uccs.edu           wait.uccs.edu         TCP      www > 1091 [ACK] Seq=4200573118 Ack=4209807636 Win=31856 Len=0
     75 2.847940    wait.uccs.edu         cs.uccs.edu           HTTP     GET /~cs522/marble1.jpg HTTP/1.0
     76 2.848814    cs.uccs.edu           wait.uccs.edu         HTTP     HTTP/1.1 200 OK
 
 

Example of Internet Message Format

TCP/IP Reference Model

Defined in [Cerf and Kahn 1974], used in ARPANET, DoD research network.
Consist of only four layers: applications, transport, network, and host-network.
TCP: Transmission Control Protocol, a reliable transport layer protocol that guarantees the message arrival and its arriving sequence.
UDP: User Datagram Protocol, a simplified transport layer protocol that emphasize the prompt delivery instead of guaranteed delivery.
IP: Internet Protocol, deliver packet from one machine to the other.
TELNET: virtual terminal protocol for login into a machine in the net.
FTP: File Transfer Protocol.
SMTP: Simple Mail Transfer Protocol, for email.
DNS: Domain Name Service, mapping host names into network addresses.

Internet, internet, intranet, extranet

(the) Internet : collection of networks and routers that uses TCP/IP protocol suite to form a single, cooperative virtual network -- Douglas Comer.
intranet: interconnected LANs within an organization.
extranet: an outside network connected to an intranet.
firewall: router placed between intranet and extranet, restricting packet flows to provide security.

A Short History of Internet

1968: Advanced Research Projects Agency Network(ARPAnet) awarded to Bolt Beranek and Newman (BBN).
1969: ARPAnet has 4 nodes (UCLA, SRI, UCSB, U. Utah) connected by Interface Message Processors (IMPs) and 56 kbps lines.
1973: TCP/IP designed
1973: First satellite link from California to Hawaii.
1973: First international connections to ARPAnet from England and Norway.
1979: ARPAnet about 100 nodes.
1980's: DARPA funded Berkeley Unix with TCP/IP
               proliferation of LANs: Ethernet and Token Ring
1986: NSFNET created with 56 kbps backbone connected super computer centers and regional network
1989: Internet passes 100,000 nodes.


first proposal fro World-Wide-Web
NSFNET upgrade to T1 (1.544Mbps)
 

Regional Data Network: Colorado SuperNet

Internet Development in 1990's

  • 1990: Original ARPAnet disbanded
  • 1991: Gopher released by U. Minnesota
  • 1992: NSFNET backbone upgraded to T3 (44.736Mbps)
  • 1992 March: First Internet Multicast backBONE (MBONE) audio Multicast
  • 1992 November: First MBONE video multicast
  • 1993 February: NCAS Mosaic released
  • 1993 June: Internet reaches 1,776,000 hosts
  • 1995 April 30: NSFNET backbone disbanded.
  • 1996 very high speed Backbone Network Service (vBNS) network (155 Mbps ATM) replace NSFNET connecting Super Computer Centers (SCC).
  • 1997 February: vBNS upgrades to 622 Mbps.
  • Internet Host Growth (Latest Survey Results January 2000 )

    source: http://www.nw.com

     

    Number of Hosts and Domains advertised in the DNS

     
    Date
    #Hosts
    Adjusted #Hosts
    Replied To Ping*
    Jul
    98|
    36,739,000
    6,529,000
    Jan
    98|
    29,670,000
    5,331,640
    [first New Survey]
    Jul
    97|
    19,540,000
    26,053,000
    4,314,410
    [last Old Survey]
    Jan
    97|
    16,146,000
    21,819,000
    3,392,000
    Jul
    96|
    12,881,000
    16,729,000
    2,569,000
    Jan
    96|
    9,472,000
    14,352,000
    1,682,000
    Jul
    95|
    6,642,000
    8,200,000
    1,149,000
    Jan
    95|
    4,852,000
    5,846,000
    970,000
    Jul
    94|
    3,212,000
    707,000
    Jan
    94|
    2,217,000
    576,000
    Jul
    93|
    1,776,000
    464,000
    Jan
    93|
    1,313,000
    [* estimated by pinging 1% of all hosts]

    Host Distribution by Top-Level Domain Name (7/98)

    source: http://www.nw.com
    Domain
    Hosts=
    All Hosts
    -Dup
    Name
    Level 2
    Domain Name
    Level 3
    Domain 
    Name
    TOTAL
    36739151
    42606144
    5866993
    1049865
    13062628
    com
    10301570
    13506865
    3205295
    742472
    5266752
    Commercial
    net
    7054863
    7567384
    512521
    48584
    2448432
    Networks
    edu
    4464216
    4699401
    235185
    3489
    1504988
    Educational
    mil
    1359153
    1504600
    145447
    72
    121216
    US Military
    jp
    1352200
    1368313
    16113
    97
    30316
    Japan
    us
    1302204
    1372109
    69905
    76
    3001
    United States
    uk
    1190663
    1453507
    262844
    39
    33215
    United Kingdom
    de
    1154340
    1265163
    110823
    61105
    344826
    Germany
    ca
    1027571
    1229088
    201517
    4562
    230257
    Canada
    au
    750327
    827191
    76864
    40
    20843
    Australia
    org
    644971
    726335
    81364
    64276
    535298
    Organizations
    gov
    612725
    744269
    131544
    419
    249717
    Government
    nl
    514660
    523148
    8488
    15566
    276608
    Netherlands
    fi
    513527
    524185
    10658
    5624
    330742
    Finland
    fr
    431045
    512516
    81471
    7816
    238518
    France
    se
    380634
    391346
    10712
    8058
    150315
    Sweden
    it
    320725
    382703
    61978
    13948
    171213
    Italy
    no
    312441
    318773
    6332
    5534
    188976
    Norway
    es
    243436
    247982
    4546
    3514
    127151
    Spain
    ch
    205593
    211836
    6243
    12715
    183067
    Switzerland
    dk
    190293
    203308
    13015
    8516
    117594
    Denmark
    nz
    177753
    182407
    4654
    15
    4143
    New Zealand
    kr
    174800
    180286
    5486
    32
    3362
    Korea, Republic
    br
    163890
    174596
    10706
    344
    23941
    Brazil
    be
    153760
    211691
    57931
    3160
    28574
    Belgium
    za
    140577
    213818
    73241
    25
    10899
    South Africa
    at
    132202
    208146
    75944
    3084
    28113
    Austria
    ru
    130422
    137178
    6756
    3889
    69305
    Russian Federation
    tw
    103661
    107882
    4221
    13
    3418
    Taiwan
    pl
    98798
    106663
    7865
    777
    11486
    Poland
    il
    87642
    92387
    4745
    11
    2580
    Israel
    mx
    83949
    92467
    8518
    125
    8525
    Mexico
    hu
    73987
    76143
    2156
    1416
    31272
    Hungary
    hk
    72232
    72820
    588
    12
    11107
    Hong Kong
    cz
    65672
    72120
    6448
    4960
    39993
    Czech
    sg
    59469
    115776
    56307
    13
    1795
    Singapore
    ar
    57532
    59010
    1478
    22
    2990
    Argentina
    arpa
    47910
    54677
    6767
    1
    196
    Mistakes
    pt
    45113
    46177
    1064
    922
    24385
    Portugal
    ie
    44840
    45195
    355
    1494
    26789
    Ireland
    my
    40758
    40891
    133
    19
    2270
    Malaysia
    gr
    40061
    41618
    1557
    1693
    16660
    Greece
    tr
    27861
    28618
    757
    10
    1812
    Turkey
    th
    25459
    25679
    220
    11
    867
    Thailand
    cl
    22889
    23820
    931
    806
    8194
    Chile
    is
    20678
    20977
    299
    989
    17501
    Iceland
    su
    20024
    20745
    721
    66
    2524
    Soviet Union
    cn
    19313
    19550
    237
    41
    494
    China
    ee
    18948
    19856
    908
    977
    14038
    Estonia
    si
    18084
    18537
    453
    780
    9275
    Slovenia
    uy
    16345
    16444
    99
    6
    210
    Uruguay
    sk
    14154
    14805
    651
    893
    9985
    Slovakia
    ro
    13697
    22359
    8662
    640
    10151
    Romania
    ae
    13519
    13765
    246
    6
    120
    United Arab
    ua
    13271
    16278
    3007
    46
    1200
    Ukraine
    co
    11864
    12069
    205
    30
    548
    Colombia
    id
    10691
    11765
    1074
    10
    611
    Indonesia
    in
    10436
    11041
    605
    12
    153
    India

    Rapid Growth of WWW Service

    INTERNET USE LEVELING OFF
    The number of new Internet users appears to be stabilizing, with growth
    rates hovering at less than 5%, according to a demographics study released
    last week by the Georgia Institute of Technology. According to Tech's
    survey, the number of users is now around 30 million -- that's a good bit
    lower than Nielsen's recent estimate of 50 million. "What brought people
    online were all the different service providers really gearing up," says a
    Tech researcher. "We don't know whether it will pick up again. There
    hasn't been that much change of the last three surveys."
    (Tampa Tribune 16 Jun 97)

    Who run Internet?

    NAP: Internet Exchange Point where ISP comes to exchange their customer's traffic.

    There are four NAPs:

    Network Access and Interconnection

    NEW ACCESS FEES WILL HASTEN ISP SHAKEOUT

    UUNet's decision to start charging smaller Internet service providers for
    use of its backbone network will accelerate the ISP shakeout that industry
    analysts have been predicting for some time. "The window of opportunity is
    closing for smaller ISPs," says a senior analyst with Jupiter
    Communications. Under the new deal, service providers that don't qualify as
    UUNet "peers" -- those whose network runs at a rate slower than 45-Mbps and
    can't connect into the backbone at four or more locations -- will pay $2,000
    a month for a T1 connection and $6,000 a month for a fractional T3
    connection. "We are not abandoning peering," says UUNet's VP of marketing
    and business development. "This monthly charge is not going to break any
    ISP, unless they didn't have a viable business plan in the first place." A
    Zona Research analyst says, "Consolidation is coming and there will be
    hundreds, not thousands, of ISPs."
    (Investor's Business Daily 16 Jun 97)

     

    Ameritech NAP Architecture

    Who pays for the Internet?

    NAP Price and Availability @Pacbell

    "Our NAPs are located in the Bay Area (Service Area 1) and the LA area (Service Area 5)
    Customer sites outside of this area must establish interLATA service through an
    interexchange carrier.
    Pacific Bell will work with any interexchange carrier of the NAP customer's choice.
    NAP access and port charges are covered under a Market Trial granted by the California Public Utilities Commission.
    Rates are:
    DS3 (45 Mbps) $5,000 (installation), $4,850 (monthly service)
    OC3c (155 Mbps) $8,500 (installation), $7,899 (monthly service)"

     

    very high speed Backbone Network Services (vBNS)

    Internet Addresses and Domain Names

    IP Address Classes

    How to Avoid Shortage of IP addresses

    Classless Address Notation

    Internet Domain Name

    Name and Address Mapping

    example
    organization
    Ethernet MAC Address
    8:0:20:72:93:18
    flat, permanent
    IP address
    128.198.9.118
    topological (mostly)
    Domain name
    gandalf.uccs.edu
    hierarchical

    Domain Name Resolution

    Internet Protocol Zoo

    Protocol Taxonomy

    TCP

    UDP

    Simple Web Access Example: Step1

    Simple Web Access Example: Step2

    Simple Web Access Example: Step3

    HTTP/1.0 200 OK
    Server: Microsoft-IIS/2.0
    Date: Thu, 22 Jan 1998 17:54:15 GMT
    Content-Type: text/html
    Accept-Ranges: bytes
    Last-Modified: Mon, 18 Nov 1996 08:38:10 GMT
    Content-Length: 4051
    <!doctype html public "-//IETF//DTD HTML//EN">
    <HTML>