166
Getting Started with Getting Started with LAN Networks LAN Networks

Getting Started with LAN Networks Getting Started with LAN Networks

Embed Size (px)

Citation preview

Page 1: Getting Started with LAN Networks Getting Started with LAN Networks

Getting Started withGetting Started withLAN Networks LAN Networks

Getting Started withGetting Started withLAN Networks LAN Networks

Page 2: Getting Started with LAN Networks Getting Started with LAN Networks

Course Objectives

Upon completion of this course, you will be able to perform the following tasks:

• Determine when to use a hub, Ethernet switch, or multiprotocol router

• Interconnect switches and routers according to a specification

• Configure switches and routers to support LAN service

• Set up IP subnet addressing and address utilities for effective network administration

Page 3: Getting Started with LAN Networks Getting Started with LAN Networks

Course Objectives

• Verify that switches, routers, and their configured network services operate as intended

• Recognize a network problem, identify the source of the problem, and resolve it.

Page 4: Getting Started with LAN Networks Getting Started with LAN Networks

Course Topics

CSU/DSU WAN

Legend

Ethernet/ FastEthernet

Serial

Page 5: Getting Started with LAN Networks Getting Started with LAN Networks

Participant Role

• Introduce yourself• Ask/answer question

Student Role

Page 6: Getting Started with LAN Networks Getting Started with LAN Networks

Welcome : PleaseIntroduce Yourself

• Your name and work Iocation

• Your job responsibility

• Your internetworking experience

• Your objectives for this week

Page 7: Getting Started with LAN Networks Getting Started with LAN Networks

Course Syllabus

Day 1 Day 2 Day 3

OSI Reference Model

LAN Protocol

WAN Protocol

Introduction toSK Telecom network

Operating andConfiguring Network

Devices - Router

Assembling andCabling Network

Devices

Managing Your LANNetwork

Test

Introduction to TCP/IP

Operating andConfiguring Network

Devices - Switch

AppendixBuilding Lan Network

for Home LAN/SOHO user

Page 8: Getting Started with LAN Networks Getting Started with LAN Networks

Graphic Symbols

BridgeBridgeBridgeBridge SwitchSwitchSwitchSwitch RouterRouterRouterRouter

DSU/CSU

Multi-layerMulti-layerSwitchSwitch

Multi-layerMulti-layerSwitchSwitch

NetworkNetworkSwitchSwitch

NetworkNetworkSwitchSwitch

PersonalPersonalcomputercomputerPersonalPersonalcomputercomputer

File ServerFile ServerFile ServerFile Server Data Service Unit/Data Service Unit/Channel Service UnitChannel Service Unit

Data Service Unit/Data Service Unit/Channel Service UnitChannel Service Unit

ModemModemModemModem HubHubHubHub

EthernetEthernetEthernetEthernet Fast EthernetFast EthernetFast EthernetFast Ethernet Serial LineSerial LineSerial LineSerial Line Circuit SwitchedCircuit SwitchedLineLine

Circuit SwitchedCircuit SwitchedLineLine

Network CloudNetwork CloudNetwork CloudNetwork Cloud

Page 9: Getting Started with LAN Networks Getting Started with LAN Networks

OSI Reference ModelOSI Reference Model

Page 10: Getting Started with LAN Networks Getting Started with LAN Networks

Objectives

Upon completion of this chapter, you will be able to perform the following tasks:

• Identify and describe the functions of each of the seven layers of the OSI reference model

• Define and explain the 5 conversion steps of data encapsulation

Page 11: Getting Started with LAN Networks Getting Started with LAN Networks

OSI Reference Model

통신기능층

응용기능층

7

1

2

3

4

5

6제 6 층 : 표현층 (Presentation Layer)

제 5 층 : 세션층 (Session Layer)

제 4 층 : 전송층 (Transport Layer)

제 3 층 : 네트웍층 (Network Layer)

제 2 층 : 데이타링크층 (Data Link Layer)

제 1 층 : 물리층 (Physical Layer)

제 7 층 : 응용층 (Applicaion Layer)

1

2

3

7

1

2

3

4

5

통신네트워크

기능층

6

Communication Media

단말시스템

통신망시스템

단말시스템

• OSI Model Overview

Page 12: Getting Started with LAN Networks Getting Started with LAN Networks

OSI Reference Model

• Role of Application Layers

Application

Physical

Data Link

Network Layer

Transport Layer

Session

Presentation

User Interface

How data is presentedSpecial processingsuch as encryption

Keeping differentapplication’sdata separate

EXAMPLES

TelnetHTTP

ASCIIEBCDICJPEGOperating System/Application AccessScheduling

Page 13: Getting Started with LAN Networks Getting Started with LAN Networks

OSI Reference Model

• Role of Data Flow Layers

Application

Physical

Data Link

Network Layer

Transport Layer

Session

Presentation

EXAMPLES

TCPUDPSPX

802.3/802.2HDLC

EIA/TIA-232V.35

Move bits between devicesSpecifies voltage, wire speed andpin-out cables

Move bits between devicesSpecifies voltage, wire speed andpin-out cables

Combines bits int bytes andbytes into framesAccess to media using MAC addressError detection not correction

Combines bits int bytes andbytes into framesAccess to media using MAC addressError detection not correction

IPIPX

Reliable or unreliable deliveryError correction before retransmissionReliable or unreliable deliveryError correction before retransmission

Provide logical addressing whichrouters use for path determinationProvide logical addressing whichrouters use for path determination

Page 14: Getting Started with LAN Networks Getting Started with LAN Networks

OSI Reference Model

• Network Layer Communication Model

Data Link ServiceAccess Point

NS이용자

NS제공자

NS이용자

NS제공자

TransportLayer

Data LinkLayer 이하

NetworkLayer

Data Link Service

Network ServiceAccess Point

*NS : Network Service

Network Protocol

Network Service

Open System Open System

Page 15: Getting Started with LAN Networks Getting Started with LAN Networks

Communicating Between Layers

• Encapsulating Data

ApplicationApplication

PresentationPresentation

SessionSession

TransportTransport

NetworkNetwork

Data LinkData Link

PhysicalPhysical

PDU

Segment

Packet

Frame

Bits

Upper Layer DataUpper Layer Data

Upper Layer DataUpper Layer DataTCP HeaderTCP Header

DataDataIP HeaderIP Header

DataData

DataData

010111010110001000011110010111010110001000011110

LLC HeaderLLC Header

MAC HeaderMAC Header

FCSFCS

FCSFCS

Page 16: Getting Started with LAN Networks Getting Started with LAN Networks

Communicating Between Layers

• Encapsulating Data

ApplicationApplication

PresentationPresentation

SessionSession

TransportTransport

NetworkNetwork

Data LinkData Link

PhysicalPhysical

PDU

Segment

Packet

Frame

Bits

Upper Layer DataUpper Layer Data

Upper Layer DataUpper Layer DataTCP HeaderTCP Header

DataDataIP HeaderIP Header

DataData

DataData

010111010110001000011110010111010110001000011110

LLC HeaderLLC Header

MAC HeaderMAC Header

FCSFCS

FCSFCS

Page 17: Getting Started with LAN Networks Getting Started with LAN Networks

Communicating Between Layers

• De-encapsulating Data

ApplicationApplication

PresentationPresentation

SessionSession

TransportTransport

NetworkNetwork

Data LinkData Link

PhysicalPhysical

Upper Layer DataUpper Layer Data

Upper Layer DataUpper Layer Data

TCP Header

TCP Header

TCP Header

TCP Header

TCP + Upper Layer DataTCP + Upper Layer Data

IP HeaderIP HeaderIP HeaderIP Header

IP + TCP + Upper Layer DataIP + TCP + Upper Layer Data

LLC Hdr + IP + TCP +Upper layer DataLLC Hdr + IP + TCP +Upper layer Data

010111010110001000011110010111010110001000011110

LLC Header

LLC Header

LLC Header

LLC Header

MAC Header

MAC Header

MAC Header

MAC Header

Page 18: Getting Started with LAN Networks Getting Started with LAN Networks

LAN ProtocolLAN Protocol

Page 19: Getting Started with LAN Networks Getting Started with LAN Networks

Objectives

Upon completion of this chapter, you will be able to perform the following tasks:

• Describe data link address and network addresses, and identify the key differences between them

• List the key internetworking functions of the OSI Network layer and how they are performed in a router

Page 20: Getting Started with LAN Networks Getting Started with LAN Networks

Physical Layers Functions

• Media type• Connection type• Signaling type

V.3

5V

.35

V.3

5V

.35

EIA

-TIA

-232

EIA

-TIA

-232

EIA

-TIA

-232

EIA

-TIA

-232

Ph

ysic

al L

ayer

Ph

ysic

al L

ayer

Ph

ysic

al L

ayer

Ph

ysic

al L

ayer

802.

380

2.3

802.

380

2.3

Eth

ern

etE

ther

net

Eth

ern

etE

ther

net

Page 21: Getting Started with LAN Networks Getting Started with LAN Networks

Physical Layers Functions

• Physical Layer : Ethernet/802.3

HostHostHostHost

HubHubHubHub

HostsHostsHostsHosts

RouterRouterRouterRouter 10Base2 - Thick Ethernet10Base5 - Thick Ethernet

10BaseT - Twisted Pair

Page 22: Getting Started with LAN Networks Getting Started with LAN Networks

Data Link layers Functions

• Physical source and destination addresses

• Higher layer protocol (Service Access Point)

• Network topology• Frame sequencing• Flow control• Connection-oriented

or connectionlessP

hys

ical

Ph

ysic

alP

hys

ical

Ph

ysic

al

Eth

ern

etE

ther

net

Eth

ern

etE

ther

net

Dat

a L

ink

Dat

a L

ink

Dat

a L

ink

Dat

a L

ink

802.

380

2.3

802.

380

2.3

EIA

-TIA

-232

EIA

-TIA

-232

EIA

-TIA

-232

EIA

-TIA

-232

V.3

5V

.35

V.3

5V

.35

802.

280

2.2

802.

280

2.2

HD

LC

HD

LC

HD

LC

HD

LC

Fra

me

Rel

ayF

ram

e R

elay

Fra

me

Rel

ayF

ram

e R

elay

Page 23: Getting Started with LAN Networks Getting Started with LAN Networks

Data Link layers Functions (cont.)

MAC Layer - 802.3

PreamblePreamble Dest addDest add Source addSource add LengthLength DataData FCSFCS

# Bytes# Bytes 88 66 66 22 VariableVariable 44

0000.0C0000.0C xx.xxxxxx.xxxx

IEEE assignedIEEE assigned VendorVendorassignedassigned

MAC Layer

Ethernet IIEthernet IIuses “Type”uses “Type”here andhere anddoes not usedoes not use802.2802.2

Page 24: Getting Started with LAN Networks Getting Started with LAN Networks

Data Link layers Functions (cont.)

MAC Layer - 802.3

PreamblePreamble Dest addDest add Source addSource add LengthLength DataData FCSFCS

# Bytes# Bytes 88 66 66 22 VariableVariable 44

0000.0C0000.0C xx.xxxxxx.xxxx

IEEE assignedIEEE assigned VendorVendorassignedassigned

MAC Layer

Ethernet IIEthernet IIuses “Type”uses “Type”here andhere anddoes not usedoes not use802.2802.2

Page 25: Getting Started with LAN Networks Getting Started with LAN Networks

Data Link layers Functions (cont.)

802.2 (SNAP)

Dest SAPDest SAPAAAA

Source SAPSource SAPAAAA

CtrlCtrl0303

TypeType

# Bytes# Bytes 88 66 66 22 VariableVariable 44

MAC Layer - 802.3

OUIOUIIDID

DataData

DestDestSAPSAP

Source Source SAPSAP

CtrlCtrl0303

DataData

PreamblePreamble Dest addDest add Source addSource add LengthLength DataData FCSFCS

OrOr 802.2 (SAP)

Page 26: Getting Started with LAN Networks Getting Started with LAN Networks

Network Layers Functions

• Define logical source and destination addresses associated with a specific protocol

• Define paths through network

• Interconnects multiple data link

Ph

ysic

alP

hys

ical

Ph

ysic

alP

hys

ical

Eth

ern

etE

ther

net

Eth

ern

etE

ther

net

Dat

a L

ink

Dat

a L

ink

Dat

a L

ink

Dat

a L

ink

802.

380

2.3

802.

380

2.3

EIA

-TIA

-232

EIA

-TIA

-232

EIA

-TIA

-232

EIA

-TIA

-232

V.3

5V

.35

V.3

5V

.35

802.

280

2.2

802.

280

2.2

HD

LC

HD

LC

HD

LC

HD

LC

Fra

me

Rel

ayF

ram

e R

elay

Fra

me

Rel

ayF

ram

e R

elay

Net

wo

rkN

etw

ork

Net

wo

rkN

etw

ork

IP, IPXIP, IPXIP, IPXIP, IPX

Page 27: Getting Started with LAN Networks Getting Started with LAN Networks

Network Layers Functions (cont.)

Network Layer End Station Packet

IP HeaderIP Header SourceSourceaddressaddress

DestinationDestinationaddressaddress

DataData

150.20.1.3150.20.1.3

NetworkNetwork NodeNode

• Logical Address

Page 28: Getting Started with LAN Networks Getting Started with LAN Networks

Network Layers Functions (cont.)

172.16.122.204 255.255.0.0

1010110010101100

Network

0001000000010000 0111101001111010 1100110011001100

1111111111111111 1111111111111111 0000000000000000 0000000000000000

Host

172172 1616 122122 204204

255255 255255 00 00

BinaryBinaryAddressAddress

BinaryBinaryMaskMask

AddressAddress MaskMask

Page 29: Getting Started with LAN Networks Getting Started with LAN Networks

Network Layers Functions (cont.)

1.11.1

• Logical addressing allows for hierarchical networkLogical addressing allows for hierarchical network• Configuration requiredConfiguration required• Uses configured information to identify paths to networksUses configured information to identify paths to networks

Routing TableRouting TableRouting TableRouting Table

NETNETNETNET INTINTINTINT MetricMetricMetricMetric

112244

112244

E0E0S0S0S0S0

E0E0S0S0S0S0

000011

000011

Routing TableRouting TableRouting TableRouting Table

NETNETNETNET INTINTINTINT MetricMetricMetricMetric

112244

112244

S0S0S0S0E0E0

S0S0S0S0E0E0

110000

110000

1.01.0

1.31.3 2.12.1 2.22.2 4.34.3

4.04.04.14.1

4.24.21.21.2 E0E0 S0S0 S0S0 E0E0

Page 30: Getting Started with LAN Networks Getting Started with LAN Networks

Transport Layers Functions

• Reliable Transport Layer Function

SynchronizeSynchronize

Acknowledge, SynchronizeAcknowledge, Synchronize

AcknowledgeAcknowledge

Connection EstablishedConnection Established

Data TransferData Transfer

(Send Segments)(Send Segments)

Page 31: Getting Started with LAN Networks Getting Started with LAN Networks

WAN ProtocolWAN Protocol

Page 32: Getting Started with LAN Networks Getting Started with LAN Networks

Objectives

Upon completion of this chapter, you will be able to perform the following tasks:

• Differentiate between the following WAN services: Frame Relay, HDLC, PPP

• Identify PPP operations to encapsulate Wan data on Router

• Recognize key Frame Relay terms and features• Determine how Frame Relay operates

Page 33: Getting Started with LAN Networks Getting Started with LAN Networks

WAN Overviews

• WANs connect sites• Connection requirements vary depending on user r

equirements and cost

ServiceProvider

Page 34: Getting Started with LAN Networks Getting Started with LAN Networks

WAN Connection Types:Layer 1

TelephoneCompany

ServiceProvider

Synchronous serial

Asynchronous serial,ISDN Layer 1

Synchronous serial

Leased Line

Circuit-Switched

Packet-Switched

Page 35: Getting Started with LAN Networks Getting Started with LAN Networks

Interfacing WAN ServiceProviders

WAN service provider toll network

SSSS

Provider assigns connection parameters to subscriber

SSSS

SSSS

SSSS SSSS

SSSS SSSS

Trunks and switches

CO Switch

Local Loop

Demarcation

Customer PremisesEquipmentPoint-to-point or

circuit-switchedconnection

Page 36: Getting Started with LAN Networks Getting Started with LAN Networks

Typical WAN EncapsulationProtocols : Layer 2

TelephoneCompany

ServiceProvider

HDLC, PPP, SLIP

PPP, SLIP, HDLC

X,25, Frame Relay, ATM

Leased Line

Circuit-Switched

Packet-Switched

Page 37: Getting Started with LAN Networks Getting Started with LAN Networks

HDLC Frame Format

• Cisco’s HDLC has a proprietary data field to support multiprotocol environments

FlagFlag AddressAddress ProprietaryProprietary DataData FCSFCS FlagFlag

Cisco HDLCCisco HDLC

ControlControl

• Supports only single protocol environments

FlagFlag AddressAddress DataData FCSFCS FlagFlag

HDLCHDLC

ControlControl

Page 38: Getting Started with LAN Networks Getting Started with LAN Networks

An Overview of PPP

• WANs connect sites• Connection requirements vary depending on user r

equirements and cost

PPP Encapsulation

Link setup and controlusing LCP in PPP

TCP/IPNovell IPXAppleTalk

TCP/IPNovell IPXAppleTalk

Multiple protocolencapsulation using

NCPs in PPP

Page 39: Getting Started with LAN Networks Getting Started with LAN Networks

Layering PPP Elements

PhysicalPhysicalPhysicalPhysical

Data LinkData LinkLayerLayer

Data LinkData LinkLayerLayer

NetworkNetworkLayerLayer

NetworkNetworkLayerLayer

Synchronous or AsynchronousSynchronous or AsynchronousPhysical MediaPhysical Media

Synchronous or AsynchronousSynchronous or AsynchronousPhysical MediaPhysical Media

Authentication, other optionsAuthentication, other optionsLink Control ProtocolLink Control Protocol

Authentication, other optionsAuthentication, other optionsLink Control ProtocolLink Control Protocol

Network Control ProtocolNetwork Control ProtocolNetwork Control ProtocolNetwork Control Protocol

IPCPIPCPIPCPIPCP IPXCPIPXCPIPXCPIPXCP Many OthersMany OthersMany OthersMany Others

IPIPIPIP IPXIPXIPXIPX Layer 3 ProtocolLayer 3 ProtocolLayer 3 ProtocolLayer 3 Protocol

PPPPPP

PPP - A data link with network-layer services

Page 40: Getting Started with LAN Networks Getting Started with LAN Networks

PPP LCP Configuration Options

CompressionCompressionCompressionCompression

AuthenticationAuthenticationAuthenticationAuthentication Require a passwordRequire a passwordPerform Challenge HandshakePerform Challenge HandshakeRequire a passwordRequire a passwordPerform Challenge HandshakePerform Challenge Handshake

FeatureFeatureFeatureFeature

Compress data at source;Compress data at source;reproduce data atreproduce data atdestinationdestination

Compress data at source;Compress data at source;reproduce data atreproduce data atdestinationdestination

ErrorErrorDetectionDetectionErrorErrorDetectionDetection

Monitor data dropped on linkMonitor data dropped on linkAvoid frame loopingAvoid frame loopingMonitor data dropped on linkMonitor data dropped on linkAvoid frame loopingAvoid frame looping

MultilinkMultilinkMultilinkMultilink Load balancing acrossLoad balancing acrossmultiple linksmultiple linksLoad balancing acrossLoad balancing acrossmultiple linksmultiple links

How it OperatesHow it OperatesHow it OperatesHow it Operates ProtocolProtocolProtocolProtocol

PAPPAPCHAPCHAP

Stacker orStacker orPredictorPredictor

Magic NumberMagic Number

MultilinkMultilinkProtocol (MP)Protocol (MP)

Page 41: Getting Started with LAN Networks Getting Started with LAN Networks

Selecting a PPP AuthenticationProtocol

• Passwords sent in clear text• Peer in control of attempts

PAPPAP2-Way Handshake2-Way Handshake

PAPPAP2-Way Handshake2-Way Handshake

““Santacruz, boardwalk”Santacruz, boardwalk”

Accept/RejectAccept/Reject

Remote RouterRemote Router(SantaCruz)(SantaCruz)

Hostname:santacruzHostname:santacruzPassword:boardwalk Password:boardwalk

Central-Site RouterCentral-Site Router(HQ)(HQ)

Hostname:santacruzHostname:santacruzPassword:boardwalk Password:boardwalk

Page 42: Getting Started with LAN Networks Getting Started with LAN Networks

Selecting a PPP AuthenticationProtocol (cont.)

Use “Select” known only to authenticator and peer

CHAPCHAP3-Way Handshake3-Way Handshake

CHAPCHAP3-Way Handshake3-Way Handshake

Accept/RejectAccept/Reject

Remote RouterRemote Router(SantaCruz)(SantaCruz)

Hostname:santacruzHostname:santacruzPassword:boardwalk Password:boardwalk

Central-Site RouterCentral-Site Router(HQ)(HQ)

Hostname:santacruzHostname:santacruzPassword:boardwalk Password:boardwalk

ChallengeChallenge

ResponseResponse

Page 43: Getting Started with LAN Networks Getting Started with LAN Networks

Frame Relay Overview

Frame Relay works here

DSU/CSU

DCE orFrameRelay Switch

• Virtual circuits make connection• Connection-oriented service

Page 44: Getting Started with LAN Networks Getting Started with LAN Networks

Frame Relay Stack

Frame RelayFrame RelayFrame RelayFrame Relay

EIA/TIA-232EIA/TIA-232EIA/TIA-449, V.35,EIA/TIA-449, V.35,X.21, EIA/TIA-530X.21, EIA/TIA-530

IP/IPX/AppleTalk,etc.IP/IPX/AppleTalk,etc.

Data LinkData LinkData LinkData Link

PhysicalPhysicalPhysicalPhysical

NetworkNetworkNetworkNetwork

TransportTransportTransportTransport

SessionSessionSessionSession

PresentationPresentationPresentationPresentation

ApplicationApplicationApplicationApplication

OSI Reference ModelOSI Reference ModelOSI Reference ModelOSI Reference Model Frame RelayFrame RelayFrame RelayFrame Relay

Page 45: Getting Started with LAN Networks Getting Started with LAN Networks

Frame Relay Terminology

PVC

LM ILM I100 = Active100 = Active400 = Active400 = Active

LM ILM I100 = Active100 = Active400 = Active400 = Active

DLCI: 200

Local AccessLoop=64kbps

Local AccessLoop=64kbps

Local Access

Loop=T1

Page 46: Getting Started with LAN Networks Getting Started with LAN Networks

Introduction to TCP/IPIntroduction to TCP/IP

Page 47: Getting Started with LAN Networks Getting Started with LAN Networks

Objectives

Upon completion of this chapter, you will be able to perform the following tasks:

• Identify the IP protocol stack, its protocol layer functions, and commonly used IP protocols.

• Identify IP address classes, IP addresses, IP subnet masks, IP network numbers, subnet numbers, and possible host numbers.

• Configure IP addresses and subnet masks on a router interface and optionally configure a host table.

• Interconnect the VLANs with a layer three device such as a router on a stick.

Page 48: Getting Started with LAN Networks Getting Started with LAN Networks

Introduction to TCP/IP

Early protocol suite Universal

Host Host

Internet

TCP/IP

Page 49: Getting Started with LAN Networks Getting Started with LAN Networks

TCP/IP- Protocol stack

InternetInternet

Data LinkData LinkData LinkData Link

PhysicalPhysicalPhysicalPhysical

NetworkNetworkNetworkNetwork

TransportTransportTransportTransport

SessionSessionSessionSession

PresentationPresentationPresentationPresentation

ApplicationApplicationApplicationApplication

OSI Reference ModelOSI Reference ModelOSI Reference ModelOSI Reference Model TCP/IPTCP/IPTCP/IPTCP/IP

ApplicationApplication

TransportTransport

Data linkData link

PhysicalPhysical

7777

6666

5555

4444

3333

2222

1111

5555

4444

3333

2222

1111

Page 50: Getting Started with LAN Networks Getting Started with LAN Networks

Application Layer Overview

InternetInternet

TCP/IPTCP/IPTCP/IPTCP/IP

ApplicationApplication

TransportTransport

Data linkData link

PhysicalPhysical

File TransferFile Transfer - TFTP *- TFTP * - FTP *- FTP * - NFS- NFSE-mailE-mail - SMTP- SMTPRemote LoginRemote Login - Telnet *- Telnet * - rlogin *- rlogin *Network ManagementNetwork Management - SNMP *- SNMP *Name ManagementName Management - DNS *- DNS *

File TransferFile Transfer - TFTP *- TFTP * - FTP *- FTP * - NFS- NFSE-mailE-mail - SMTP- SMTPRemote LoginRemote Login - Telnet *- Telnet * - rlogin *- rlogin *Network ManagementNetwork Management - SNMP *- SNMP *Name ManagementName Management - DNS *- DNS *

* Used by the Router* Used by the Router* Used by the Router* Used by the Router

Page 51: Getting Started with LAN Networks Getting Started with LAN Networks

Transport Layer Overview

InternetInternet

TCP/IPTCP/IPTCP/IPTCP/IP

ApplicationApplication

TransportTransport

Data linkData link

PhysicalPhysical

Transmission ControlTransmission ControlProtocol (TCP)Protocol (TCP)Transmission ControlTransmission ControlProtocol (TCP)Protocol (TCP)

User DatagramUser DatagramProtocol (UDP)Protocol (UDP)User DatagramUser DatagramProtocol (UDP)Protocol (UDP)

Connection-Connection-orientedorientedConnection-Connection-orientedoriented

ConnectionlessConnectionlessConnectionlessConnectionless

Page 52: Getting Started with LAN Networks Getting Started with LAN Networks

Port Numbers

TransportTransportLayerLayerTransportTransportLayerLayer

FFTTPP

FFTTPP

21212121 23232323 25252525 53535353

TTEELLNNEETT

TTEELLNNEETT

SSMMTTPP

SSMMTTPP

DDNNSS

DDNNSS

TTFFTTPP

TTFFTTPP

SSNNMMPP

SSNNMMPP

RRIIPP

RRIIPP

69696969 69696969 520520520520

TCPTCPTCPTCP UDPUDPUDPUDP

ApplicationApplicationLayerLayerApplicationApplicationLayerLayer

PortPortNumberNumberPortPortNumberNumber

Page 53: Getting Started with LAN Networks Getting Started with LAN Networks

TCP Port Numbers

Host A Host Z

……..SourceSourcePortPort

Dest.Dest.PortPort

……..10281028 2323

SPSP DPDPDest. Port=23.

Send packet to myTelnet

application

Telnet Z

Page 54: Getting Started with LAN Networks Getting Started with LAN Networks

TCP Three WayHandshake/Open connection

Host A Host B

Send SYN(seq=100 ctl=SYN)Send SYN(seq=100 ctl=SYN)

1111

SYN receivedSYN received

SYN receivedSYN received

Send SYN(seq=300 ack=101 ctl=syn,ack)Send SYN(seq=300 ack=101 ctl=syn,ack)

Established(seq=101 ack=301 ctl=ack)Established(seq=101 ack=301 ctl=ack)

3333

2222

Page 55: Getting Started with LAN Networks Getting Started with LAN Networks

TCP Simple Acknowledgment

SenderSender ReceiverReceiver

Send 1Send 1Receive 1Receive 1

Send ACK 2Send ACK 2Receiver ACK 2Receiver ACK 2

Send 2Send 2

Receive 2Receive 2

Send ACK 3Send ACK 3Receiver ACK 3Receiver ACK 3

Send 3Send 3

Receive 3Receive 3

Send ACK 4Send ACK 4

Receiver ACK 4Receiver ACK 4

Window size = 1Window size = 1

Page 56: Getting Started with LAN Networks Getting Started with LAN Networks

TCP Sequence and Acknowledgement Numbers

SequenceSequence##

SourceSourcePortPort

Dest.Dest.PortPort

AcknowledgementAcknowledgement##

……..

I justI justsent #11.sent #11.

I just got #11,I just got #11,now I need #12now I need #12

10281028

SourceSource

2323 1010 11

Dest .Dest . Seq.Seq. AckAck

10281028

SourceSource

2323 1111 11

Dest .Dest . Seq.Seq. AckAck 2323

SourceSource

10281028 11 1111

Dest .Dest . Seq.Seq. AckAck

2323

SourceSource

10281028 22 1212

Dest .Dest . Seq.Seq. AckAck

Page 57: Getting Started with LAN Networks Getting Started with LAN Networks

TCP Simple Acknowledgment

SenderSender ReceiverReceiverWindow size = 3Window size = 3Send 1Send 1

Window size = 3Window size = 3Send 1Send 1

Window size = 3Window size = 3Send 1Send 1

Window size = 3Window size = 3Send 1Send 1

Window size = 3Window size = 3Send 1Send 1

Ack 3Ack 3Window size = 2Window size = 2

Ack 5Ack 5Window size = 5Window size = 5

Packet 3 isDropped

Packet 3 isDropped

Page 58: Getting Started with LAN Networks Getting Started with LAN Networks

Protocol Field

InternetInternetLayerLayer

InternetInternetLayerLayer

6666 17171717

IPIPIPIP

TransportTransportLayerLayer

TransportTransportLayerLayer

ProtocolProtocolNumberNumberProtocolProtocolNumberNumber

TCPTCPTCPTCP UDPUDPUDPUDP

Determines destination upper-layer protocol

Page 59: Getting Started with LAN Networks Getting Started with LAN Networks

Internet Layer Overview

ApplicationApplication

InternetInternet

TransportTransport

Data linkData link

PhysicalPhysical

DestinationDestinationUnreachableUnreachable

Echo (ping)Echo (ping)

OtherOther

DestinationDestinationUnreachableUnreachable

Echo (ping)Echo (ping)

OtherOther

ICMPICMP

Page 60: Getting Started with LAN Networks Getting Started with LAN Networks

Address Resolution Protocol

172.16.3.1

IP: 172.16.3.2 = ???IP: 172.16.3.2 = ???

I heard that broadcast.The message is for me.Here is my Ethernetaddress

I need theEthernet

address of176.16.3.2

172.16.3.2

IP: 172.16.3.2IP: 172.16.3.2Ethernet: 0800.0020.1111Ethernet: 0800.0020.1111

Map IP Ethernet Local ARP

Page 61: Getting Started with LAN Networks Getting Started with LAN Networks

Reverse - ARP

Ethernet: 0800.0020.1111 IP=???Ethernet: 0800.0020.1111 IP=???

I heard that broadcast.Your IP address is 172.16.3.25

What ismy IPaddress ?

Ethernet: 0800.0020.1111Ethernet: 0800.0020.1111IP : 172.16.3.25IP : 172.16.3.25

Map Ethernet IP

Page 62: Getting Started with LAN Networks Getting Started with LAN Networks

Assembling and Assembling and Cabling Network DevicesCabling Network Devices

Page 63: Getting Started with LAN Networks Getting Started with LAN Networks

Objectives

Upon completion of this chapter, you will be able to perform the following tasks:

• Identify and connect necessary components to enable connectivity between routers or switches

• Setup console connections between routers, switches and a terminal

Page 64: Getting Started with LAN Networks Getting Started with LAN Networks

LAN Physical Layers Implementations

• Physical layer implementations vary• Some implementations support multiple

physical media

PhysicalPhysicalPhysicalPhysical Eth

ern

etE

ther

net

Eth

ern

etE

ther

net

Data LinkData Link(MAC layer)(MAC layer)Data LinkData Link

(MAC layer)(MAC layer)

10B

ase2

10B

ase2

10B

ase2

10B

ase2

10B

ase5

10B

ase5

10B

ase5

10B

ase5

10B

aseT

10B

aseT

10B

aseT

10B

aseT

10B

aseF

10B

aseF

10B

aseF

10B

aseF

100b

aseT

X10

0bas

eTX

100b

aseT

X10

0bas

eTX

100b

aseF

X10

0bas

eFX

100b

aseF

X10

0bas

eFX

100b

aseT

410

0bas

eT4

100b

aseT

410

0bas

eT4

802.3802.3802.3802.3

DIXDIXStandardStandard

DIXDIXStandardStandard

802.3 Specifications802.3 Specificationsfor 10mb Ethernetfor 10mb Ethernet

802.3 Specifications802.3 Specificationsfor 10mb Ethernetfor 10mb Ethernet

802.3u Specifications802.3u Specificationsfor 100mb (Fast)for 100mb (Fast)EthernetEthernet

802.3u Specifications802.3u Specificationsfor 100mb (Fast)for 100mb (Fast)EthernetEthernet

Page 65: Getting Started with LAN Networks Getting Started with LAN Networks

Comparing Ethernet MediaRequirements

S Telecom

MaximumMaximumSegmentSegmentLengthLength

MaximumMaximumSegmentSegmentLengthLength

MediaMediaMediaMedia

10Base510Base510Base510Base5

50-ohm50-ohmcoax (thick)coax (thick)

50-ohm50-ohmcoax (thick)coax (thick)

10BaseT10BaseT10BaseT10BaseT

EIA/TIA CatEIA/TIA Cat3,4,5 UTP3,4,5 UTP

2 pair2 pair

EIA/TIA CatEIA/TIA Cat3,4,5 UTP3,4,5 UTP

2 pair2 pair

100BaseTX100BaseTX100BaseTX100BaseTX 100BaseFX100BaseFX100BaseFX100BaseFX

50-ohm50-ohmcoax (thick)coax (thick)

50-ohm50-ohmcoax (thick)coax (thick)

EIA/TIA CatEIA/TIA Cat3,4,5 UTP3,4,5 UTP

2 pair2 pair

EIA/TIA CatEIA/TIA Cat3,4,5 UTP3,4,5 UTP

2 pair2 pair

500 meter500 meter500 meter500 meter 100 meter100 meter100 meter100 meter 100 meter100 meter100 meter100 meter 400 meter400 meter400 meter400 meter

TopologyTopologyTopologyTopology BUSBUSBUSBUS StarStarStarStar StarStarStarStar Point-to-PointPoint-to-PointPoint-to-PointPoint-to-Point

ConnectorConnectorConnectorConnector AUIAUIAUIAUI ISO 8877ISO 8877(RJ-45)(RJ-45)

ISO 8877ISO 8877(RJ-45)(RJ-45)

ISO 8877ISO 8877(RJ-45)(RJ-45)

ISO 8877ISO 8877(RJ-45)(RJ-45)

Duplex media-Duplex media-interfaceinterfaceconnectorconnector(MIC) ST(MIC) ST

Duplex media-Duplex media-interfaceinterfaceconnectorconnector(MIC) ST(MIC) ST

Page 66: Getting Started with LAN Networks Getting Started with LAN Networks

BNC Connector

Barrel T TerminatorBarrel T Terminator

Page 67: Getting Started with LAN Networks Getting Started with LAN Networks

UTP Device

The RJ-45 ConnectorThe RJ-45 ConnectorThe RJ-45 ConnectorThe RJ-45 Connector

Wire PairWire PairT is TipT is TipR is RingR is Ring

Wire PairWire PairT is TipT is TipR is RingR is RingPinPinPinPin

Pair 2 T2Pair 2 T2

Pair 2 R2Pair 2 R2

Pair 3 T3Pair 3 T3

Pair 1 R1Pair 1 R1

Pair 1 T1Pair 1 T1

Pair 3 R3Pair 3 R3

Pair 4 T4Pair 4 T4

Pair 4 R4Pair 4 R4

Pair 2 T2Pair 2 T2

Pair 2 R2Pair 2 R2

Pair 3 T3Pair 3 T3

Pair 1 R1Pair 1 R1

Pair 1 T1Pair 1 T1

Pair 3 R3Pair 3 R3

Pair 4 T4Pair 4 T4

Pair 4 R4Pair 4 R4

1 1

2 2

3 3

4 4

5 5

6 6

7 7

8 8

1 1

2 2

3 3

4 4

5 5

6 6

7 7

8 8

Page 68: Getting Started with LAN Networks Getting Started with LAN Networks

UTP ImplementationStraight-through

Cable 10BaseT/Cable 10BaseT/100BaseT Straight-through100BaseT Straight-through

Cable 10BaseT/Cable 10BaseT/100BaseT Straight-through100BaseT Straight-through

Hub/SwitchHub/SwitchHub/SwitchHub/Switch Server/RouterServer/RouterServer/RouterServer/Router

Pin LabelPin LabelPin LabelPin Label

RD +RD +

RD -RD -

TD +TD +

NCNC

NCNC

TD -TD -

NCNC

NCNC

RD +RD +

RD -RD -

TD +TD +

NCNC

NCNC

TD -TD -

NCNC

NCNC

1 1

2 2

3 3

4 4

5 5

6 6

7 7

8 8

1 1

2 2

3 3

4 4

5 5

6 6

7 7

8 8

Pin LabelPin LabelPin LabelPin Label

O b g brO b g brO b g brO b g br

1 1

2 2

3 3

4 4

5 5

6 6

7 7

8 8

1 1

2 2

3 3

4 4

5 5

6 6

7 7

8 8

Straight-through CableStraight-through CableStraight-through CableStraight-through Cable

O b g brO b g brO b g brO b g brwo wb wg wbrwo wb wg wbrwo wb wg wbrwo wb wg wbr wo wb wg wbrwo wb wg wbrwo wb wg wbrwo wb wg wbr

Wires on cable endsWires on cable endsare in same orderare in same order

Wires on cable endsWires on cable endsare in same orderare in same order

1 81 81 81 8 1 81 81 81 8

Page 69: Getting Started with LAN Networks Getting Started with LAN Networks

UTP Implementation Crossover

Cable 10BaseT/Cable 10BaseT/100BaseT Crossover100BaseT Crossover

Cable 10BaseT/Cable 10BaseT/100BaseT Crossover100BaseT Crossover

Hub/SwitchHub/SwitchHub/SwitchHub/Switch Hub/SwitchHub/SwitchHub/SwitchHub/Switch

Pin LabelPin LabelPin LabelPin Label

RD +RD +

RD -RD -

TD +TD +

NCNC

NCNC

TD -TD -

NCNC

NCNC

RD +RD +

RD -RD -

TD +TD +

NCNC

NCNC

TD -TD -

NCNC

NCNC

1 1

2 2

3 3

4 4

5 5

6 6

7 7

8 8

1 1

2 2

3 3

4 4

5 5

6 6

7 7

8 8

Pin LabelPin LabelPin LabelPin Label

1 1

2 2

33

44

55

66

77

88

1 1

2 2

33

44

55

66

77

88

Crossover CableCrossover CableCrossover CableCrossover Cable

Some wires on cableSome wires on cableend are closedend are closed

Some wires on cableSome wires on cableend are closedend are closed

wo wg wb wbrwo wg wb wbr

w b g brw b g br

wo wg wb wbrwo wg wb wbr

w b g brw b g brO b g brO b g brO b g brO b g brwo wb wg wbrwo wb wg wbrwo wb wg wbrwo wb wg wbr

1 81 81 81 8 1 81 81 81 8RD +RD +

RD -RD -

TD +TD +

NCNC

NCNC

TD -TD -

NCNC

NCNC

RD +RD +

RD -RD -

TD +TD +

NCNC

NCNC

TD -TD -

NCNC

NCNC

Page 70: Getting Started with LAN Networks Getting Started with LAN Networks

Network Device

NetworkNetworkNetworkNetwork

Data LinkData LinkData LinkData Link

PhysicalPhysicalPhysicalPhysical

RouterRouter

HubHub

• Media typeMedia type• Connection typeConnection type• Signaling typeSignaling type

• Media typeMedia type• Connection typeConnection type• Signaling typeSignaling type

SwitchSwitch

BridgeBridge

• Physical addressPhysical address• Higher layer protocolHigher layer protocol• Network topologyNetwork topology• Frame sequencingFrame sequencing• Flow controlFlow control

• Physical addressPhysical address• Higher layer protocolHigher layer protocol• Network topologyNetwork topology• Frame sequencingFrame sequencing• Flow controlFlow control

• Logical addressLogical address• Define paths throughDefine paths through networknetwork• Interconnects Interconnects Multiple data linksMultiple data links

• Logical addressLogical address• Define paths throughDefine paths through networknetwork• Interconnects Interconnects Multiple data linksMultiple data links

Page 71: Getting Started with LAN Networks Getting Started with LAN Networks

Hubs Operate at Physical layer

A B C D

• All devices in the same collision domain• All devices in the same broadcast domain• Devices share the same bandwidth

PhysicalPhysical

Page 72: Getting Started with LAN Networks Getting Started with LAN Networks

Switches and Bridges Operateat Data Link Layer

• Each segment has its own collision domain• All segments are in the same broadcast domain

1 2 3 4

Data linkData link

OROR 1 2

Page 73: Getting Started with LAN Networks Getting Started with LAN Networks

Routers : Operate at the Network Layer

• Broadcast control• Multicast control• Optimal path

determination• Traffic management• Logical addressing• Connects to WAN

service

Page 74: Getting Started with LAN Networks Getting Started with LAN Networks

Cabling the Campus

• Determine the physical media used- 10mb or 100mb indicates what type of CAT cable is required

• Locating interface on the chassis- determine if one or both ports have an X

indicates if needed corssover straight-through cable

10 MbpsCat 3,4,5

Straight-through10 MbpsCat 3,4,5

Straight-through

10 MbpsCat 3,4,5

Crossover

100 MbpsCat 5

Straight-through

100 MbpsCat 5

Crossover

Page 75: Getting Started with LAN Networks Getting Started with LAN Networks

Operating andOperating andConfiguring a Network DeviceConfiguring a Network DeviceI. RouterI. Router

Page 76: Getting Started with LAN Networks Getting Started with LAN Networks

Objectives

Upon completion of this chapter, you will be able to perform the following tasks:

• Startup the Cisco router and observe the boot up processes• Provide an initial configuration for the switch and perform the

router’s initial setup configuration• Enable and identify the command modes in each network

device• Use the various help and command line-editing features of

each device’s user interface• Show and recognize fundamental technical details about each

network device

Page 77: Getting Started with LAN Networks Getting Started with LAN Networks

An Overview ofRouter Startup

• Find and check device hardware

• Find and load Cisco IOS software image

• Find and apply device configuration

Page 78: Getting Started with LAN Networks Getting Started with LAN Networks

External ConfigurationSources

Virtual terminal

PC or Unix Server

Web or NetworkManagementServer

Console portConsole port

Auxiliary portAuxiliary port

InterfaceInterface

• Configurations can come from many source

• Configurations will act in device memory

Page 79: Getting Started with LAN Networks Getting Started with LAN Networks

Cisco IOS User Interface Fundamental

• Uses a command line interface• Operations vary on different

internetworking devices• Type or paste entries in the

console command modes• Enter key instructs device to

parse and execute the command• Two primary EXEC modes are

user mode and privileged mode• Command modes have

distinctive prompts

Page 80: Getting Started with LAN Networks Getting Started with LAN Networks

Cisco IOS software EXEC

• There are two main EXEC modes for entering commands

First modes:First modes:First modes:First modes:

User ModeUser Mode

• Limited examination of routerLimited examination of router

• Command Prompt is Command Prompt is hostname>hostname>

User ModeUser Mode

• Limited examination of routerLimited examination of router

• Command Prompt is Command Prompt is hostname>hostname>

Page 81: Getting Started with LAN Networks Getting Started with LAN Networks

The Cisco IOS software EXEC (cont.)

Second modes (and most commonly usedSecond modes (and most commonly usedSecond modes (and most commonly usedSecond modes (and most commonly used

Privileged (or enabled) ModePrivileged (or enabled) Mode

• Detailed examinated of roouterDetailed examinated of roouter

• Enables configuration and debuggingEnables configuration and debugging

• Prequisite for other configuration modes Prequisite for other configuration modes

• Command prompts on the device Command prompts on the device hostname#hostname#

Privileged (or enabled) ModePrivileged (or enabled) Mode

• Detailed examinated of roouterDetailed examinated of roouter

• Enables configuration and debuggingEnables configuration and debugging

• Prequisite for other configuration modes Prequisite for other configuration modes

• Command prompts on the device Command prompts on the device hostname#hostname#

Page 82: Getting Started with LAN Networks Getting Started with LAN Networks

Router Internal Component

RAM

ROM

Flash

NVRAM

Config register

Interface

Page 83: Getting Started with LAN Networks Getting Started with LAN Networks

Router Internal Component

RAM

ROM

Flash

NVRAM

Config register

Interface

Page 84: Getting Started with LAN Networks Getting Started with LAN Networks

Loading the IOS from Flash

Flash

RAM

IOS

IOS

Show flash

Console

Page 85: Getting Started with LAN Networks Getting Started with LAN Networks

Show flash Command

Router>show flashshow flash

System flash directory:File Length Name/status 1 9524828 c2500-js-l.113-9.T[9524892 bytes used, 7252324 available, 16777216 total]16384K bytes of processor board System flash (Read ONLY)

Router>

Page 86: Getting Started with LAN Networks Getting Started with LAN Networks

Loading the Configuration

RAM

IOS

NVRAM

ConfigConfigConfigConfig ConfigConfigConfigConfig

Console

Showrunning-config

ShowStartup-config

Setup utility

• Load and execute config from NVRAM• If no config in NVRAM, enter setup mode

Page 87: Getting Started with LAN Networks Getting Started with LAN Networks

Show running and showstartup Command

Router#show running-configBuilding configuration...

Current configuration:!version 11.3service timestamps debug uptimeservice timestamps log uptimeno service password-encryption!hostname Router!

Router#show startup-configUsing 376 out of 32762 bytes!version 11.3service timestamps debug uptimeservice timestamps log uptimeno service password-encryption!hostname Router!!!

Page 88: Getting Started with LAN Networks Getting Started with LAN Networks

Sources of Configuration

RAM NVRAM

ConfigConfigConfigConfig ConfigConfigConfigConfig

Config term

• NVRAM• Terminal• TFTP server• Erase Start

Copy running startup

Copy startup running

Console

TFTPserver

copy tftp run

copy run tftp

copy tftp start

Config start tftpBlank

000000000000

Erasestart

Page 89: Getting Started with LAN Networks Getting Started with LAN Networks

Cisco IOS File Systems andDevices

RAM

Flash

NVRAM

System:

flash:

TFTPserver

nvram:

tftp:

Page 90: Getting Started with LAN Networks Getting Started with LAN Networks

Operating andOperating andConfiguring a Network DeviceConfiguring a Network DeviceI. SwitchI. Switch

Page 91: Getting Started with LAN Networks Getting Started with LAN Networks

How Switches Learn HostLocations

SK Telecom

• Initial MAC address table is empty

MAC address table

A B

C D

0260.8c01.1111

0260.8c01.2222 0260.8c01.4444

0260.8c01.3333E0

E2

E1

E3

Page 92: Getting Started with LAN Networks Getting Started with LAN Networks

How Switches Learn HostLocations

• Station A sends a frame to Station C

• Switch caches station A MAC address to port E0 by learning

• The frame from station A to station C is flooded out to all ports except port E0(unknown unicasts are flooded)

MAC address table

A B

C D

0260.8c01.1111

0260.8c01.2222 0260.8c01.4444

0260.8c01.3333E0

E2

E1

E3

E0:0260.8c01.1111

Page 93: Getting Started with LAN Networks Getting Started with LAN Networks

How Switches Learn HostLocations

• Station D sends a frame to Station C

• Switch caches station D MAC address to port E3 by learning the source A 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

A B

C D

0260.8c01.1111

0260.8c01.2222 0260.8c01.4444

0260.8c01.3333E0

E2

E1

E3

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

Page 94: Getting Started with LAN Networks Getting Started with LAN Networks

How Switches Filter Frames

• Station A sends a frame to Station C

• Destination is known, frame is not flooded

MAC address table

A B

C D

0260.8c01.1111

0260.8c01.2222 0260.8c01.4444

0260.8c01.3333E0

E2

E1

E3

Page 95: Getting Started with LAN Networks Getting Started with LAN Networks

Broadcast and Multicast Frames

• Station D sends a broadcast or multicast frame

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

MAC address table

A B

C D

0260.8c01.1111

0260.8c01.2222 0260.8c01.4444

0260.8c01.3333E0

E2

E1

E3

E0:0260.8c01.1111E2:0260.8c01.2222

E1:0260.8c01.3333

E3:0260.8c01.4444

Page 96: Getting Started with LAN Networks Getting Started with LAN Networks

Redundant Topology

• Redundant topology eliminates single points of failure

• Redundant topology cause broadcast storms, multiple frame copies, and MAC address table instability problems

Station/host X Router Y

Segment 1

Segment 2

Page 97: Getting Started with LAN Networks Getting Started with LAN Networks

Broadcast Storms

Switches continues to propagate broadcast traffic over and over

Station/host X Router Y

Segment 1

Segment 2

BroadcastBroadcast

Page 98: Getting Started with LAN Networks Getting Started with LAN Networks

MANAGING YOUR NETWORK MANAGING YOUR NETWORK ENVIRONMENT (LAN NETWORK)ENVIRONMENT (LAN NETWORK)

Page 99: Getting Started with LAN Networks Getting Started with LAN Networks

Objectives

Upon completion of this chapter, you will be able to perform the following tasks:

• Gather information by network test(ping, trace,telnet)

• Gather information by using show command in Cisco Router

• Create a simple network diagram to document the network

Page 100: Getting Started with LAN Networks Getting Started with LAN Networks

LAN Network Environment

• Network components

BranchOffice

Floor 1

Floor 2

HQ

Sever Farm

Campus

Page 101: Getting Started with LAN Networks Getting Started with LAN Networks

Telnet

• Telnet operation

Router> telnet 203.227.91.1

Trying 203.227.91.1 ... OpenUser Access Verification

Password: ****Cisco>

Router> telnet 203.227.91.1

Trying 203.227.91.1 ... OpenUser Access Verification

Password: ****Cisco>

Page 102: Getting Started with LAN Networks Getting Started with LAN Networks

Ping

Cisco

Router 203.227.90.1

Cisco 203.227.91.1

RouterEcho Reply

Echo Requestping

Router> ping 203.229.91.1Type escape sequence to abort.Sending 5, 100-byte ICMP Echos to 203.227.91.1, timeout is 2 seconds:!!!!!Success rate is 100 percent (5/5), round-trip min/avg/max = 1/3/4 ms

Router> ping 203.227.91.1Type escape sequence to abort.Sending 5, 100-byte ICMP Echos to 203.227.91.1, timeout is 2 seconds:.....Success rate is 0 percent (0/5)

Router> ping 203.229.91.1Type escape sequence to abort.Sending 5, 100-byte ICMP Echos to 203.227.91.1, timeout is 2 seconds:!!!!!Success rate is 100 percent (5/5), round-trip min/avg/max = 1/3/4 ms

Router> ping 203.227.91.1Type escape sequence to abort.Sending 5, 100-byte ICMP Echos to 203.227.91.1, timeout is 2 seconds:.....Success rate is 0 percent (0/5)

Page 103: Getting Started with LAN Networks Getting Started with LAN Networks

Trace

Seoul

Pusan131.108.33.5

Daegu131.108.16.2

Daejun131.108.12.3

Seoul# trace 131.108.33.5 (Pusan)Type escape to abort.Tracing the route to 131.108.33.5 (Pusan)

1 131.108.12.3 (Daejun) 100 msec 40 msec 10 msec2 131.108.16.2 (Daegu) 40 msec 20 msec 8 msec3 131.108.33.5 (Pusan) 10 msec 8 msec 4 msec

Seoul#

Seoul# trace 131.108.33.5 (Pusan)Type escape to abort.Tracing the route to 131.108.33.5 (Pusan)

1 131.108.12.3 (Daejun) 100 msec 40 msec 10 msec2 131.108.16.2 (Daegu) 40 msec 20 msec 8 msec3 131.108.33.5 (Pusan) 10 msec 8 msec 4 msec

Seoul#

Page 104: Getting Started with LAN Networks Getting Started with LAN Networks

Router Check Command

• Show interface serial command

• Show interface ethernet command

• Show process cpu command

Page 105: Getting Started with LAN Networks Getting Started with LAN Networks

Home LAN /SOHO 사용자를 위한LAN 구축 실무 ( 부록 )

Home LAN /SOHO 사용자를 위한LAN 구축 실무 ( 부록 )

Page 106: Getting Started with LAN Networks Getting Started with LAN Networks

Ⅰ. Network 란 ?

Ⅱ. LAN Card 없이 간단하게 연결하기

Ⅲ. 기본 Network 구축장비

Ⅳ. Network 구축 순서

Ⅴ. Windows 95/98 의 Network 환경설정

Ⅵ. 자원 공유 Model

Ⅶ. LAN 구축 Model

Ⅷ. 초고속 Internet Service 의 선택

Page 107: Getting Started with LAN Networks Getting Started with LAN Networks

Network 란 ?

Network 를 하면 무엇이 좋아지는가 ? 자원 공유

• 저장장치• 출력장치• 인터넷 접속 라인• 팩스모뎀

비용절감 신뢰성 향상

Page 108: Getting Started with LAN Networks Getting Started with LAN Networks

Network 기본 지식 LAN 과 WAN LAN 의 구성방식

· Peer -To -Peer

· Client -Server

LAN 의 표준 , 이더넷 (Ethernet) Network 운영체제 Protocol

Network 란 ?

Page 109: Getting Started with LAN Networks Getting Started with LAN Networks

Cable 직접 연결 Serial( 직렬 ) 연결

Parallel( 병렬 ) 연결

무선 적외선 통신 (IrDA) 연결

USB 연결 단순 데이터 교환

유사 Network 환경 구축

USB LAN Card

LAN Card 없이 간단하게 연결하기

Page 110: Getting Started with LAN Networks Getting Started with LAN Networks

기본 Network 구축장비

• 명칭 : RG58 A/U 10Base-2• 전송속도 : 10Mbps• 연결거리 : 185M• Network 양 끝단에 Terminator 설치

LAN Cable - BNC

Page 111: Getting Started with LAN Networks Getting Started with LAN Networks

기본 Network 구축장비

Barrel T Terminator

BNC 커넥터의 종류

LAN Cable - BNC

Page 112: Getting Started with LAN Networks Getting Started with LAN Networks

BNC T- 커넥터 연결

기본 Network 구축장비

LAN Cable- BNC

Page 113: Getting Started with LAN Networks Getting Started with LAN Networks

BNC Terminator 연결

기본 Network 구축장비

LAN Cable - BNC

Page 114: Getting Started with LAN Networks Getting Started with LAN Networks

• 명칭 : RJ-45

10/100Base-T• 전송속도 : 10/100Mbps• 연결거리 : 100M• 3 대 이상의 PC 연결시 허브 필요

기본 Network 구축장비 LAN Cable - UTP(Unshielded Twisted Pair)

Page 115: Getting Started with LAN Networks Getting Started with LAN Networks

• 명칭 : RJ-45

10/100Base-T• 전송속도 : 10/100Mbps• 연결거리 : 100M• 3 대 이상의 PC 연결시 허브 필요

기본 Network 구축장비 LAN Cable - UTP(Unshielded Twisted Pair)

Page 116: Getting Started with LAN Networks Getting Started with LAN Networks

• BUS BUS 방식방식•TPO/COMBO

• 연결속도• 가격

기본 Network 구축장비

LAN Cable (Network Adapter/NIC)

Page 117: Getting Started with LAN Networks Getting Started with LAN Networks

• BUS BUS 방식방식•TPO/COMBO

• 연결속도• 가격

기본 Network 구축장비

LAN Cable (Network Adapter/NIC)

Page 118: Getting Started with LAN Networks Getting Started with LAN Networks

• BUS 방식• TPO/COMBOTPO/COMBO

• 연결속도• 가격

TPO(TP-Only)

기본 Network 구축장비

LAN Cable (Network Adapter/NIC)

Page 119: Getting Started with LAN Networks Getting Started with LAN Networks

• BUS 방식•TPO/COMBOTPO/COMBO

• 연결속도• 가격

COMBO (UTP, AUI, BNC)

기본 Network 구축장비

LAN Cable (Network Adapter/NIC)

Page 120: Getting Started with LAN Networks Getting Started with LAN Networks

• BUS 방식• TPO/COMBO

• 연결속도연결속도• 가격

100Mbps Fast Ethernet Adapter

기본 Network 구축장비

LAN Cable (Network Adapter/NIC)

Page 121: Getting Started with LAN Networks Getting Started with LAN Networks

• BUS 방식• TPO/COMBO

• 연결속도• 가격가격

기본 Network 구축장비

LAN Cable (Network Adapter/NIC)

Page 122: Getting Started with LAN Networks Getting Started with LAN Networks

Hub 의 종류1. 1. 더미더미 (Dummy) Hub(Dummy) Hub

2. 스위치 (Switch)Hub

기본 Network 구축장비

허브 (Hub)

Page 123: Getting Started with LAN Networks Getting Started with LAN Networks

기본 Network 구축장비

Hub 의 종류1. 더미 (Dummy) Hub

2. 2. 스위치스위치 (Switch)Hub(Switch)Hub

허브 (Hub)

Page 124: Getting Started with LAN Networks Getting Started with LAN Networks

기본 Network 구축장비

Hub 의 선택•몇대 정도의 컴퓨터를 연결할 것인가 ?•더미허브 ? 스위치 허브?•10Mbps? 100Mbps?•저가형 ? 고가형 ?

허브 (Hub)

Page 125: Getting Started with LAN Networks Getting Started with LAN Networks

기본 Network 구축장비

Hub 의 선택•몇대 정도의 컴퓨터를 연결할 것인가 ?•더미허브 ? 스위치 허브?•10Mbps? 100Mbps?•저가형 ? 고가형 ?

허브 (Hub)

Page 126: Getting Started with LAN Networks Getting Started with LAN Networks

기본 Network 구축장비

Hub 의 선택•몇대 정도의 컴퓨터를 연결할 것인가 ?•더미허브 ? 스위치 허브?•10Mbps? 100Mbps?•저가형 ? 고가형 ?

허브 (Hub)

Page 127: Getting Started with LAN Networks Getting Started with LAN Networks

기본 Network 구축장비

Hub 의 선택•몇대 정도의 컴퓨터를 연결할 것인가 ?•더미허브 ? 스위치 허브?•10Mbps? 100Mbps?•저가형 ? 고가형 ?

허브 (Hub)

Page 128: Getting Started with LAN Networks Getting Started with LAN Networks

Network 와 Network 간을 연결하는 인터네트

워킹 (Internetworking) 장비 소규모 Network 환경에서는 Software 적으로

라우터의 구현 , 비용 절감

기본 Network 구축장비

라우터 (Router)

Page 129: Getting Started with LAN Networks Getting Started with LAN Networks

Network 구축 순서

LAN Card LAN Card 설치와 환경설정설치와 환경설정 (( 드라이버 설치드라이버 설치 ))

Cable Cable 작업작업 , Hub, Hub 와 연결와 연결

Network Network 환경설정환경설정 (( 프로토콜프로토콜 , , 컴퓨터이름컴퓨터이름 ))

공유 자원공유 자원 , , 사용자 설정사용자 설정

Page 130: Getting Started with LAN Networks Getting Started with LAN Networks

LAN Card 설치와 환경설정 (Driver 설치 )

문제해결 - Ping 테스트

c:\ping 127.0.0.1

Network 구축 순서

Page 131: Getting Started with LAN Networks Getting Started with LAN Networks

문제해결 - Driver- Update

Network 구축 순서

LAN Card 설치와 환경설정 (Driver 설치 )

Page 132: Getting Started with LAN Networks Getting Started with LAN Networks

문제해결 - 자원충돌 해결

Network 구축 순서

LAN Card 설치와 환경설정 (Driver 설치 )

Page 133: Getting Started with LAN Networks Getting Started with LAN Networks

Cable 제작1. Cable2. RJ45 커넥터3. 보호 부트4. RJ45 케이블링 툴

Cable 작업 , Hub 와 연결

Network 구축 순서

Page 134: Getting Started with LAN Networks Getting Started with LAN Networks

Cable 제작1. Cable2. RJ45 커넥터3. 보호 부트4. RJ45 케이블링 툴

Network 구축 순서

Cable 작업 , Hub 와 연결

Page 135: Getting Started with LAN Networks Getting Started with LAN Networks

Cable 제작1. Cable2. RJ45 커넥터3. 보호 부트4. RJ45 케이블링 툴

Network 구축 순서

Cable 작업 , Hub 와 연결

Page 136: Getting Started with LAN Networks Getting Started with LAN Networks

UTP 다이렉트 Cable 배선방식

Network 구축 순서

Cable 작업 , Hub 와 연결

Page 137: Getting Started with LAN Networks Getting Started with LAN Networks

UTP 크로스 Cable 배선방식

Network 구축 순서

Cable 작업 , Hub 와 연결

Page 138: Getting Started with LAN Networks Getting Started with LAN Networks

Hub 와 연결

Network 구축 순서

Cable 작업 , Hub 와 연결

Page 139: Getting Started with LAN Networks Getting Started with LAN Networks

• Microsoft Network 클라이언트• 전화접속 어댑터• LAN Card Driver ( 설치한 LAN Card 종류마다 틀림 )• TCP/IP• IPX/SPX( 스타크레프트 등의 네트워크 게임을 위해 필요 )• Microsoft Network 파일 / 프린터 공유 프로그램 ( 공유 설정을 위해 필요 )

Window 95/98 의 Network 환경설정 Network 환경설정 ( 프로토콜 , 컴퓨터이름)

Page 140: Getting Started with LAN Networks Getting Started with LAN Networks

IP 주소 (IP Address) 와 서브네트 마스크 (Subnet Mask) 지정

TCP/IP 환경 설정

IP 주소 10.xxx .xxx .xxx

서브네트마스크 255. 0 . 0 . 0

•클래스 A 비공인 IP 주소

Window 95/98 의 Network 환경설정

Page 141: Getting Started with LAN Networks Getting Started with LAN Networks

IP 주소 (IP Address) 와 서브네트 마스크 (Subnet Mask) 지정

TCP/IP 환경 설정

IP 주소 192.168.xxx .xxx

서브네트마스크 255 .255. 0 . 0

•클래스 B 비공인 IP 주소

Window 95/98 의 Network 환경설정

Page 142: Getting Started with LAN Networks Getting Started with LAN Networks

IPX/SPX 프로토콜 IPX/SPX 프로토콜

기타 프로토콜 환경 설정

NetBEUI 프로토콜 NetBEUI 프로토콜

Window 95/98 의 Network 환경설정

Page 143: Getting Started with LAN Networks Getting Started with LAN Networks

공유프로그램 설치

Window 95/98 의 Network 환경설정

Page 144: Getting Started with LAN Networks Getting Started with LAN Networks

컴퓨터 이름 짓기

Window 95/98 의 Network 환경설정

Page 145: Getting Started with LAN Networks Getting Started with LAN Networks

자원 공유 Model

저장장치 ( 드라이브 / 폴더 ) 의 공유

Page 146: Getting Started with LAN Networks Getting Started with LAN Networks

프린터 공유

자원 공유 Model

Page 147: Getting Started with LAN Networks Getting Started with LAN Networks

Internet 접속라인 공유

자원 공유 Model

Page 148: Getting Started with LAN Networks Getting Started with LAN Networks

팩스 모뎀 공유

자원 공유 Model

Page 149: Getting Started with LAN Networks Getting Started with LAN Networks

LAN 구축 Model

1 : 1 연결

Page 150: Getting Started with LAN Networks Getting Started with LAN Networks

LAN 구축 Model

Hub 를 이용한 3 대 이상의 연결

Page 151: Getting Started with LAN Networks Getting Started with LAN Networks

LAN 구축 Model

전화 접속 네트워킹으로 원격지 접속

Page 152: Getting Started with LAN Networks Getting Started with LAN Networks

LAN 구축 Model

인터넷으로 전용선 환경에 원격지 접속

Page 153: Getting Started with LAN Networks Getting Started with LAN Networks

LAN 구축 Model

Window - DOS PC 연결

Page 154: Getting Started with LAN Networks Getting Started with LAN Networks

LAN 구축 Model

Window - 매킨토시 연결

Page 155: Getting Started with LAN Networks Getting Started with LAN Networks

LAN 구축 Model

Internet 사용이 많지 않은 SOHO LAN 구축 Model

UTP 케이블

5-8 포트 10 Mbps 허브향후 확장을 고려해 PC 대수보다한두포트 여유제품 사용

프린터병렬 연결

10 Mbps 공유 Ethernet

인터넷

모뎀 /ISDN 을 이용한인터넷 접속 공유기능으로 저렴하게 인터넷 환경 구축

모뎀 /ISDN

R

각 PC 에 표준 10 Mbps 랜카드 설지

Page 156: Getting Started with LAN Networks Getting Started with LAN Networks

LAN 구축 Model

Web Server 운영을 위한 전용선 환경의 SOHO LAN 구축 Model

UTP 케이블

5-8 포트 10 Mbps 허브향후 확장을 고려해 PC 대수보다한두포트 여유제품 사용

프린터병렬 연결

10 Mbps 공유 Ethernet

인터넷

R

각 PC 에 표준 10 Mbps 랜카드 설지

라우터

56/128 K 전용회선

Page 157: Getting Started with LAN Networks Getting Started with LAN Networks

LAN 구축 Model

ADLS/Cable MODEM 등을 활용한 초고속 Internet 멀티미디어 SOHO LAN 구축 Model

R

10/100 Mbps 고속랜카드

케이블 /ADSL 모뎀

100Mbps 스위치 허브각 노드마다 최대의 대역폭을 보장하는 스위치 허브의 사용으로 전송량이많은 경우도 성능저하 없이 고속의 전송이 가능하게 함

프린터병렬 연결

100 Mbps Fast Ethernet

인터넷

R

인터넷연결공유 PC케이블모뎀 /ADSL모뎀등과 연결하는랜카드를 인터넷과직접 연결된 PC 에장착 , 즉 이 PC 에는랜카드가 2개 장착되어 있음 .

10 Mbps 랜카드

Page 158: Getting Started with LAN Networks Getting Started with LAN Networks

ISDN (Integrated Service Digital Network)

초고속 Internet Service 의 선택

Page 159: Getting Started with LAN Networks Getting Started with LAN Networks

ISDN (Integrated Service Digital Network)

초고속 Internet Service 의 선택

Page 160: Getting Started with LAN Networks Getting Started with LAN Networks

ISDN (Integrated Service Digital Network)

초고속 Internet Service 의 선택

Page 161: Getting Started with LAN Networks Getting Started with LAN Networks

ISDN (Integrated Service Digital Network)

초고속 Internet Service 의 선택

Page 162: Getting Started with LAN Networks Getting Started with LAN Networks

Cable MODEM

초고속 Internet Service 의 선택

Page 163: Getting Started with LAN Networks Getting Started with LAN Networks

초고속 Internet Service 의 선택

Cable MODEM

Page 164: Getting Started with LAN Networks Getting Started with LAN Networks

ADSL (Asymmetric Digital Subscriber Line)

초고속 Internet Service 의 선택

Page 165: Getting Started with LAN Networks Getting Started with LAN Networks

ADSL (Asymmetric Digital Subscriber Line)

초고속 Internet Service 의 선택

Page 166: Getting Started with LAN Networks Getting Started with LAN Networks

전용선

전용선 도입업체전용선 도입업체 ISPISP

도메인 결정

공인 IP 주소 부여

도메인 신청 대행

설치와 테스트

개 통

장비 구입 ( 대여 )라우터 /DSU/CSU

전용선 신청

초고속 Internet Service 의 선택