lecture-2: idea of network lan - local area network wan - wide area network

40
Lecture-2: Idea of Network LAN - Local Area Network WAN - Wide Area Network

Upload: harold-mcdowell

Post on 17-Jan-2016

229 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Lecture-2: Idea of Network LAN - Local Area Network WAN - Wide Area Network

Lecture-2:

Idea of Network LAN - Local Area NetworkWAN - Wide Area Network

Page 2: Lecture-2: Idea of Network LAN - Local Area Network WAN - Wide Area Network

Model of Internetworking delivery• Access Networks (LAN based)• Interconnection/Transit Networks (WAN based)

Although in this schematic the interconnection is only via one WAN a real world internet delivery would be by multiple WANs.

Source LANSource LAN

Transit WAN (‘Backbone’)

Transit WAN (‘Backbone’) Destination

LAN

Destination LAN

Gateway

Gateway

Page 3: Lecture-2: Idea of Network LAN - Local Area Network WAN - Wide Area Network

LANs and WANsLAN-1

LAN-2

LAN-3

LAN-4

WAN-2

WAN-1

WANs

Page 4: Lecture-2: Idea of Network LAN - Local Area Network WAN - Wide Area Network

WAN - Features• Long distance transmission (via serial connection).• Typically point to point (PPP) links.• Backbones within networks or interconnecting

networks.• WANs can either be circuit switched or packet

switched.- The telephony network (PSTN) is an example of a circuit switched network.

(Voice traffic networking is migrating away from the PSTN to packet switched networks) – not VoIP.

- The Internet is the dominant packet switched network.

Packet switching comes in two flavours: datagram of which the Internet is the pre-eminent example and virtual circuit of which ATM and frame relay are examples.

Network Models

Page 5: Lecture-2: Idea of Network LAN - Local Area Network WAN - Wide Area Network

c. packet-switched

a. circuit-switched

Page 6: Lecture-2: Idea of Network LAN - Local Area Network WAN - Wide Area Network

LAN - Features:

• Provides connectivity at a local level – within an office, within in a building, within a small campus.

• Limited coverage distance. (depends on technologies)• Utilizes medium access control (MAC) protocols.• Operates over shared transmission links. (CSMA/CD or

OFDM)• Mostly based on Ethernet Technology (Fast-Ethernet

interfaces).• The Ethernet IEEE802.3 is the pre-eminent wired LAN

MAC protocol.• The WiFi IEEE802.11x is the pre-eminent wireless LAN

MAC protocol.

Page 7: Lecture-2: Idea of Network LAN - Local Area Network WAN - Wide Area Network

Types of connections

Types of LAN Structure

Page 8: Lecture-2: Idea of Network LAN - Local Area Network WAN - Wide Area Network

Categories of topology

Page 9: Lecture-2: Idea of Network LAN - Local Area Network WAN - Wide Area Network

A fully connected mesh topology

MESH

L = n(n-1)/2Advantages

No sharing (Dedicated link)

Robust

Secure (Dedicated link)

Easy fault identification

Disadvantages

Complex, Expensive, Bulky

All these are a function of the large amount of cabling needed.

Page 10: Lecture-2: Idea of Network LAN - Local Area Network WAN - Wide Area Network

A star topology connecting four stations

STARAdvantages

Cheaper than mesh ( – but more expensive than bus).

Flexible (change only requires the addition or removal of one cable).

Robust in that failure of a cable only results in a single station loosing connectivity.

Easy fault identification

Disadvantages

Single point of failure at the hub.

Less secure.

The STAR can be configured as point to multipoint depending on the nature of the hub but BUS is always a shared multipoint link.

Page 11: Lecture-2: Idea of Network LAN - Local Area Network WAN - Wide Area Network

Example of Star Network

Page 12: Lecture-2: Idea of Network LAN - Local Area Network WAN - Wide Area Network

BUS

Advantages Ease of installation and low cost.

Disadvantages Performance is very poor under moderate to heavy loading, single point of failure, poor

security.

A bus topology

Page 13: Lecture-2: Idea of Network LAN - Local Area Network WAN - Wide Area Network

A ring topology

RING Advantages

Easy to install

Flexible (adding removing stations)

Self monitoring (circulating token)

Disadvantages

Unidirectional

Single point of failure

Security

Page 14: Lecture-2: Idea of Network LAN - Local Area Network WAN - Wide Area Network

A hybrid topology: a star backbone with three bus networks

TREE

Page 15: Lecture-2: Idea of Network LAN - Local Area Network WAN - Wide Area Network

Internetworking allows separate networks to exchange Internetworking allows separate networks to exchange data. The Internet connects networks nationally and data. The Internet connects networks nationally and globally using globally using TCP/IP protocolsTCP/IP protocols.. •The Internet (and the WWW) has revolutionized The Internet (and the WWW) has revolutionized many aspects of our daily lives. many aspects of our daily lives. •It has affected the way we do business as well as the It has affected the way we do business as well as the way we spend our leisure time. way we spend our leisure time. •The Internet is a communication system that has The Internet is a communication system that has brought a wealth of information to our fingertips and brought a wealth of information to our fingertips and organized it for our use. organized it for our use.

THE INTERNET

Page 16: Lecture-2: Idea of Network LAN - Local Area Network WAN - Wide Area Network

Internetworking schematic - made of four WANs and two LANs

Page 17: Lecture-2: Idea of Network LAN - Local Area Network WAN - Wide Area Network
Page 18: Lecture-2: Idea of Network LAN - Local Area Network WAN - Wide Area Network
Page 19: Lecture-2: Idea of Network LAN - Local Area Network WAN - Wide Area Network

Hierarchical Network• A good network structure need to be self-contained.• In networking, hierarchical design is used to group

devices into multiple networks that are organized in a layered approach. (this layer concept is different from OSI layer)

• It consists of smaller, more manageable groups that allow local traffic to remain local.

• Only traffic that is destined for other networks is moved to a higher layer.

• A hierarchical, layered design provides optimization of function and increased speed and efficiency.

• It allows the network to scale as required because additional local networks can be added without impacting the performance of the existing ones.

Page 20: Lecture-2: Idea of Network LAN - Local Area Network WAN - Wide Area Network

Hierarchical NetworkThe hierarchical design has three basic layers:

– Access Layer - to provide connections to hosts in a Local Network.

– Distribution Layer - to interconnect various Local Networks.

– Core Layer - a high-speed connection between different Distribution Layer devices.

Page 21: Lecture-2: Idea of Network LAN - Local Area Network WAN - Wide Area Network

Network Devices in Hierarchical Network

Access Layer – Hubs or Switches (layer-2 device).

Distribution Layer – ISR or Router (layer-3 device).

Core Layer – high-speed Router, WAN devices.

Page 22: Lecture-2: Idea of Network LAN - Local Area Network WAN - Wide Area Network
Page 23: Lecture-2: Idea of Network LAN - Local Area Network WAN - Wide Area Network

The term Local Area Network (LAN) refers to a local network, or a group of interconnected local networks that are under the same administrative control.

In the early days of networking, LANs were defined as small networks that existed in a single physical location. While LANs can be a single local network installed in a home or small office, the definition of LAN has evolved to include interconnected local networks consisting of many hundreds of hosts, installed in multiple buildings and locations.

The important thing to remember is that all of the local networks within a LAN are under one administrative control. Other common characteristics of LANs are that they typically use Ethernet or wireless protocols, and they support high data rates.

The term Intranet is often used to refer to a private LAN that belongs to an organization, and is designed to be accessible only by the organization's members, employees, or others with authorization.

So, what is LAN?

Page 24: Lecture-2: Idea of Network LAN - Local Area Network WAN - Wide Area Network

What is the difference?

Page 25: Lecture-2: Idea of Network LAN - Local Area Network WAN - Wide Area Network
Page 26: Lecture-2: Idea of Network LAN - Local Area Network WAN - Wide Area Network

All hosts in One Local Segment

Hosts in Remote Segments

Page 27: Lecture-2: Idea of Network LAN - Local Area Network WAN - Wide Area Network
Page 28: Lecture-2: Idea of Network LAN - Local Area Network WAN - Wide Area Network

Questions:• How many switches can you see?• How many hubs?• How many routers?• Is there a Core-layer in this diagram?• From the Access layer, how many

individual small local groups are there? • From the Distribution layer, how many

LANs are there?• Is there a peer-to-peer connection?

Page 29: Lecture-2: Idea of Network LAN - Local Area Network WAN - Wide Area Network

• There are many considerations that must be taken into account when planning for a network installation.

• The logical and physical topology maps of the network need to be designed and documented before the networking equipment is purchased and the hosts are connected.

• Some things to consider include:

1. Physical environment where the network will be installed:• Temperature control: all devices have specific ranges of

temperature and humidity requirements for proper operation

• Availability and placement of power outlets

Network Design and Planning:

Page 30: Lecture-2: Idea of Network LAN - Local Area Network WAN - Wide Area Network

2. Physical configuration of the network:• Physical location of devices such as routers, switches,

and hosts• How all devices are interconnected• Location and length of all cable runs• Hardware configuration of end devices such as hosts

and servers

3. Logical configuration of the network:• Location and size of broadcast and collision domains• IP addressing scheme• Naming scheme• Sharing configuration• Permissions

Network Design and Planning:

Page 31: Lecture-2: Idea of Network LAN - Local Area Network WAN - Wide Area Network

Physical Layout Planning

Page 32: Lecture-2: Idea of Network LAN - Local Area Network WAN - Wide Area Network

Logical Layout Planning

Page 34: Lecture-2: Idea of Network LAN - Local Area Network WAN - Wide Area Network

NextTCP/IP revisit

Page 35: Lecture-2: Idea of Network LAN - Local Area Network WAN - Wide Area Network

The TCP/IP Model

Page 36: Lecture-2: Idea of Network LAN - Local Area Network WAN - Wide Area Network

An exchange using the TCP/IP model

DatagramDatagram

FrameFrame

ApplicationApplication

Page 37: Lecture-2: Idea of Network LAN - Local Area Network WAN - Wide Area Network

Type of Addresses in TCP/IP

Page 38: Lecture-2: Idea of Network LAN - Local Area Network WAN - Wide Area Network

Relationship of layers and addresses in TCP/IP

MAC Address:

31:5C:BB:63:2A:D1

IP Address: 192.168.200.4

Port number:

Well-known port no.: 0 – 1023

Dynamic port no.: 1024 – 65535

Page 39: Lecture-2: Idea of Network LAN - Local Area Network WAN - Wide Area Network

IP Packet (L3) and Ethernet Frame (L2)

Page 40: Lecture-2: Idea of Network LAN - Local Area Network WAN - Wide Area Network

Port numbers (L4), IP Packet (L3) and Ethernet Frame (L2)