• No results found

Mod -1

N/A
N/A
Protected

Academic year: 2020

Share "Mod -1"

Copied!
39
0
0

Loading.... (view fulltext now)

Full text

(1)

INTRODUCTION TO

COMPUTER NETWORKS

(2)

OSI - TCP/IP

OSI TCP / IP

Application (Layer7)

Application Presentation (Layer6)

Session (Layer 5)

Transport (Layer 4) Transport

Network (Layer 3) Internet

Data Link (Layer 2)

(3)
(4)
(5)

Application Layer Transport Layer Network Layer Data Link Layer Physical Layer

HTTP Request

HTTP TCP HTTP TCP IP HTTP TCP IP Ethernet

Sender Receiver

Request Request Request Application Layer Transport Layer Network Layer Data Link Layer Physical Layer

HTTP Request

(6)

Network Devices

(7)

Devices and the layers at which

they operate

Layer Name of Layer Device

3 Network Routers, layer 3

switches

2 Data Link Switches,

bridges, NIC’s

(8)

NIC’s

(

Network Interface Cards

)

(9)

Repeaters

• Signal attenuation or signal loss – signal degrades over distance

• Repeaters clean, amplify, and resend signals that are weakened by long cable length.

(10)

Hubs

• OSI layer 1 hardware

• Hubs regenerate and retime network signals

• Hubs propagate signals through the network

• They cannot filter network traffic

• They cannot determine best path

• They are used as network concentration points

• They are really multi-port repeaters

(11)

Bridges

• A layer 2 device designed to create two or more LAN segments, each of which is a

separate collision domain.

• The purpose is to filter traffic on a LAN, to

keep local traffic local, yet allow connectivity to other segments of the network.

• Filter traffic by looking at the MAC address

(12)

Bridges

• If the frame is addressed to a MAC address on the local side of the bridge, it is not forwarded to the other segment

• MAC addresses on the other segment are forwarded

(13)

Switched networks

• Shared ethernet networks perform best when kept to 30-40 percent full capacity

• This is a result of CSMA/CD

• A LAN switch is a high-speed multiport bridge which segments each port into its own

(14)

Switches

(15)

Store and Forward Switches

• Do error checking on each frame after the entire frame has arrived into the switch

• If the error checking algorithm determines there is no error, the switch looks in its MAC address table for the port to which to forward the destination device

• Highly reliable because doesn’t forward bad frames

(16)

Cut Through Switch

• Faster than store and forward because doesn’t perform error checking on frames

• Reads address information for each frame as the frames enter the switch

• After looking up the port of the destination device, frame is forwarded

• Forwards bad frames

(17)

Fragment free cut through switch

• Combines speed of cut through switch with error checking functionality

• Forwards all frames initially, but determines that if a particular port is receiving too many bad frames, it reconfigures the port to store and forward mode

(18)

Unmanaged/Intelligent switches

• Unmanaged – provides LAN’s with all the benefits of switching

• Fine in small networks

• Intelligent switches tracks and reports LAN performance statistics

• Have a database ASIC (application specific integrated circuit) on board to collect and

(19)

Layer 3 switch

• By definition a switch filters or forwards frames based on MAC addresses. This makes a switch a layer 2 device.

• Now we have layer 3 switches which have routing

capability. If a data frame can’t be switched it is routed.

• Each port is a separate LAN port, but the forwarding

engine actually calculates and stores routes based on IP addresses, not MAC addresses

(20)

VLAN Switches

• Virtual local area network

• Each port on a switch defines a collision domain

• The entire switch forms a single broadcast domain

• VLANs can define multiple broadcast domains

• Network traffic that is directed to all computers on the network can be segmented to transmit only on a specific VLAN.

(21)
(22)
(23)
(24)
(25)

What is an IP Address?

• An IP address is a unique global address for a network interface

• An IP address:

- is a 32 bit long identifier

- encodes a network number (network prefix)

(26)

Dotted Decimal Notation

• IP addresses are written in a so-called dotted

decimal notation

• Each byte is identified by a decimal number in the range [0..255]:

Example:

10001111

10000000 10001001 10010000

1st Byte

= 128

2nd Byte

= 143

3rd Byte

= 137

4th Byte

= 144

(27)

• The network prefix identifies a network and the host number identifies a specific host (actually, interface on the network).

How do we know how long the network prefix is?

– The network prefix is implicitly defined (see class-based

addressing)

– The network prefix is indicated by a netmask.

Network prefix and Host number

(28)
(29)
(30)

CIDR - Classless Interdomain Routing

Goals:

– Restructure IP address assignments to increase efficiency

– Hierarchical routing aggregation to minimize route table entries

Key Concept: The length of the network id (prefix) in the IP addresses is kept arbitrary

(31)

CIDR Example

• CIDR notation of a network address: 192.0.2.0/18

• "18" says that the first 18 bits are the network part of the address (and 14 bits are available for specific host addresses)

• The network part is called the prefix

• Assume that a site requires a network address with 1000 addresses

(32)
(33)

Variable Length Subnet Masking (VLSM)

VLSM enables you to have more than one mask for a given class of address, albeit a class A, B, or C network number.

VLSM, allows you to apply different subnet masks to the same class address space Classful protocols, such as RIPv1 and IGRP, do not

support VLSM.

(34)

What class is our IP address block?

How many physical subnets are on the network today? (A “physical subnet” generally refers to a broadcast domain on a LAN; a set of hosts on a physical network bounded by routers.)

Do we anticipate adding any more physical networks in the near future, and if so, how many?

How many hosts do we have in the largest of our subnets today?

How many hosts do we anticipate having in the largest subnet in the near future?

(35)
(36)
(37)
(38)
(39)

References

Related documents

Fast J=148 -fr I. International © Secured Made in U.S.A. All Rights Reserved.. * ARRANGERS' * PUBUSHINC * COMPANY * Trombone.. Broadly

If found, and the destination address is located at a different port from this packet comes in, the Industrial Fast Ethernet Switch will forward this packet to the port where this

When the switch receives a broadcast packet or an unknown unicast packet whose MAC address is not included in the MAC address table of the switch, it will forward the packet to

Es un cuestionario que consta de 3 ítems (a-.Frecuencia; b-.Cantidad; c-.Afectación), que obtienen una suma total de índice de incontinencia (ICQ) el cuál si es superior a 0 indica

Newby indicated that he had no problem with the Department’s proposed language change.. O’Malley indicated that the language reflects the Department’s policy for a number

When a switch receives an incoming frame with a destination MAC address that is not found in the MAC address table, the switch forwards the frame out of all ports (flooding) except

• Source IP Address • Destination IP Address • IP Protocol / IPv6 next hdr • Source TCP/UDP Port • Destination TCP/UDP Port • Source MAC Address • Destination MAC Address

In this study, simulations using an Earth System Model showed that changes in dry deposition and isoprene emissions due to vegetation change (1865 to 2000) are shown to have a