Sunday, June 27, 2010

Table of Contents


Section 1
Section 2
Section 3
Section 4
Section 5
Section 6
Section 7

Network Orientation

Peer to Peer Networks

  • No dedicated server or hierarchy, also called a workgroup.
  • Usually 10 or fewer workstations.
  • Users act as their own administrator and security.
  • Computers are in same general area.
  • Limited growth.

Server Based Networks

  • 10 or more users.
  • Employs specialized servers.
    1. File and Print
    2. Application
    3. Mail
    4. Fax
    5. Communications (gateways)
  • Central administration.
  • Greater security.
  • Centralized backup.
  • Data Redundancy.
  • Supports many users

Combination Networks

  • Combines the features of both Peer to Peer and Server based networks
  • Users can share resources among themselves as well as access server-based resources.

Network Topologies

There are 4 basic topologies with variations

Bus Topology

  • Bus consists of a single linear cable called a trunk.
  • Data is sent to all computers on the trunk. Each computer examines EVERY packet on the wire to determine who the packet is for and accepts only messages addressed to them.
  • Bus is a passive topology.
  • Performance degrades as more computers are added to the bus.
  • Signal bounce is eliminated by a terminator at each end of the bus.
  • Barrel connectors can be used to lengthen cable.
  • Repeaters can be used to regenerate signals.
  • Usually uses Thinnet or Thicknet
    • both of these require 50 ohm terminator
  • good for a temporary, small (fewer than 10 people) network
  • But its difficult to isolate malfunctions and if the backbone goes down, the entire network goes down.

Star Topology

  • Computers are connected by cable segments to a centralized hub.
  • Signal travels through the hub to all other computers.
  • Requires more cable.
  • If hub goes down, entire network goes down.
  • If a computer goes down, the network functions normally.
  • most scalable and reconfigurable of all topologies

Ring Topology

  • Computers are connected on a single circle of cable.
  • usually seen in a Token Ring or FDDI (fiber optic) network
  • Each computer acts as a repeater and keeps the signal strong => no need for repeaters on a ring topology
  • No termination required => because its a ring
  • Token passing is used in Token Ring networks. The token is passed from one computer to the next, only the computer with the token can transmit. The receiving computer strips the data from the token and sends the token back to the sending computer with an acknowledgment. After verification, the token is regenerated.
  • relatively easy to install, requiring ;minimal hardware

Mesh

  • The mesh topology connects each computer on the network to the others
  • Meshes use a significantly larger amount of network cabling than do the other network topologies, which makes it more expensive.
  • The mesh topology is highly fault tolerant.
    • Every computer has multiple possible connection paths to the other com-puters on the network, so a single cable break will not stop network communications between any two computers.

Star Bus Topology

  • Several star topologies linked with a linear bus.
  • No single computer can take the whole network down. If a single hub fails, only the computers and hubs connected to that hub are affected.

Star Ring Topology

  • also known as star wired ring because the hub itself is wired as a ring. This means it's a physical star, but a logical ring.
  • This topology is popular for Token Ring networks because it is easier to implement than a physical ring, but it still provides the token passing capabilities of a physical ring inside the hub.
  • Just like in the ring topology, computers are given equal access to the network media through

  • the passing of the token.
  • A single computer failure cannot stop the entire network, but if the hub fails, the ring that the hub controls also fails.
Hybrid Mesh
  • most important aspect is that a mesh is fault tolerant
  • a true mesh is expensive because of all the wire needed
  • another option is to mesh only the servers that contain information that everyone has to get to. This way the servers (not all the workstations) have fault tolerance at the cabling level.

Primary Cable Types

Primary Cable Types
  • Coaxial Cable
  • Twisted-pair
    • UTP - Unshielded Twisted Pair
    • STP - Shielded Twisted Pair
  • Fiber-optic
Coaxial Cable
  • Consists of a solid or stranded copper core surrounded by insulation, a braided shield and an insulating jacket.
  • Braided shield prevents noise and crosstalk.
  • More resistant to interference and attenuation than twisted pair cabling.
  • Both thin and thick cables can use (see pp. 80-81 for pics)
    • BNC cable connectors,
    • BNC barrel connectors
    • BNC T connectors
    • BNC terminators.
  • Plenum (fire resistant) graded cable can be used in false ceilings of office space or under the floor.
  • Can transmit data, voice and video.
  • Offers moderate security ----> better than UTP/STP

Thinnet - RG-58 cable

  • called
  • 0.25" thick.
  • Uses
    • BNC twist connector,
    • BNC barrel connectors
    • BNC T connectors
    • 50 ohm terminators
  • Can carry signals 185 meters or 607 feet.
  • Types: (pics on page 78)
    Coaxial Cable Types
    RG-8 and RG-11 Thicknet (50 ohms)
    RG-58 Family
    RG-58 /U
    Solid copper (50 ohms)
    RG-58 A/U
    Thinnet, Stranded copper (50 ohms)
    RG-58 C/U
    Thinnet, Military grade (50 ohms)
    RG-59 Broadband/Cable TV (75 ohm) video cable
    RG-62 A/U  ARCnet cable (93 ohm)
    RG-62 A/U is the standard ARCnet cable, but ARCnet can use fiber optic or twisted pair.
  • each cable must have a terminator whose impedance matches the cable type
  • impedance = current resistance measured in ohms
  • terminators are resistors that prevent signal bounce or echo.
Here are some limitations of 10Base2 Ethernet:
  • Length of trunk segment may be up to 607 feet.
  • A maximum of 30 workstations is allowed per trunk.
  • There may be no more than 1024 workstations per network.
  • Entire network trunk length can't exceed 3035 feet (925 meters)
  • The minimum cable length between workstations is 20 inches.
  • The Ethernet 5-4-3 Rule for connecting segments is 5 trunk segments can be connected, with 4 repeaters or concentrators, with no more than 3 populated segments (on coaxial cable).

Thicknet - RG-8 and RG-11 coaxial cable

  • 0.5" thick
  • used for 10Base5 networks, linear bus topology
  • transmits at 10 Mbps
  • Uses DIX or AUI (Attachment Unit Interface) connector - also known as DB-15 connector to connect to external transceivers.
  • Vampire taps are used to attach a transceiver to the thicknet trunk.
  • Can carry signals 500 meters or 1640 feet.
  • much less flexible and far more bulky and harder to install than thinnet
  • better security than thinnet
  • better resistance to electrical interference than thinnet.
  • MORE expensive than thinnet.
Twisted-Pair Cable
  • Consists of two insulated copper wires twisted around each other.
  • Twisting cancels out electrical noise from adjacent pairs (crosstalk) and external sources.
  • Uses RJ-45 telephone-type connectors (larger than telephone and consists of eight wires vs. Telephone's 4 wires).
  • Generally inexpensive.
  • Easy to install.

Unshielded Twisted Pair (UTP)

  • Maximum cable length is 100 meters or 328 feet (10BaseT).
  • Types:
    1. Cat 1 Voice grade telephone cable.
    2. Cat 2 Data grade up to 4 Mbps, four twisted pairs.
    Category 3 and above is needed for Ethernet networks. Cat 3, 4, and 5 use RJ-45 connectors
    1. Cat 3 Data grade up to 10 Mbps, four pairs w/3 twists/ft.
    2. Cat 4 Data grade up to 16 Mbps, four twisted pairs.
    3. Cat 5 Data grade up to 100 Mbps, four twisted pairs.
    This is the cheapest cable to put in. Exam questions ALWAYS take this as a given.
Here are some limitations of 10BaseT Ethernet:
  • Workstations may be no more than 328 feet from the concentrator port.
  • 1,023 stations are allowed on a segment without bridging.
  • The minimum cable length between workstations is 8 feet.
Other Drawbacks
  • UTP is particularly susceptible to crosstalk, which is when signals from one line get mixed up with signals from another.
  • easily tapped (because there is no shielding)
  • 100 meters is shortest distance => attenuation is the biggest problem here.

Shielded Twisted Pair (STP)

  • Uses a woven copper braid jacket and a higher quality protective jacket. Also uses foil wrap between and around the wire pairs.
  • Much less susceptible to interference and supports higher transmission rates than UTP.
  • Shielding makes it somewhat harder to install.
  • same 100 meter limit as UTP.
  • harder to tap
  • used in AppleTalk and Token Ring networks
Fiber Optic Cable
  •  Consists of a small core of glass or plastic surrounded by a cladding layer and jacket.
  • Fibers are unidirectional (light only travels in one direction) so two fibers are used, one for sending and one for receiving. Kelvar fibres are placed between the two fibres for strength.
  • Good for very high speed, long distance data transmission.
  • NOT subject to electrical interference.
  • Cable can't be tapped and data stolen => high security
  • Most expensive and difficult to work with.
  • Immune to tapping.
  • can transmit at 100 Mbps and way up to 2 Gbps
  • up to 2000 meters without a repeater.
  • Supports data, voice and video.
  • needs specialized knowledge to install => expensive all round.
Cable Type Comparisons
Type Speed Distance Installation Interference Cost # of nodes per segment # of nodes per network
10BaseT 10 Mbps 100 meters Easy Highly susceptible Least expensive 1 computer
100BaseT 100 Mbps 100 meters Easy Highly susceptible More expensive than 10BaseT
STP 16 to 155 Mbps 100 meters Moderately Easy Somewhat resistant More expensive than Thinnet or UTP
10Base2 10 Mbps 185 meters Medium Difficulty Somewhat resistant Inexpensive 30 1024
10Base5 10 Mbps 500 meters More difficult than Thinnet More resistant than most cable More expensive than most cable 100 300
Fiber Optic 100 Mbps to
2 Gbps
2000 meters Most difficult Not susceptible to electronic interference Most expensive type of cable
Signal Transmission

Baseband Transmission -- Digital

  • Baseband transmission uses digital signaling over a single frequency.
  • Entire communication channel is used to transmit a single signal.
  • Flow is bi-directional. Some can transmit and receive at the same time.
  • Baseband systems use repeaters to strengthen attenuated signals.

Broadband Transmission -- Analog

  • Broadband uses analog signaling over a range of frequencies.
  • Signals are continuous and non-discrete.
  • Flow is uni-directional and so two frequency channels or two separate cables must be used.
    • if enough bandwidth is available, multiple analog transmission systems such as cable TV AND network transmissions can be on the same cable at the same time.
    • if this is the case, ALL devices must be tuned to use only certain frequencies
  • Uses amplifiers for signal regeneration.
Helpful mnemonic to remember the difference:
Baseband is "BEDR"
Bidirectional
Entire channel taken up
Digital
Repeaters used to strengthen signal

IBM Cabling

  • Uses AWG standard wire size.
  • Connected with proprietary IBM unisex connectors.
  • Defines cables as types
Type 1 STP 
(Shielded twisted-pair)
  • used for computers and MAU's.
  • 101 m
These three cable types can be used in Token Ring Networks
  • 16 Mbps
  • 260 computer limit
Type 2 STP, Voice and data
  •  100 m 
Type 3 UTP; Voice grade
  • 45 m
  • Most common Token Ring Cable
  • 4 Mbps
  • 72 computer limit
Type 5 Fiber-optic
  •  industry standard
Type 6 STP; Data patch
  • used to connect MSAU's together
  • used to extend Type 3 cables from one computer to the MSAU
Type 8 STP Flat; Carpet grade
  •  Limited to 1/2 the distance of Type 1 cable
Type 9 STP; Plenum grade
  • used under floors or in ceiling space

Important Cabling Considerations

Installation Logistics
  • How easy is the cable to work with?
Shielding
  • Is the area "noisy"?
  • Do you need plenum grade cable => more expensive
Crosstalk
  • Where data security is important this is a problem
  • Power lines, motors relays and radio transmitters cause crosstalk
Transmission Speed (part of the bandwidth)
  • Transmission rates are measured in Mbps
  • 10 Mbps is common
  • 100 Mbps is becoming common
  • Fiber can go well over 100 Mbps but costs and requires experts to install.
Cost
  • Distance costs you money
Attenuation
  • Different cables can only transmit so far without causing too many errors

Wireless Local Area Networks

  • Used where cable isn't possible - remote sites; also when mobility is important.
  • Use transceivers or access points to send and receive signals between the wired and wireless network.
There are 4 techniques for transmitting data
  • Infrared transmission consists of four types;
    1. Line of sight
    2. Scatter: good within 100 ft.
    3. Reflective
    4. Broadband optical telepoint: used for multimedia requirements; as good as cable.
  • Laser requires direct line-of-sight.
  • Narrow-band (single frequency) radio
    • Cannot go through steel or load-bearing walls.
    • Requires a service handler.
    • Limited to 4.8 Mbps
  • Spread-Spectrum Radio
    • Signals over a range of frequencies.
    • Uses hop timing for a predetermined length of time.
    • Coded for data protection.
    • Quite slow; Limited to 250 Kbps.

Point to Point Transmission

  • Transfers data directly from PC to PC (NOT through cable or other peripherals)
  • Uses a point to point link for fast error-free transmission.
  • Penetrates objects.
  • Supports data rates from 1.2 to 38.4 Kbps up to
    • 200 feet indoors or
    • 1/3 of a mile with line of site transmission.
  • Also communicates with printers, bar code readers, etc.

Multipoint Wireless Bridge

  • Provides a data path between two buildings.
  • Uses spread-spectrum radio to create a wireless backbone up to three miles.

Long-Range Wireless Bridge

  • Uses spread-spectrum technology to provide Ethernet and Token-Ring bridging for up to 25 miles.
  • This costs less than T1, but T1 will transmit at 1.544 Mbps

Mobile Computing

  • Uses wireless public carriers to transmit and receive using;
    • Packet-radio communication.
      1. Uplinked to satellite, broadcast only to device which has correct address.
    • Cellular networks.
      1. CDPD same as phone, subsecond delays only, real time transmission, can tie into cabled network.
    • Satellite stations.
      1. Microwave, most common in USA, 2 X directional antennas, building to building, building to satellite
  • Slow transmission rate: 8 Kbps - 19.2 Kbps

Network Adapter Cards

The role of the network Adapter card is to:
  • Prepare data from the computer for the network cable
  • Send the data to another computer
  • Control the flow of data between the computer and the cabling system
NIC's contain hardware and firmware (software routines in ROM) programming that implements the
  • Logical Link Control and
  • Media Access Control
    functions of the Data Link layer of the OSI
Preparing Data
  • data moves along paths in the computer called a BUS - can be 8, 16, 32 bits wide.
  • on network cable, data must travel in a single bit stream in what's called a serial transmission (b/c on bit follows the next).
  • The transceiver is the component responsible for translating parallel (8, 16, 32-bit wide) into a 1 bit wide serial path.
  • A unique network address or MAC address is coded into chips in the card
  • card uses DMA (Direct Memory Access) where the computer assigns memory space to the NIC
    • if the the card can't move data fast enough, the card's buffer RAM holds it temporarily during transmission or reception of data
Sending and Controlling Data
The NICs of the two computers exchanging data agree on the following:
  1. Maximum size of the groups of data being sent
  2. The amount of data to be sent before confirmation
  3. The time intervals between send data chunks
  4. The amount of time to wait before confirmation is sent
  5. How much data each card can hold before it overflows
  6. The speed of the data transmission

Network Card Configuration

  • IRQ: a unique setting that requests service from the processor.
IRQ # Common Use I/O Address
IRQ 1 Keyboard  
IRQ 2(9) Video Card  
IRQ 3 Com2, Com4 2F0 to 2FF
IRQ 4 Com1, Com3 3F0 to 3FF
IRQ 5 Available (Normally LPT2 or sound card )  
IRQ 6 Floppy Disk Controller  
IRQ 7 Parallel Port (LPT1)  
IRQ 8 Real-time clock  
IRQ 9 Redirected IRQ2 370 - 37F
IRQ 10 Available (maybe primary SCSI controller)  
IRQ 11 Available (maybe secondary SCSI controller)  
IRQ 12 PS/2 Mouse  
IRQ 13 Math Coprocessor  
IRQ 14 Primary Hard Disk Controller  
IRQ 15 Available (maybe secondary hard disk controller)  
  •   Base I/O port: Channel between CPU and hardware
    • specifies a channel through which information flows between the computer's adapter card and the CPU. Ex. 300 to 30F.
    • Each hardware device must have a different base I/O port
  • Base Memory address: Memory in RAM used for buffer area
    • identifies a location in the computer's RAM to act as a buffer area to store incoming and outgoing data frames. Ex. D8000 is the base memory address for the NIC.
    • each device needs its own unique address.
    • some cards allow you to specify the size of the buffer ( 16 or 32 k, for example)
  • Transceiver:
    • sometimes selected as on-board or external. External usually will use the AUI/DIX connector: Thicknet, for example
    • Use jumpers on the card to select which to use

Data Bus Architecture

The NIC must
  • match the computer's internal bus architecture and
  • have the right cable connector for the cable being used
  • ISA (Industry Standard Architecture): original 8-bit and later 16-bit bus of the IBM-PC.
  • EISA (Extended Industry Standard Architecture): Introduced by consortium of manufacturers and offers a 32-bit data path.
  • Micro-Channel Architecture (MCA): Introduced by IBM in its PS/2 line. Functions as either 16 or 32 bit.
  • PCI (Peripheral Component Interconnect): 32-bit bus used by Pentium and Apple Power-PC's. Employs plug and play.

Improving Network Card Performance

  • Direct Memory Access (DMA):
    • data is moved directly from the network adapter card's buffer to computer memory.
  • Shared Adapter Memory:
    • network adapter card contains memory which is shared with the computer.
    • The computer identifies RAM on the card as if it were actually installed on the computer
  • Shared System Memory:
    • the network adapter selects a portion of the computer's memory for its use.
    • MOST common
  • Bus Mastering:
    • the adapter card takes temporary control of the computer's bus, freeing the CPU for other tasks.
    • moves data directly to the computer's system memory
    • Available on EISA and MCA
    • can improve network performance by 20% to 70%
  • RAM buffering:
    • Ram on the adapter card acts as a buffer that holds data until the CPU can process it.
    • this keeps the card from being a bottleneck
  • On-board microprocessor:
    • enables the adapter card to process its own data without the need of the CPU

Wireless Adapter Cards

  • Used to create an all-wireless LAN
  • Add wireless stations to a cabled LAN
  • uses a wireless concentrator, which acts as a transceiver to send and receive signals

Remote-Boot PROMS (Programmable Read Only Memory)

  • Enables diskless workstations to boot and connect to a network.
  • Used where security is important.

How a Network Functions

 

The OSI Model

  • International Standards Organization (ISO) specifications for network architecture.
  • Called the Open Systems Interconnect or OSI model.
  • Seven layered model, higher layers have more complex tasks.
  • Each layer provides services for the next higher layer.
  • Each layer communicates logically with its associated layer on the other computer.
  • Packets are sent from one layer to another in the order of the layers, from top to bottom on the sending computer and then in reverse order on the receiving computer.

OSI Layers

  • Application
  • Presentation
  • Session
  • Transport
  • Network
  • Data Link
  • Physical

Application Layer

  • Serves as a window for applications to access network services.
  • Handles general network access, flow control and error recovery.

Presentation Layer

  • Determines the format used to exchange data among the networked computers.
  • Translates data from a format from the Application layer into an intermediate format.
  • Responsible for protocol conversion, data translation, data encryption, data compression, character conversion, and graphics expansion.
  • Redirector operates at this level.

Session Layer

  • Allows two applications running on different computers to establish use and end a connection called a Session.
  • Performs name recognition and security.
  • Provides synchronization by placing checkpoints in the data stream.
  • Implements dialog control between communicating processes.

Transport Layer

  • Responsible for packet creation.
  • Provides an additional connection level beneath the Session layer.
  • Ensures that packets are delivered error free, in sequence with no losses or duplications.
  • Unpacks, reassembles and sends receipt of messages at the receiving end.
  • Provides flow control, error handling, and solves transmission problems.

Network Layer

  • Responsible for addressing messages and translating logical addresses and names into physical addresses.
  • Determines the route from the source to the destination computer.
  • Manages traffic such as packet switching, routing and controlling the congestion of data.

Data Link Layer

  • Sends data frames from the Network layer to the Physical layer.
  • Packages raw bits into frames for the Network layer at the receiving end.
  • Responsible for providing error free transmission of frames through the Physical layer.

Physical Layer

  • Transmits the unstructured raw bit stream over a physical medium.
  • Relates the electrical, optical mechanical and functional interfaces to the cable.
  • Defines how the cable is attached to the network adapter card.
  • Defines data encoding and bit synchronization.

The 802 Project Model

  • Defines Standards for the Data Link and Physical Layers.
  • Network Adapter Cards
  • WAN components
  • Components used to create twisted-pair and coaxial cable networks.
  • Just in case, a crazy mnemonic for this table, but it works :-)
I Like Changing Boxers Rarely. My Butt Feels Very Sexy With Denim
802.1 Internet working
802.2 Division of Data Link Layer into sublayers
  • LLC (Logical Link Control)
  • Media Access Control (MAC)
802.3 CSMA/CD - Ethernet
802.4 Token Bus LAN (ARCnet)
802.5 Token Ring LAN
802.6 MAN (Metropolitan Area Network)
802.7 Broadband Technical Advisory Group
802.8 Fiber-Optic Technical Advisory Group
802.9 Integrated Voice/Data Networks
802.10 Network Security
802.11 Wireless Networks
802.12 Demand Priority Access Lan, 100 Base VG - AnyLAN

OSI Model Enhancements

The bottom two layers - Data Link and Physical - define how multiple computers can simultaneously use the network without interfering with each other.
  • Divides the Data-link layer in to the Logical Link Control and Media Access Control sublayers.
  • Logical Link Control
    • manages error and flow control and
    • defines logical interface points called Service Access Points (SAP's). These SAP's are used to transfer information to upper layers
  • Media Access Control
    • communicates directly with the network adapter card and
    • is responsible for delivering error-free data between two computers.
    • Categories
      • 802.3
      • 802.4
      • 802.5 and
      • 802.12 define standards for both this sublayer and the Physical layer

Drivers

  • a device driver is software that tells the computer how to drive or work with the device so that the device performs the job it's supposed to.
  • Drivers are called Network Drivers,
    MAC drivers,
    NIC drivers.
  • Provide communication between a network adapter card and the redirector in the computer.
  • Resides in the Media Access Control sublayer of the Data Link layer. Therefore, the NIC driver ensures direct communication between the computer and the NIC
  • the Media Access Control driver is another name for the network card device driver
  • When installing a driver, you need to know these things
    • IRQ
    • I/O Port Address
    • Memory Mapped (Base Memory Address)
    • Transceiver Type

Packets

  • Data is broken down into smaller more manageable pieces called packets.
  • Special control information is added in order to:
    • disassemble packets
    • reassemble packets
    • check for errors
Types of data sent includes
  • Can contain information such as messages or files.
  • Computer control data and commands and requests.
  • Session control codes such as error correction and retransmission requests.
  • Original block of data is converted to a packet at the Transport layer.

Packet Components

  • Header
    1. Alert signal to indicate packet is being transmitted
    2. Source address.
    3. Destination address.
    4. Clock synchronization information.
  • Data
    1. Contains actual data being sent.
    2. Varies from 512 to 4096 bytes (4K), depending on the network
  • Trailer
    1. Content varies by protocol.
    2. Usually contains a CRC.

Packet Creation

  • Look at the example on pp. 201 - 204
  • Begins at the Application layer where data is generated.
  • Each layer subsequently adds information to the packet; the corresponding layer on the receiving machine reads the information.
  • Transport layer breaks the data into packets and adds sequencing information needed to reassemble data at the other end => the structure of the packets is defined by the common protocol being used between the two computers.
  • Data is passed through the Physical layer to the cable.
Packet Addressing
  • every NIC sees all packets sent on its cable segment but only interrupts the computer if the packet address matches the computer's address
  • a broadcast type address gets attention of all computers on the network

Protocols

 Protocols are rules and procedures for communication.

How Protocols Work

The Sending Computer
  • Breaks data into packets.
  • Adds addressing information to the packet
  • Prepares the data for transmission.
The Receiving Computer (same steps in reverse)
  • Takes the packet off the cable.
  • Strips the data from the packet.
  • Copies the data to a buffer for reassembly.
  • Passes the reassembled data to the application.

Protocol Stacks (or Suites)

  • A combination of protocols, each layer performing a function of the communication process.
  • Ensure that data is prepared, transferred, received and acted upon.

The Binding Process

  • Allows more than one protocol to function on a single network adapter card. (e.g. both TCP/IP and IPX/SPX can be bound to the came card
  • Binding order dictates which protocol the operating systems uses first.
  • binding also happens with the Operating System architecture: for example, TCP/IP may be bound to the NetBIOS session layer above and network card driver below it. The NIC device driver is in turn bound to the NIC.

Standard Stacks

  • ISO/OSI
  • IBM SNA (Systems Network Architecture)
  • Digital DECnet
  • Novell NetWare
  • Apple AppleTalk
  • TCP/IP

Protocol types map roughly to the OSI Model into three layers:

Application Level Service Users
Application Layer
Presentation Layer
Session Layer
Transport Services
Transport Layer

Network Services
Network Layer
Data Link Layer
Physical Layer

Application Protocols

Work at the upper layer of the OSI model and provide application to application interaction and data exchange.
Examples:
  • APPC-IBM's peer to peer SNA protocol used on AS400's
  • FTAM: an OSI file access protocol.
  • X.400: international e-mail transmissions.
  • X.500: file and directory services across systems.
  • SMTP: Internet e-mail.
  • FTP: Internet file transfer
  • SNMP: Internet network management protocol.
  • Telnet: Internet protocol for logging on to remote hosts.
  • Microsoft SMB: client shells and redirectors.
  • NCP: Novell client shells or redirectors.
  • AppleTalk and AppleShare: Apple's protocol suite.
  • AFP: Apple's protocol for remote file access.
  • DAP (data access protocol): DECnet file access protocol.

Transport Protocols

These protocols provide communication sessions between computers and ensure data is moved reliably between computers.
Examples:
  • TCP (transmission control protocol): internet protocol for guaranteed delivery of sequenced data.
  • SPX (sequenced packet exchange): Novell protocol suite.
  • NWLink: Microsoft implementation of IPX/SPX.
  • NetBEUI: establishes communications sessions between computers and provides the underlying data transport services.
  • ATP, NBP: Apple's communication session and transport protocols.

Network Protocols

These provide link services
They also
  • handle
    • addressing and routing,
    • error checking and
    • retransmission requests.
  • Define rules for Ethernet or Token Ring.
Examples:
  • IP (Internet Protocol): packet forwarding and routing.
  • IPX: (Internetwork Packet Exchange): Novell's protocol for packet forwarding and routing.
  • NWLink: Microsoft implementation of IPX/SPX.
  • NetBEUI: Transport for NetBIOS sessions and applications.
  • DDP (datagram delivery protocol): An AppleTalk data transport protocol.

The IEEE protocols at the Physical Layer

802.3 (CSMA /CD - Ethernet)
  • logical bus network
  • can transmit at 10 Mbps
  • data is transmitted on the wire to every computer but only those meant to receive respond
  • CSMA /CD protocol listens and allows transmission when the wire is clear
802.4 (Token Passing)
  • bus layout that used token passing
  • every computer receives all of the data but only the addressed computers respond
  • token determines which computer can send

802.5 (Token Ring)
  • logical ring network; physical set up as star network
  • transmits at 4 Mbps or 16 Mbps
  • token determines which computer can send

Important Protocols

TCP/IP

  • Provides communications in a heterogeneous environment.
  • Routable, defacto standard for internetworking.
  • SMTP, FTP, SNMP are protocols written for TCP/IP
  • Disadvantages are size and speed.

NetBEUI

  • NetBIOS extended user interface.
  • Originally, NetBIOS and NetBEUI were tightly tied together but, NetBIOS has been separated out to be used with other routable protocols. NetBIOS acts as a tool to allow applications to interface with the network; by establishing a session with another program over the network
  • NetBIOS operates at the Session layer.
  • Small, fast and efficient.
  • Compatible with most Microsoft networks.
  • Not routable and compatible only with Microsoft networks.

X.25

  • Protocols incorporated in a packet switching network of switching services.
  • Originally established to connect remote terminals to mainframe hosts.

XNS

  • Xerox Network System.
  • Developed for Ethernet LANs but has been replaced by TCP/IP.
  • Large, slow and produces a lot of broadcasts.

IPX/SPX and NWLink

  • Used for Novell networks.
  • Small and fast.
  • Routable.

APPC

  • Advanced Program to Program Communication
  • Developed by IBM to support SNA.
  • designed to enable application programs running on different computers to communicate and exchange data directly.

AppleTalk

  • Apple's proprietary protocol stack for Macintosh networks.

OSI Protocol Suite

  • each protocol maps directly to a single layer of the OSI model

DECnet

  • Digital Equipment's proprietary protocol stack
  • Defines communications over Ethernet, FDDI MAN's and WAN's.
  • DECnet can also use TCP/IP and OSI protocols as well as its own protocols
  • Routable.
 

Putting data on the Cable

Access Methods

The 4 major methods
  • Carrier Sense Multiple Access Methods
    1. with collision detection (CSMA/CD)
    2. with collision avoidance (CSMA/CA)
  • Token passing that allows only a singe opportunity to send data
  • A Demand Priority method
  • Carrier Sense Multiple Access with Collision Detection. (CSMA/CD)
    1. Computer senses that the cable is free.
    2. Data is sent.
    3. If data is on the cable, no other computer can transmit until the cable is free again.
    4. If a collision occurs, the computers wait a random period of time and retransmit.
    • Known as a contention method because computers compete for the opportunity to send data. (Database apps cause more traffic than other apps)
    • This can be a slow method
    • More computers cause the network traffic to increase and performance to degrade.
    • The ability to "listen" extends to a 2,500 meter cable length => segments can't sense signals beyond that distance.
  • Carrier Sense Multiple Access with Collision Avoidance  (CSMA/CA)
    • in CSMA/CA, the computer actually broadcasts a warning packet before it begins transmitting on the wire. This packet eliminates almost all collisions on the network because each computer on the network does not attempt to broadcast when another computer sends the warning packet.
    • All other computers wait until the data is sent.
    • The major drawback of trying to avoid network collisions is that the network traffic is high due to the broadcasting of the intent to send a message.
  • Token Passing
    • Special packet is passed from computer to computer.
    • A computer that wants to transmit must wait for a free token.
    • Computer takes control of the token and transmits data. Only this computer is allowed to transmit; others must wait for control of the token.
    • Receiving computer strips the data from the token and sends an acknowledgment.
    • Original sending computer receives the acknowledgment and sends the token on.
    • the token comes from the Nearest Active Upstream Neighbor  and when the computer is finished, it goes to the Nearest Active Downstream Neighbor
    • uses "beaconing" to detect faults => this method is fault tolerant
    • NO contention => equal access to all computers on the network
    • NO collisions
  • Demand Priority
    1. 100 Mbps standard called 100VG-AnyLAN. "Hub- based".
    2. Repeaters manage network access by performing cyclical searches for requests to send from all nodes on the network. The repeater or HUB is responsible for noting all addresses, links and end nodes and verifying if they are all functioning. An "end node" can be a computer, bridge, router or switch.
    3. Certain types of data are given priority if data reaches the repeater simultaneously. If two have the same priority, BOTH are serviced by alternating between the two.
      Advantages over CSMA/CD
      1. Computers Uses four pairs of wires which can send and receive simultaneously.
      2. Transmissions are through the HUB and are not broadcast to all other computers on the network.
      3. There is only communication between the sending computer, the hub and the destination computer.

Other methods

Appletalk
  • The cabling system for an AppleTalk network is called LocalTalk.
  • LocalTalk uses  CSMA/CD
  • AppleTalk has a dynamic network addressing scheme.
    • During bootup, the AppleTalk card broadcasts a random number on the network as its card address. If no other computer has claimed that address, the broadcasting computer configures the address as its own. If there is a conflict with another computer, the computer will try to use different IP combinations until it finds a working configuration.
ARCNet
  • ARCNet uses a token passing method in a logical ring similar to Token Ring networks.
  • However, the computers in an ARCNet network do not have to be connected in any particular fashion.
    • ARCNet can utilize a star, bus, or star bus topology.
  • Data transmissions are broadcast throughout the entire network, which is similar to Ethernet.
  • However, a token is used to allow computers to speak in turn.
    • The token is not passed in a logical ring order because ARCNet does not use the ring topology; instead the token is passed to the next highest numerical station
    • Use DIP switches to set the number (the Station Identifier) of the workstations, which you want to be beside each other so the token is passed to the next computer efficiently.
  • ARCNet isn't popular anymore => ARCNet speeds are a mere 2.5 Mbps.

Most important ARCNet facts for you to know:
  • ARCNet uses RG-62 (93 ohms) cabling;
  • it can be wired as a star, bus, or star bus; and
  • it uses a logical-ring media access method.
Summary Chart
Feature or Function CSMA/CD CSMA/CD Token Passing Demand Priority
Type of Communication Broadcast-based Broadcast-based Token-based Hub-based
Type of Access Method Contention Contention Non-contention Contention
Type of Network Ethernet LocalTalk Token Ring 
ARCnet
100VG-AnyLAN

Network Architectures

Ethernet

  • Baseband signaling.
  • Linear or star-bus topology.
  • Usually transmits at 10 Mbps with 100 Mbps possible.
  • Uses CSMA/CD for traffic regulation.
  • IEEE specification 802.3.
  • Uses thicknet, thinnet or UTP cabling
  • Media is passive => it draws power from the computer

Ethernet Frames

Ethernet breaks data into frames. A frame can be from 64 to 1,518 bytes long in total. The ethernet frame itself takes up 18 bytes, so the actual data can be from 46 to 1,500 bytes.
  • Preamble: marks the start of a frame.
  • Destination and Source: addressing information.
  • Type: Identifies network layer protocol.
  • CRC: error checking data.

Ethernet Topologies

 10 Mbps Topologies

10Base-T
    • (10 = 10 Mbps; Base= Baseband; T = Twisted Pair)
    • 10 Mbps, baseband over UTP.
    • Usually wired in a physical star with a hub or multiport repeater. Internally it uses a bus signaling system like other Ethernet configurations
    • Maximum segment length 100 meters (328 feet).
    • Minimum between computers 2.5 meters (8 feet).
    • 1024 nodes maximum on the LAN
    • Category 3, 4 or 5 UTP.
    • RJ-45 connectors, 4 twisted pair.
    • Coaxial or Fiber backbone for larger LAN's
10BaseT UTP NETWORK LAYOUT
Limitations
  • maximum segment length of 100 Meters
  • Hub to Hub or repeater to repeater links limited to 100 Meters
Rules
  • star topology
  • 4 repeater/5 segment rule of 10Base5 is retained
  • only two nodes per segment are allowed
Cabling
  • RJ-45 Connectors
  • Category 3 UTP minimum, preferably Category 5
10BaseT Network Layout





10Base-2
    • (10 = 10 Mbps; Base= Baseband; 2 = 2x 100 meters)
    • 10 Mbps, baseband over thinnet.
    • Uses bus topology.
    • Maximum segment length 185 meters (607 feet).
    • Minimum between computers 0.5 meters (20 inches).
    • Maximum of 30 computers per segment.
    • Obeys 5-4-3 rule: Five segments, joined by four repeaters, 3 populated giving a total length of 925 meters (3035 feet).
Physical Bus Cable Limits
10Base2 THIN ETHERNET NETWORK LAYOUT
Limitations
  • maximum number of trunk segments = 5
  • maximum trunk segment length = 607 feet (185 meters)
  • maximum network trunk cable = 3035 feet (925 meters)
  • maximum number of stations on a trunk segment = 30
  • minimum distance between T connectors = 1.5 feet (0.5 meters)
Rules
  • each end of the trunk segment is terminated in 50-ohms
  • one of the terminators is grounded
  • connector splices are kept to a minimum
Cabling
  • BNC-T type connectors
  • RG58-AU 50-ohm cable, 0.2"
  • Note that you can't mix RG58 /AU and RG58 /U cable on the same network.
10Base2 Network Layout


10Base-5
    • (10 = 10 Mbps; Base= Baseband; 5 = 5 x 100 meters)
    • 10 Mbps, baseband over thicknet.
    • Also called Standard Ethernet
    • Designed to support a backbone for a large department or building. Transceivers attach to the thicknet cable and the cable AUI connector plugs into a repeater . The branching segments of thinnet plug into the repeater and connect to the computers on the network.
    • Uses bus topology.
    • Maximum segment length 500 meters.
    • Minimum between transceivers 2.5 meters (8 feet)
    • 100 computers per segment, 300 per network.
    • Obeys 5-4-3 rule: maximum distance can be extended to 2500 meters (8200 ft) using 4 repeaters and 3 populated segments.
    • Transceiver is attached to main segment with a vampire tap.
    • DIX or AUI connector is used to attach the transceiver to the network card. Maximum computer to transceiver distance is 50 meters. This distance is not included in the 5-4-3 calculation.
10Base5 Network Layout
10Base-5 Summary
 
Maximum segment length
  • 500m (1640 ft) 
  • Typically used as backbone to connect Thinnet-based network.
Speed 10 Mbps
Maximum taps 100
Maximum segments
  • 5
Maximum repeaters
  • 4
Maximum segment with nodes
  • 3 
  • Due to attenuation, only 3 of 5 segments can actually contain network connection. Other 2 segments can be used to connect the network over long distance.
Maximum nodes per segment 100
Maximum nodes for network 300
Minimum distance between nodes 2.5m (8 ft)
Maximum overall length with repeaters 2.5 km
Maximum AUI drop cable length 50m
 
  1. 10Base-F?
    • (10 = 10 Mbps; Base= Baseband; FL =fibre optic)
    • Allows long cable runs between repeaters, like between buildings
    • Maximum segment length 2000 meters.
    •  10BaseFL - Used for linking computers in a LAN environment.
    •  10BaseFP - Used for linking computers with passive hubs from maximum cable distance up to 500m
    •  10BaseFB - Used as a backbone between hubs.
    •  Baseband signal over a fiber-optic cable.
    •  Need concentrator (fiber-optic hub) ® Star wired (star topology) . Either active or passive
    •  Long distance.
    •  Very expensive. Difficult to install.
     Maximum segment length - 2000m  Maximum segments- 1024  Maximum segment with nodes- 1024  Maximum nodes per segment- 1  Maximum nodes per network- 1024  Maximum hubs in a chain- 4

100 Mbps Topologies

  • 100VG-AnyLAN (IEEE 802.12)
    • 100 Mbps data rate.
    • Star topology over Category 3, 4 and 5 UTP.
    • Uses demand priority access.
    • Combines element of traditional Ethernet and Token Ring and supports Ethernet and token ring packets.
    • Faster than Ethernet
    •  Demand priority access method => two priority levels, low and high
    •  Intelligent hubs can filter individually addressed frames for enhanced privacy.
    •  Expensive
    •  Uses RJ-45.
    •  Cable -  require 4 pairs wire
      •  Categories 3, 4 UTP- 100m
      •  Category 5 UTP   - 150m
      •  Fiber-optic- 2000m
    •  Uses star topology and defines how child hub can be connected to a parent hub to extend the network.
     Minimum length between nodes - 2.5m  Maximum segments- 1024  Maximum nodes per segment- 1  Maximum nodes for network- 1024  
  • 100BaseT? (Fast Ethernet)
    • Uses CSMA/CD on a star-wired bus.
    • There are 3 specifications:
      • 100BaseT4: Uses pair category 3, 4 or 5 UTP.
      • 100BaseTX: Uses 2-pair category 5 UTP or STP.
      • 100BaseFX: Uses 2-strand fiber-optic.
Ethernet Frame types
Ethernet 802.2 - NetWare 3.12 and 4.x  - IEEE 802.3 standard compliance.
Includes field in Ethernet 802.3 and LLC (Logical Link Control)
Ethernet 802.3 - NetWare 3.11 and before
Includes CRC
Ethernet SNAP (SubNetwork Address Protocol) - AppleTalk
Ethernet II - TCP/IP
 

Segmentation

  • Can be performed with bridges or routers.
  • Reduces traffic on network segments to increase performance.

Token Ring

  • IEEE 802.5 specification.
  • Star wired ring topology (logical ring)
  • Uses token passing access method.
  • Can have higher transmission speeds than Ethernet
  • It has larger frames than Ethernet => more can get transferred over the wire in any given time.
  • Uses IBM STP Types 1, 2 and 3 cabling. (Can be UTP)
  • Transmits at 4 and 16 Mbps. (16 Mbps cards will slow down to 4 Mbps if put on that kind of network, but the 4 Mbps cards can't speed up.
  • Baseband transmission
  • Data travels in one direction only
  • Each computer acts as a unidirectional repeater
  • Deterministic method of cable access. Computers cannot use the cable unless they have the token. Therefore, computers can't force their way onto the network like CSMA/CD (Ethernet)
  • First computer online is assigned to monitor network activity.

Token Ring Components

  • Multistation Access Units (MAU's)
  • Multistation Access Units (MSAU's)
  • Smart Multistation Access Units (SMAU's)
  • Computers attach directly to the MSAU in a physical star to form a logical ring.
  • Each MSAU has 10 connection ports  ==> can support 8 clients with 2 ports for ring in and ring out.
  • Each ring can have as many as 33 MSAU's
    • 70 computers with UTP
    • 260 computers with STP.
  • Up to 12 MSAU's can connect to each other
  • The MSAU can sense if a computer is down and then disconnect it from the ring => built-in fault tolerance
  • Cabling
    • Most token ring systems use IBM type 3 cabling.
    • STP or UTP to a hub, IBM type 1,2,3 cable
      • Type 1: 101m from MSAU to PC
      • STP: 100m from MSAU to PC
      • UTP: 45m from MSAU to PC
      • Type 3: 150 feet from MSAU to PC
    • Token ring networks are well suited to fiber optic cable: data travels in only one direction in it.
Here are some limitations of Token Ring:
  • The maximum number of workstations is 260 on Type 1 or fiber optic cable at 16 Mbps.
  • The maximum number of workstations is 72 on Type 3 cable at 4 Mbps.
  • The distance between MSAUs (Multistation Access Units) is 100 meters (Type 1 cabling) to 45 meters (Type 2 cabling).
  • Each ring can have up to 33 MSAUs.
  • Maximum distance of the ring is 4 kilometers with fiber optic cable.
Token Ring and Ethernet Comparison
Token Ring
  • can have higher transmission speeds than Ethernet
  • supports more computers on a single segment (up to 260)
  • more expensive than Ethernet
  • harder to install than Ethernet
  • is more fault tolerant because of the beaconing process

AppleTalk

  • local talk
    • CSMA/CA access method
    • 3 things happen when devices attached
      1. device assigns itself an address randomly
      2. device broadcasts the address to see if it's used
      3. if not, the device will use it the next time it's online again
    • bus or tree
    • STP
    • max. 32 devices
  • Apple share
    • file server on an AppleTalk network
    • divided into zones
  • EtherTalk
    • 802.3
    • allows protocols to run on ethernet coaxial cable
  • TokenTalk
    • 802.5
    • allows Macintosh to connect to token ring network
ARCnet
  • IEEE 802.4 specification - almost
  • Cable
    • Uses RG-62 (93 ohm) (most common)or
    • RG-59 (75ohm) coaxial cable.
    • Can also use UTP.
  • Uses token passing on a star-bus topology.
  • Token moves from computer to computer in numerical order.
  • Transmits at 2.5 Mbps.
  • ArcNet plus - 20 Mbps
  • connected by cable to hub
    • 93 ohm RG-62 A/U - 610m max., star
    • 93 ohm RG-62 A/U - 305m max., bus <= notice less distance on hub
    • RJ-11, RJ-45 UTP - max. 244m on star or bus
  • Hubs can be
    • Passive => merely relay signal
    • Active => regenerate and relay signal
    • Smart => add diagnostic features, such as reconfiguration detection
Here are some limitations of ARCNet:
  • Bus segment length for coaxial cable is a maximum of 1000 feet, with a limit of 8 workstations per coaxial segment.
  • Bus segment length for twisted pair is a maximum of 400 feet, with a limit of 10 workstations per twisted-pair segment.
  • There is a maximum of 255 workstations per network.
  • Workstations can be located up to 600 feet from the active hub.
  • The maximum distance from passive hubs to active hubs is 100 feet; the maximum distance between two active hubs is 2000 feet.
  • The maximum distance allowed between workstations is 20,000 feet.
  • There can be no more than four workstations on a passive hub, no more than 100 feet from a hub.
  • Passive hubs cannot be connected to other passive hubs.

Network Operations

Network O/S setup
  • 2 Major Types of Multitasking
    1. Preemptive - O/S can take control of the processor without the task's cooperation
      • Advantage of preemptive multitasking: CPU activity can be switched from local tasks to a network task
    2. Non-preemptive (Cooperative)
      • the task itself decides when to give up the processor
      • no other program can run until the non-preemptive program gives up the control of the processor
  • A Network O/S
    • ties together all the PCs and peripherals in the network
    • coordinates the functions of all PCs and peripherals in a network
    • provide security for and access to database and peripherals in a network
  • Client Software
    • redirector
      • process of forwarding requests is done by a redirector
      • intercepts requests in the PC
      • determines if they should be left alone to continue in the local PC's bus or redirected out to the network to another server
    • designator
      • a piece of software that manages the assignment of drive letters to both local and remote network resources or shared drives
        • e.g. share drive in other PC, alphabet as a designator, such as G:
      • when an association is made between a network resource and a local drive letter (mapping a drive), the designator takes care of remembering the path to the network resource.
      • when users or applications access the drive, the designator substitutes the resource's network address for the drive letter before the request is sent to the redirector.
    • peripherals
      • redirectors can send requests to either computers or peripherals (e.g. LPT1: or Com1 can refer to local OR network printers. Just give these ports a path to the network device.
  • Server Software
    • makes it possible to SHARE resources (data, printers, modems, etc.) with workstations
    • provides network security as well
    • makes sure two users don't use the same resources at the same time.
    • managing users - create, privileges, remove users
    • network management tools to track network behaviour
    • The server also
      • Provides logon authentication for users
      • Manages users and groups
      • Stores management, control, and auditing tools for network administration
      • Provides fault tolerance for protection of network integrity
  • Windows NT Server
    • When installing you must
      • name the domain or workgroup
      • name the server
    • the 1st server installed in a domain must be installed as the primary domain controller (PDC), every domain is required to have one and only one PDC
    • a backup domain controller
      • keeps a copy of the domain's directory database
      • authenticates logons
      • can be an application server
    • Configuring the network adapter card - default protocol for NT server is TCP/IP
    • TCP/IP installation
      • IP address
        • logical 32-bit address to identity a TCP/IP host
        • has two parts: network ID and host ID
      • subnet mask - is used to mask a portion of the IP address so that TCP/IP can distinguish the network ID from the host ID - 255.255.0.0
      • default gateway - (gateway = ROUTER) -  For communication with a host on another network, an IP host must be configured with a route to the destination network otherwise only communication on the local segment
      • manual install - assign IP address, subnet mask and the default gateway
      • automatic install - DHCP (Dynamic Host Configuration Protocol) service,
        • when a DHCP server is configured on the network, clients that support DHCP (NT W/S & NT Server) can request TCP/IP configuration info (IP address, subnet mask, default gateway and so forth) from the DHCP server