34
Chapter 4: Network Interface Cards

Chapter 04 Networking Interface Cards

Embed Size (px)

Citation preview

Page 1: Chapter 04 Networking Interface Cards

Chapter 4:Network Interface Cards

Page 2: Chapter 04 Networking Interface Cards

Guide to Networking Essentials, Fourth Edition 2

Learning Objectives

Describe the role a network adapter card plays in networked communications

Explain how network adapters prepare data for transmission, accept incoming network traffic, and control how networked communications flow

Understand the variety of configurable options for network adapters, and describe common settings

Page 3: Chapter 04 Networking Interface Cards

Guide to Networking Essentials, Fourth Edition 3

Learning Objectives (continued)

Describe important characteristics for selecting adapter cards

Recount network adapter enhancements that can improve performance

Explain the role of driver software in network adapters

Page 4: Chapter 04 Networking Interface Cards

Guide to Networking Essentials, Fourth Edition 4

Network Interface Card (NIC) Basics

Plugs into expansion slot Provides physical interface between computer

and network medium Performs two crucial tasks

Establishes and manages computer’s network connection

Translates data into signals for outgoing messages and translates signals for incoming messages

Page 5: Chapter 04 Networking Interface Cards

Guide to Networking Essentials, Fourth Edition 5

From Parallel to Serial, and Vice Versa

Most computers use parallel data lines, called a bus, to send data between CPU and adapter cards

Most networking media transmits data in single line, called serial transmission

NIC translates parallel into serial for outgoing messages and serial into parallel for incoming messages

See Figure 4-1

Page 6: Chapter 04 Networking Interface Cards

Guide to Networking Essentials, Fourth Edition 6

NIC Allows the Computer and the Network Cable to Communicate

Page 7: Chapter 04 Networking Interface Cards

Guide to Networking Essentials, Fourth Edition 7

Understanding the Bus

Bus width refers to number of parallel lines, each able to move one bit at a time

Industry Standard Architecture (ISA) has an 8- or 16-bit bus

Later 32-bit and 64-bit buses were introduced The 64-bit Peripheral Component Interconnect

(PCI) is fastest and most popular bus today

Page 8: Chapter 04 Networking Interface Cards

Guide to Networking Essentials, Fourth Edition 8

Transceiver

Designed for specific medium NIC accesses transceiver to transmit data

Some NICs include transceiver

Ethernet can use variety of media Some Ethernet NICs offer multiple interfaces See Figure 4-2 Newer NICs have only one type of media connector

Page 9: Chapter 04 Networking Interface Cards

Guide to Networking Essentials, Fourth Edition 9

Ethernet NIC

Page 10: Chapter 04 Networking Interface Cards

Guide to Networking Essentials, Fourth Edition 10

NICs and Packets

Packets are basic unit of data for network transmission and reception

NICs create packets of bits Transmit packets serially onto network medium Act as gatekeeper, allowing only inbound packets

intended for its computer

Page 11: Chapter 04 Networking Interface Cards

Guide to Networking Essentials, Fourth Edition 11

MAC Address

NIC has unique identifier, called Media Access Control (MAC) address Programmed into ROM chip 48-bit number, written as six two-digit hexadecimal

numbers separated by colons First part identifies manufacturer Second part unique to each NIC

Page 12: Chapter 04 Networking Interface Cards

Guide to Networking Essentials, Fourth Edition 12

PC Buses

Industry Standard Architecture (ISA) uses 8- or 16- bit bus with top speed of 10 MHz – essentially obsolete

Extended Industry Standard Architecture (EISA) offers 32-bit bus – obsolete

Micro Channel Architecture (MCA) is IBM’s proprietary 32-bit bus with speeds up to 66 MHz – largely obsolete

Page 13: Chapter 04 Networking Interface Cards

Guide to Networking Essentials, Fourth Edition 13

PC Buses (continued)

Peripheral Component Interface (PCI) is newest 64-bit version of high-speed local bus; PCI 2.0 moved PCI from being a local bus, tied to the CPU, to a microprocessor-independent bus that can be used with any manufacturer’s CPU

PCI-X – PCI-X 2.0, is backward compatible to PCI, but supports speeds from 66 MHz to 533 MHz, providing data transfers from 500 MBps to 4.3; this high speed accommodates Gigabit and 10 Gigabit Ethernet and high-speed disk controllers (such as Ultra3 SCSI and 10Gb Fibre Channel)

Page 14: Chapter 04 Networking Interface Cards

Guide to Networking Essentials, Fourth Edition 14

PC Buses (continued)

Developing bus standards – Currently in development is a serial-based bus called PCI Express (formerly named 3GIO) Will likely operate at speeds from 2.5 Gbps to 10

Gbps Because PCI Express can be set up in lanes, several

lanes can be combined to provide tremendous transfer speeds

Speeds are expected to reach 5 GBps and beyond

Page 15: Chapter 04 Networking Interface Cards

Guide to Networking Essentials, Fourth Edition 15

PC Buses (continued)

Page 16: Chapter 04 Networking Interface Cards

Guide to Networking Essentials, Fourth Edition 16

Other PC Interfaces Used for Networking

Universal Serial Bus (USB) is serial interface for low-speed peripheral devices

FireWire (IEEE 1394) is high-speed serial bus with bandwidth up to 400 Mbps used for digital cameras and video devices New version, 1394b, supports transfers up to

3200 Mbps

Page 17: Chapter 04 Networking Interface Cards

Guide to Networking Essentials, Fourth Edition 17

Principles of NIC Configuration

Match NIC to slot on PC or external connection such as USB

Plug and Play usually configures NIC recognized by power-on self-test (POST) If necessary, manually configure NIC

NIC configuration involves three settings: Interrupt Request line (IRQ) Base I/O port Base memory address

Page 18: Chapter 04 Networking Interface Cards

Guide to Networking Essentials, Fourth Edition 18

Making the Network Attachment

NIC performs several roles: Establishes physical link to networking medium Generates signals that traverse networking medium Receives incoming signals Implements controls that determine when signals

transmit to or are received from network medium Connections on NIC determine media type

May need to set jumpers or DIP switches to select media used

Page 19: Chapter 04 Networking Interface Cards

Guide to Networking Essentials, Fourth Edition 19

Choosing Network Adapters for Best Performance

Direct Memory Access (DMA)

Shared adapter memory

Shared system memory

Bus mastering RAM buffering

On-board co-processors

Security features Traffic management Fault tolerance Improved

management features

NICs affect network performanceConsider several enhancements that can affect speed and data-handling capabilities:

Page 20: Chapter 04 Networking Interface Cards

Guide to Networking Essentials, Fourth Edition 20

Choosing Network Adapters for Best Performance (continued)

Purchasing checklist for network interface cards: Bus width (16-bit is slower than 32-bit; pick PCI or PCI-

X) Bus type (pick 64-bit PCI-X for servers whenever

possible) Memory transfer (shared memory outpaces I/O or DMA) Special features required (security, management,

protocol handling, hot-plug capable) Bus mastering (important for servers) Vendor factors (quality, reliability, staying power,

reputation)

Page 21: Chapter 04 Networking Interface Cards

Guide to Networking Essentials, Fourth Edition 21

Special-Purpose NICs

Several type of NICs deliver specialized capabilities Wireless Adapters Remote Boot Adapters

Page 22: Chapter 04 Networking Interface Cards

Guide to Networking Essentials, Fourth Edition 22

Wireless Adapters

Include some or all of these components: Indoor antenna and antenna cable Software to enable adapter to work with particular network

environment Diagnostic software to check installation or troubleshoot Installation software Remote Boot Adapters

Used with wireless access point to add wireless devices to existing wired network

Keep in mind the standard you need: 802.11a, 802.11b, 802.11g

Page 23: Chapter 04 Networking Interface Cards

Guide to Networking Essentials, Fourth Edition 23

Remote Boot Adapters

Diskless workstations boot up by reading information from disk

NIC has Boot PROM (programmable read-only memory) that is PXE (pre-boot execution environment) compliant Includes hardwired code to start computer and access

the network Advantages of remote boot adapters include

cost saving, better reliability, and increased security

Page 24: Chapter 04 Networking Interface Cards

Guide to Networking Essentials, Fourth Edition 24

Driver Software

NIC requires software device driver Small specialized program that manages

communications between operating system and NIC

Poorly written or incorrect drivers may prevent PC from booting or may have detrimental impact on network performance

Earlier, each NIC vendor built its own driver Now, operating system vendors define drivers

Page 25: Chapter 04 Networking Interface Cards

Guide to Networking Essentials, Fourth Edition 25

Driver Software (continued)

Three major vendor standards for drivers: Network Device Interface Specification (NDIS)

defines interface between MAC sublayer and NIC driver; lets NIC use multiple protocols

Win32 Driver Model (WDM) defines interface for PCs with modern Windows operating systems; improves driver quality by dividing drivers by function

Open Data-link Interface (ODI) defined by Apple and Novell allows NIC to use multiple protocols

Page 26: Chapter 04 Networking Interface Cards

Guide to Networking Essentials, Fourth Edition 26

Driver Software (continued)

Installing NIC driver is usually easy Many operating systems include drivers for most

popular NICs or NICs may come with drivers

Most installation programs provide GUI to help with installation Figure 4-4 shows the first screen of the New

Connection Wizard User supplies configuration information if necessary

such as IRQ and base I/O port

Page 27: Chapter 04 Networking Interface Cards

Guide to Networking Essentials, Fourth Edition 27

New Connection Wizard

Page 28: Chapter 04 Networking Interface Cards

Guide to Networking Essentials, Fourth Edition 28

Driver Software (continued)

NIC drivers continue to evolve Check manual for NIC Check vendor’s Web site and technical support

line Many manufacturers supply knowledgebase with

problems and resolutions

Update drivers when newer one is available

Page 29: Chapter 04 Networking Interface Cards

Guide to Networking Essentials, Fourth Edition 29

Chapter Summary

Network interface cards (NICS) provide interface between computer and networking medium

NICs prepare, send, and control data flow across network

To send data, NIC must reformat outgoing data from parallel to serial and reverse the process to receive data

Each NIC has unique hardware network address called the MAC address

Page 30: Chapter 04 Networking Interface Cards

Guide to Networking Essentials, Fourth Edition 30

Chapter Summary (continued)

NICs have configurable options that must be set for the adapter to make a network connection

Some NICs may require unique interrupt request line (IRQ), base I/O port, and base memory address

These options may be selected by Plug and Play Edge connector of NIC must match PC slot into

which it will plug NICs media attachment must match network

medium and connector type to which it will connect

Page 31: Chapter 04 Networking Interface Cards

Guide to Networking Essentials, Fourth Edition 31

Chapter Summary (continued)

NICs have profound effect on overall network performance

Options, such as Direct Memory Access (DMA), shared adapter or system memory, and bus mastering, enhance capabilities of NIC

Using RAM buffering or incorporating on-board co-processor can improve performance

Some NICs include specialized capabilities, such as hot plug, dual ports, security settings, management interfaces, wireless communications, and remote boot support

Page 32: Chapter 04 Networking Interface Cards

Guide to Networking Essentials, Fourth Edition 32

Chapter Summary (continued)

Consider this checklist when selecting a NIC Bus width: wider is better, use PCI or PCI-X Bus type: use PCI-X for servers when possible Memory transfer: shared memory outpaces

I/O or DMA Special features required: security, management,

protocol handling, hot-plug capable Bus mastering: important for servers Vendor factors: quality, reliability, staying power,

reputation

Page 33: Chapter 04 Networking Interface Cards

Guide to Networking Essentials, Fourth Edition 33

Chapter Summary (continued)

When purchasing a wireless NIC, keep in mind the 802.11 standard in use: 802.11a, 802.11b, or 802.11g

Also keep in mind security features such as WEP, WPA, and 802.11i

Page 34: Chapter 04 Networking Interface Cards

Guide to Networking Essentials, Fourth Edition 34

Chapter Summary (continued)

Driver software is crucial for NIC to communicate with computer’s operating system Make sure valid driver is available for your

operating system Always use latest driver version Make regular driver upgrades part of network

maintenance routine