The Internet connects thousands of networks and millions of hosts. Businesses, universities, government agencies, and individuals share the same global fabric. E-commerce runs on this fabric.

Learning Objectives

By the end of this chapter, you will be able to:

  • Describe the three phases in the evolution of the Internet.
  • Explain packet switching and contrast it with circuit switching.
  • Describe the four layers of TCP/IP and the role of IP addresses and DNS.
  • Explain client/server computing and how cloud computing extends it.
  • Outline the development and current state of the Internet in Nepal.

1. Three phases of Internet evolution

Group the history into three periods. Each period answers who funded and who used the network.

Phase Period Driver Main use
Innovation 1961 to 1974 Researchers in universities and defence labs Packet switching, TCP/IP, client/server prototypes on ARPANET
Institutionalization 1975 to 1995 US Department of Defense, National Science Foundation Funded backbone and academic adoption, TCP/IP as standard
Commercialization 1995 to present Private backbone operators, ISPs, the Web Public access, e-commerce, streaming, mobile

Innovation produced the ideas. Institutionalization funded the backbone and saw the Web emerge in 1990–1991. Commercialization expanded access for firms and households.

2. Core technologies

Three foundations of the Internet are packet switching, TCP/IP, and client/server computing.

A. Packet switching

Packet switching breaks data into packets. Each IP packet carries source and destination addresses, and routers forward it using available routes. Packets can take different paths, arrive out of order, or be lost. When an application uses TCP, TCP uses sequence numbers to put its data back in order and retransmits missing data. Circuit switching reserves a path for the entire call, even during silence.

flowchart LR
  Msg[Message 12000 bytes] --> Split[Split into 8 packets]
  Split --> R1[Path A via Birgunj]
  Split --> R2[Path B via Bhairahawa]
  Split --> R3[Path C via Rasuwagadhi]
  R1 --> Asm[Reassemble by sequence number]
  R2 --> Asm
  R3 --> Asm
  Asm --> Dest[Complete message]

Figure 1: Packet switching sends one message over several paths

Dimension Circuit switching Packet switching
Connection Reserve one end to end path before transfer No reservation, packets share all links
Efficiency Low, silence wastes capacity High, idle capacity serves others
Resilience One link failure can drop the call Rerouting can help if another route exists
Cost High per connection Low, many users share infrastructure

E-commerce benefits from shared links and alternative routes. If a router fails, traffic may use another route, but a checkout can still fail if no route is available or the interruption lasts too long.

B. TCP/IP and addressing

TCP/IP operates in four layers. Each layer handles one job.

  1. Network interface. Moves bits on the physical link: Ethernet, Wi-Fi, fibre, 4G or 5G.
  2. Internet. Routes packets using IP addresses.
  3. Transport. Carries data between applications. TCP provides reliable, ordered delivery while a connection succeeds; it retransmits missing data. UDP sends datagrams without guaranteeing delivery or order and is used by services such as DNS and streaming.
  4. Application. Provides user services: HTTP, SMTP, FTP, DNS.

IP addresses. IPv4 uses 32 bits such as 192.0.2.10, about 4.3 billion addresses, now exhausted. IPv6 uses 128 bits such as 2001:db8::1, effectively unlimited. Most Nepali ISPs use dual stack with NAT for IPv4.

DNS. Translates names like daraz.com.np into IP addresses. ISP resolvers cache answers and reply in milliseconds.

C. Client/server and cloud

Client/server splits roles. Servers store data and run logic. Clients request services. A phone browser is a client. Web, application, and database servers form the server side. Cloud keeps the same model and changes ownership. Firms rent servers and storage from AWS, Azure, or Google Cloud, pay per use, and scale up for Dashain and down after. The phone dominates the client. Rented servers dominate hosting.

3. The Internet in Nepal

Timeline

  • 2051 BS. Mercantile Office Systems leased a line to Pune for the first commercial email and web access.
  • 2058 to 2065 BS. Nepal Telecom introduced VSAT and ADSL. Copper broadband replaced dial-up in Kathmandu and Pokhara.
  • 2072 BS onward. WorldLink, Vianet, and others rolled out FTTH. Speeds rose to tens of megabits and enabled video and marketplaces.
  • 2078 to 2081 BS. 4G covered most municipalities. FTTH passed millions of homes. Nepal Telecom and Ncell piloted 5G in Kathmandu.

Current structure

Nepal Telecom runs fixed and mobile networks. Ncell is the largest private mobile operator. WorldLink leads fixed broadband. International fibre enters via Birgunj, Bhairahawa, Biratnagar to Indian submarine cables, plus Rasuwagadhi to China as backup. NIXP in Kathmandu keeps domestic traffic local.

Challenges

Cities generally have better broadband access. In hill areas, unreliable power and difficulties obtaining rights of way can delay fibre deployment. Rural access also depends on infrastructure such as roads and electricity. Phishing via SMS and fake Facebook pages targets first-time eSewa and Daraz users.

Worked Example: Hosting cost during Dashain 2081

A Patan handicraft seller compares for Kartik 2081:

  • Buy server NPR 180,000 over 36 months plus NPR 4,000 power: 180,000/36 + 4,000 = NPR 9,000 per month, idle 10 months a year.
  • Rent cloud at NPR 2,500 plus NPR 40 per extra hour. Dashain needs 120 extra hours: 2,500 + 4,800 = NPR 7,300. Normal month costs NPR 2,500.

Cloud can match capacity to demand, but backups may require separate configuration or payment. She chooses cloud on these assumptions.

Self-Check Explain without notes: (1) how packet switching can tolerate a failed link when another route exists, (2) what each TCP/IP layer does, (3) one sentence that distinguishes the Web from the Internet. If you hesitate on any, reread that subsection and restate it aloud.

Self-check

When an application uses TCP and a packet is lost, what can TCP do?

Try This A 60,000 byte product image travels as 1,500 byte packets. Calculate the number of packets. If one packet is lost and TCP retransmits it, calculate total bytes sent on the wire including the retransmission. Assume no headers for simplicity, then add 40 bytes per packet for TCP+IP headers and recalculate total bytes. Show each step.

Answer sketch The image needs 60,000 / 1,500 = 40 packets. Including one retransmission, 41 packets carry 61,500 bytes of data. With 40 bytes of headers on each transmission, add 41 × 40 = 1,640 bytes, for 63,140 bytes in total. This simplified calculation excludes other protocol overhead.

Summary

The Internet moved from innovation to institutionalization to commercialization. Packet switching shares links and can route around failures when alternatives exist. TCP/IP divides work into network interface, internet, transport, and application layers. IP addresses locate hosts; DNS translates names; TCP provides reliable, ordered delivery while a connection succeeds. Client/server describes the relationship between browsers and servers; cloud rents the server side and mobile dominates the client side. Nepal moved from a single Mercantile link in 2051 BS to FTTH and 4G by 2081 BS, with traffic entering via India and China and exchanged locally at NIXP.

Key Takeaways

  • Three phases explain funding and use: innovation, institutionalization, commercialization.
  • Packet switching beats circuit switching on efficiency, cost, and resilience.
  • TCP/IP layering separates link, routing, reliable transport, and applications; IPv6 solves address exhaustion.
  • Client/server still describes the Web; cloud changes who owns the servers.
  • Nepal reached citywide fibre and mobile broadband by 2081 BS; hills, power, and awareness remain constraints.

Discussion

  1. A team argues that packet switching wastes resources because packets may arrive out of order. Counter the argument with the transport layer role.
  2. A shop owner says IPv6 does not matter because IPv4 still works with NAT. Assess the risk for a store that expects growth in mobile users and IoT devices.
  3. The Rasuwagadhi link costs more per megabit than the Birgunj route. Why maintain it? Connect your answer to availability and bargaining power.

Exercises

Short answer

  1. Define packet switching in one sentence.
  2. List the four TCP/IP layers and one protocol per layer.
  3. Write one difference between IPv4 and IPv6.
  4. State one benefit of cloud hosting for a seasonal seller.

Long answer

  1. Compare packet switching and circuit switching across connection setup, efficiency, failure handling, and cost. Use a diagram.
  2. Trace the steps from typing www.example.com.np to seeing the page, naming DNS, IP, TCP, and HTTP at the correct layer.
  3. Describe Nepal’s Internet development from 2051 BS to 2081 BS and identify two policy or investment steps that would close the rural gap.