network components

21
Network Components Session No.6 Network Components

Upload: swapnil-kulkarni

Post on 19-Jun-2015

324 views

Category:

Software


0 download

DESCRIPTION

Computer Networking

TRANSCRIPT

Page 1: Network components

Network Components

Session No.6

Network Components

Page 2: Network components

Network Components

Network Components

• NIC (Network Interface Card)

• Repeater

• Hub

• Bridge

• Switch

• Router

• Gateway

• Different Network Domains

Page 3: Network components

Network Components

Network Interface Card

Page 4: Network components

Network Components

r NIC works in two modes:• General mode • Promiscuous mode

r In general mode, the Ethernet card of the computer will allow following types of packets:

• Packets send to the computer.• Broadcast Packet• Multicast packet and if computer is part of that

multicast group.r In promiscuous mode, the Ethernet card of the computer will

allow all the packets that it receives.

Network Interface Card

Page 5: Network components

Network Components

1001 0011-1011 1011-0000 1101

Example: 00-00-E2-93-BB-0D

0000 0000-0000 0000-1110 0010

P/GG/U IEEE assigned

Vendor assigned

48 bits or 6 bytes

Manufacturer of the card

Ethernet Address Format

Page 6: Network components

Network Components

Repeater

• A repeater receives a signal, regenerates it, and passes it on.

• It can regenerate and retime network signals at the bit level to allow them to travel a longer distance on the media.

Page 7: Network components

Network Components

Hub

• Hubs are actually multiport repeaters.

• A typical repeater has just two ports, a hub generally has from four to twenty-four ports.

Page 8: Network components

Network Components

Bridge

• There are times when it is necessary to break up a large LAN into smaller, more easily managed segments.

• The function of the bridge is to make intelligent decisions about whether or not to pass signals on to the next segment of a network.

• When a bridge receives a frame on the network, the destination MAC address is looked up in the bridge table to determine whether to filter, flood, or copy the frame onto another segment.

• If placed strategically, a bridge can greatly improve network performance.     

Page 9: Network components

Network Components

Switch• A switch is sometimes described as a multiport bridge.

• Switches build the forwarding table to determine the destination of data being sent by one computer to another computer on the network.

• Switching is a technology that alleviates congestion in Ethernet LANs by reducing the traffic and increasing the bandwidth.

• Benefits of using Switch:

• Ethernet switch allows many users to communicate in parallel through the use of virtual circuits and dedicated network segments in a virtually collision-free environment. This maximizes the bandwidth available on the shared medium.

• Another benefit is that moving to a switched LAN environment is very cost effective because existing hardware and cabling can be reused.

Page 10: Network components

Network Components

Switch Contd.,

Page 11: Network components

Network Components

• Address learning

• Forward/filter decision

• Loop avoidance

Three Switch Functions

Page 12: Network components

Network Components

• Initial MAC address table is empty

MAC address table

0260.8c01.1111

0260.8c01.2222

0260.8c01.3333

0260.8c01.4444

E0 E1

E2 E3

A B

C D

How Switches Learn Host Locations?

Page 13: Network components

Network Components

• Station A sends a frame to Station C• Switch caches station A MAC address to port E0 by learning the source address

of data frames • The frame from station A to station C is flooded out to all ports except port E0

(unknown unicasts are flooded)

MAC address table

0260.8c01.1111

0260.8c01.2222

0260.8c01.3333

0260.8c01.4444

E0: 0260.8c01.1111

E0 E1

E2 E3DC

BA

How Switches Learn Host Locations

Page 14: Network components

Network Components

• Station D sends a frame to station C• Switch caches station D MAC address to port E3 by learning the source Address of

data frames• The frame from station D to station C is flooded out to all ports except port E3

(unknown unicasts are flooded)

MAC address table

0260.8c01.1111

0260.8c01.2222

0260.8c01.3333

0260.8c01.4444

E0: 0260.8c01.1111E3: 0260.8c01.4444

E0 E1

E2 E3 DC

A B

How Switches Learn Host Locations

Page 15: Network components

Network Components

r Station A sends a frame to station Cr Destination is known, frame is not

flooded

E0: 0260.8c01.1111E2: 0260.8c01.2222E1: 0260.8c01.3333E3: 0260.8c01.44440260.8c01.1111

0260.8c01.2222

0260.8c01.3333

0260.8c01.4444

E0 E1

E2 E3

XX DC

A B

MAC address table

How Switches Filter Frames

Page 16: Network components

Network Components

• Station D sends a broadcast or multicast frame

• Broadcast and multicast frames are flooded to all ports other than the originating port

0260.8c01.1111

0260.8c01.2222

0260.8c01.3333

0260.8c01.4444

E0 E1

E2 E3 DC

A B

E0: 0260.8c01.1111E2: 0260.8c01.2222E1: 0260.8c01.3333E3: 0260.8c01.4444

MAC address table

Broadcast and Multicast Frames

Page 17: Network components

Network Components

Router• While a router can be used to segment LANs, its major use is as a WAN

device.

• They operate at Layer 3 of the OSI model, making decisions based on network addresses.

• The two main functions of a router are the selection of best path for and the switching of frames to the proper interface.

• Routers accomplish this by building routing tables and exchanging network information with other routers.

Page 18: Network components

Network Components

Router Contd.,

Page 19: Network components

Network Components

Gateway

• A node on a network that serves as an entrance to another network.

• A network gateway is an internetworking system, a system that joins two networks together.

• In enterprises, the gateway is the computer that routes the traffic from a workstation to the outside network that is serving the Web pages. In homes, the gateway is the ISP that connects the user to the internet.

Page 20: Network components

Network Components

Network Device Domains

Hub Bridge Switch Router

Collision Domains:

1 2 4 4

Broadcast Domains:

1 1 1 4

Page 21: Network components

Network Components

Exercise for Participants

r Design a network by using different network components, servers and media. Design should start from ISP (Internet service provider).