Introduction to networking - CH.1 What is Internet
Internet is a Network of Networks
In your office or at your home, there is a private network
In your universities, there is a wide area private network
In HK, there is a wide area network
In Asia / Europe / America / Africa , there are regional networks
And then there is a Internet in our blue planet
Internet is PC + server + wireless laptop + access point + wired links + router ...
- Millions of connected computing devices (Where hosts = end systems) and they are running network applications
- There are communication links - fiber, copper, radio, satellite using rate = bandwidth (bit per second)
- There are routers to forward packets
When you are on the Internet
- You have an IP address
- You are speaking with a protocol [http / https / ftp / MSN ...]
- Your computer is using a IP Format
What is Protocols
- Protocols control sending / receiving of messages
- E.g. TCP / IP / Http / Skype ...
- Normally undergoes Internet standards [RFC / IETF]
- Protocols define format, order of messages sent and received among network entities, and actions taken on message transmission, receipt
What services do Internet offer?
- Communication infrastructure - Web, VoIP, email, games, e-commerce, file sharing
- Reliable data delivery from source to destination - TCP, Transmission Control Protocol
- Best effort data transfer service - Unreliable data transfer, no flow control, no congestion control - UDP, User Datagram protocol
How hosts connect ?
- end systems (hosts) run application programs like Web & email
- Client / Server model - client host requests, receives service from always-on server
- Peer-Peer model - minimal use of dedicated server E.g. BT, Foxy, Skype
- Handshaking before TCP - setup "state" in two communicating hosts
TCP / UDP
- Applications using TCP - http (web), FTP (file transfer), Telnet (remote login), SMTP (email)
- Applications using UDP - streaming media, teleconferencing, DNS, Internet telephony
How to connect to Internet?
- residential access nets
- institutional access networks (school, company)
- mobile access networks
- You are in shared or dedicated network?
Local area network
- company/univ local area network (LAN) connects end system to edge router
- Ethernet: 10 Mbs, 100Mbps, 1Gbps, 10Gbps
- modern configuration: end systems connect into Ethernet switch
- G= Giga, bps=bit per second *not byte per second
- Home network component - Modem, router/firewall/NAT, Ethernet, Wifi Access point
Wireless network
- Wireless LAN: 802.11a/b/g/n: 11 or 54 or 300Mbps http://zh.wikipedia.org/wiki/IEEE_802.11
- Wider-area wireless network - WiMax (10 Mbps), GPRS / HSDPA

Physical media
- Bit: propagates between transmitter/receiver pairs
- physical link: what lies between transmitter & receiver
- guided media: signals propagate in solid (copper, fiber, coax)
- unguided media: signals propagate freely e.g. radio
- two insulated copper wires
Category 3: traditional phone wires, 10 Mbps Ethernet
Category 5: 100Mbps Ethernet - Fiber optic cable: glass fiber carrying light pulses, each pulse a bit
high-speed operation: high-speed point-to-point transmission (e.g., 10’s-100’s Gbps)
low error rate: repeaters spaced far apart ; immune to electromagnetic noise - Radio link types:
- terrestrial microwave e.g. up to 45 Mbps channels
- LAN (e.g., Wifi) 11Mbps, 54 Mbps
- wide-area (e.g., cellular) 3G cellular: ~ 1 Mbps
- satellite 1Kbps to 45Mbps channel
Network core concept
Network is a cloud

Network contains cloud of routers and we are usually at the end-host.
- Circuit switching - Dedicated circuit E.g. Telephone
- Dedicated resource: No sharing
- Guaranteed performance
- Call setup required
- FDM / TDM
- Packet-switching - discrete "chunks" E.g. Skype
- Statistical Multiplexing
- TDM
- packets: data + metadata (header) = self-describing data
- store and forward: Metadata allows us to forward packets when we
want - Message segmenting
- Packet-switching vs circuit switching
Internet structure
We are using local ISP as our Internet provider in HK. Like HKBN, netvigator, i-Cable
For business, we have 01link, pacnet
For International, we have HKIX
Since there are many connecting device, delay is a must in Internet.
Measuring delay:
- Throughput = (bits/time unit)
- Always use Round trip time (RTT)
Delay checking software:
- Traceroute
- Ping
Network layering
We divide the network in 7-level layer
- OSI model, 7-layer protocol
- Physical layer- wires and Ethernet card
- Link Layer - Mac address
- Network layer - IP address
- Transport - Protocols
- session & presentation & Application - E.g. Web browser
Internet History
1970: ALOHAnet satellite network in Hawaii
1974: Cerf and Kahn - architecture for interconnecting networks
1976: Ethernet at Xerox PARC
late70’s: proprietary architectures: DECnet, SNA, XNA
late 70’s: switching fixed length packets (ATM precursor)
1979: ARPAnet has 200 nodes
1983: deployment of TCP/IP
1982: smtp e-mail protocol defined
1983: DNS defined
for name-to-IPaddress translation
1985: ftp protocol defined
1988: TCP congestion control
Early 1990’s: ARPAnet decommissioned
1991: NSF lifts restrictions on commercial use of NSFnet (decommissioned, 1995)
early 1990s: Web hypertext [Bush 1945, Nelson 1960’s] HTML, HTTP: Berners-Lee
1994: Mosaic, later Netscape
late 1990’s: commercialization of the Web
1990-2000: more killer apps: instant messaging, P2P file sharing network security to
forefront
est. 50 million host, 100 million+ users
backbone links running at Gbps
2007:
~500 million hosts
Voice, Video over IP
P2P applications: BitTorrent (file sharing) Skype (VoIP), PPLive (video)
more applications: YouTube, gaming
wireless, mobility


