fundamentals of ip networking communicating over the ...ip.eap.gr/pdf/lecture schrotter.pdf ·...

31
ERASMUS IP Summer Course 2009: WiCoNet IP Networking Page 1 IKS ERASMUS IP: WiCoNet IP Networking IP Networking Dipl.-Ing. Peter Schrotter Institute of Communication Networks and Satellite Communications Graz University of Technology, Austria IKS ERASMUS IP: WiCoNet IP Networking Overview Fundamentals of IP Networking Communicating over the Network Application Layer Functionality and Protocols OSI Transport Layer OSI Network Layer Addressing the Network (IPv4) OSI Data Link Layer OSI Physical Layer Ethernet Planning and Cabling Networks Configuring and Testing the Network IKS ERASMUS IP: WiCoNet IP Networking IP Networking - Part 1 Fundamentals of IP Networking Fundamentals of IP Networking Communicating over the Network Application Layer Functionality and Protocols OSI Transport Layer OSI Network Layer Addressing the Network (IPv4) OSI Data Link Layer OSI Physical Layer Ethernet Planning and Cabling Networks Configuring and Testing the Network IKS ERASMUS IP: WiCoNet IP Networking Networks Impact Daily Life Instantaneous communication supports and improves our lives. IKS ERASMUS IP: WiCoNet IP Networking How Networks Impact Daily Life Popular communication media such as IM, Wikis, Blogs, Podcasting, and Collaboration Tools Instant messaging Real time communication between 2 or more people based on typed text Weblogs (Blogs) Web pages created by an individual Podcasting Website that contains audio files available for downloading IKS ERASMUS IP: WiCoNet IP Networking How Networks Impact Daily Life Information networks can be used in different ways of sharing and collaborating Improvement for teaching and learning

Upload: vohuong

Post on 07-Feb-2018

226 views

Category:

Documents


0 download

TRANSCRIPT

ERASMUS IP Summer Course 2009: WiCoNet IP Networking Page 1

IKS

ERASMUS IP: WiCoNet IP Networking

IP NetworkingDipl.-Ing. Peter Schrotter

Institute of Communication Networks and Satellite Communications

Graz University of Technology, Austria

IKS

ERASMUS IP: WiCoNet IP Networking

Overview

� Fundamentals of IP Networking

� Communicating over the Network

� Application Layer Functionality and Protocols

� OSI Transport Layer

� OSI Network Layer

� Addressing the Network (IPv4)

� OSI Data Link Layer

� OSI Physical Layer

� Ethernet

� Planning and Cabling Networks

� Configuring and Testing the Network

IKS

ERASMUS IP: WiCoNet IP Networking

IP Networking - Part 1

�� Fundamentals of IP NetworkingFundamentals of IP Networking

� Communicating over the Network

� Application Layer Functionality and Protocols

� OSI Transport Layer

� OSI Network Layer

� Addressing the Network (IPv4)

� OSI Data Link Layer

� OSI Physical Layer

� Ethernet

� Planning and Cabling Networks

� Configuring and Testing the Network

IKS

ERASMUS IP: WiCoNet IP Networking

Networks Impact Daily Life

� Instantaneous communication supports and improves

our lives.

IKS

ERASMUS IP: WiCoNet IP Networking

How Networks Impact Daily Life

� Popular communication media such as IM, Wikis,

Blogs, Podcasting, and Collaboration Tools

– Instant messaging

• Real time communicationbetween 2 or morepeople based on typed text

– Weblogs (Blogs)

• Web pages createdby an individual

– Podcasting

• Website that containsaudio files availablefor downloading

IKS

ERASMUS IP: WiCoNet IP Networking

How Networks Impact Daily Life

� Information networks can be used in different ways of

sharing and collaborating

→ Improvement for teaching and learning

ERASMUS IP Summer Course 2009: WiCoNet IP Networking Page 2

IKS

ERASMUS IP: WiCoNet IP Networking

How Networks Impact Daily Life

� Communication over a network changes the way we

work

IKS

ERASMUS IP: WiCoNet IP Networking

How Networks Impact Daily Life

� Communication over a network supports the way we

play

IKS

ERASMUS IP: WiCoNet IP Networking

Data Networking:Role, Components, and Challenges

� Basic characteristics of communication

– Rules or agreements are 1st established

– Important information may need to be repeated

– Various modes of communication may impact the effectiveness of getting the message across.

IKS

ERASMUS IP: WiCoNet IP Networking

Data Networking:Role, Components, and Challenges

� Various elements make up a network

– Devices

• These are used to

communicate w ith

one another

– Medium

• This is how the

devices are con-

nected together

– Messages

• Information that

travels over the medium

– Rules

• Governs how messages f low across netw ork

IKS

ERASMUS IP: WiCoNet IP Networking

Data Networking:Role, Components, and Challenges

� Converged networks in communications

– A type of network that can carry voice, video & data over the same network

IKS

ERASMUS IP: WiCoNet IP Networking

Network Architecture Characteristics

� Characteristics that are addressed by network

architecture design

– Fault tolerance

– Scalability

– Quality of service

– Security

ERASMUS IP Summer Course 2009: WiCoNet IP Networking Page 3

IKS

ERASMUS IP: WiCoNet IP Networking

Network Architecture Characteristics

� Packet switching helps to improve the resiliency and

fault tolerance of the Internet architecture

IKS

ERASMUS IP: WiCoNet IP Networking

Network Architecture Characteristics

� Characteristics of the Internet → Easy scaling to meet

user demand

– Hierarchical

– Common standards

– Common protocols

IKS

ERASMUS IP: WiCoNet IP Networking

Network Architecture Characteristics

� Need for Quality of Service → Mechanisms to ensure it

IKS

ERASMUS IP: WiCoNet IP Networking

Network Architecture Characteristics

� QoS mechanisms ensure quality of service for

applications that require it

IKS

ERASMUS IP: WiCoNet IP Networking

Network Architecture Characteristics

� For each type of traffic the appropriate QoS strategy

has to be chosen

IKS

ERASMUS IP: WiCoNet IP Networking

Network Architecture Characteristics

� Some networks must be secure

ERASMUS IP Summer Course 2009: WiCoNet IP Networking Page 4

IKS

ERASMUS IP: WiCoNet IP Networking

Network Architecture Characteristics

� Basic measures to secure data networks

– Ensure confidentiality through use of

• User authentication

• Data encryption

– Maintain communication integrity through use of

• Digital signatures

– Ensure availability through use of

• Firewalls

• Redundant networkarchitecture

• Hardware without a singlepoint of failure

IKS

ERASMUS IP: WiCoNet IP Networking

IP Networking - Part 2

� Fundamentals of IP Networking

�� Communicating over the NetworkCommunicating over the Network

� Application Layer Functionality and Protocols

� OSI Transport Layer

� OSI Network Layer

� Addressing the Network (IPv4)

� OSI Data Link Layer

� OSI Physical Layer

� Ethernet

� Planning and Cabling Networks

� Configuring and Testing the Network

IKS

ERASMUS IP: WiCoNet IP Networking

� 3 common elements of communication

– message source

– the channel

– message destination

� Network definition

– data or information networks capable of carrying many different types of communications

Network StructureIKS

ERASMUS IP: WiCoNet IP Networking

Network Structure

� Data is sent across a network in small “chunks” called

segments

IKS

ERASMUS IP: WiCoNet IP Networking

Network Structure

� Definition of the components of a network

– Hardware

– Software

IKS

ERASMUS IP: WiCoNet IP Networking

� End devices are the interface between human network

and communications network

� Role of end devices:

– client

– server

– bothclientandserver

Network Structure

ERASMUS IP Summer Course 2009: WiCoNet IP Networking Page 5

IKS

ERASMUS IP: WiCoNet IP Networking

� Role of an intermediary device in a data network is

different to the role of an end device

� Role of an intermediary device

– provides connectivity and ensures data flows across network

Network StructureIKS

ERASMUS IP: WiCoNet IP Networking

Network Structure

� Network media and criteria for making a network media

choice

– Network media is the channel over which a message travels

IKS

ERASMUS IP: WiCoNet IP Networking

Network Types

� Local Area Networks (LANs)

– A network serving a home, building or campus is considered a Local Area Network (LAN)

IKS

ERASMUS IP: WiCoNet IP Networking

Network Types

� Wide Area Networks (WANs)

– LANs separated by geographic distance are connected by a network known as a Wide Area Network (WAN)

� Metropolitan Area Networks (MANs)

– Interconnection of urban LANs, distances betw. LANs & MANs

IKS

ERASMUS IP: WiCoNet IP Networking

Network Types

� Internet

The internet is defined as a global mesh of interconnected networks

IKS

ERASMUS IP: WiCoNet IP Networking

Network Types

� Network representations

ERASMUS IP Summer Course 2009: WiCoNet IP Networking Page 6

IKS

ERASMUS IP: WiCoNet IP Networking

Function of Protocolin Network Communication

� The importance of protocols and how they are used to

facilitate communication over data networks

– A protocol is a set of predetermined rules

IKS

ERASMUS IP: WiCoNet IP Networking

Function of Protocolin Network Communication

� Network protocols

– are used to allow devicesto communicatesuccessfully

IKS

ERASMUS IP: WiCoNet IP Networking

� Protocol suites and industry standards

� A standard is

– a process or protocol that has been endorsed by the networking industry and ratified by a standards organization

Function of Protocolin Network Communication

IKS

ERASMUS IP: WiCoNet IP Networking

� Interaction of different protocols

Function of Protocolin Network Communication

IKS

ERASMUS IP: WiCoNet IP Networking

� Technology independent Protocols

– Many diverse types of devices can communicate using the same sets of protocols

– This is because protocols specify network functionality, not theunderlying technology to support this functionality

Function of Protocolin Network Communication

IKS

ERASMUS IP: WiCoNet IP Networking

� Benefits of using a layered model include

– assists inprotocol design

– fosterscompetition

– changes inone layer donot affectother layers

– provides acommonlanguage

Layers with TCP/IP and OSI Model

ERASMUS IP Summer Course 2009: WiCoNet IP Networking Page 7

IKS

ERASMUS IP: WiCoNet IP Networking

Layers with TCP/IP and OSI Model

� Describe TCP/IP Mode

IKS

ERASMUS IP: WiCoNet IP Networking

Layers with TCP/IP and OSI Model

� The Communication Process

IKS

ERASMUS IP: WiCoNet IP Networking

Layers with TCP/IP and OSI Model

� Protocol Data Units (PDU) and Encapsulation

IKS

ERASMUS IP: WiCoNet IP Networking

Layers with TCP/IP and OSI Model

� Process of sending and receiving messages

IKS

ERASMUS IP: WiCoNet IP Networking

Layers with TCP/IP and OSI Model

� Protocol and reference

models

– A protocol modelprovides a model that closely matches the structure of a particular protocol suite

– A reference modelprovides a common reference for maintaining consistency within all types of network protocols and services

IKS

ERASMUS IP: WiCoNet IP Networking

Layers with TCP/IP and OSI Model

� Open Systems Interconnection Model (OSI) of ISO

ERASMUS IP Summer Course 2009: WiCoNet IP Networking Page 8

IKS

ERASMUS IP: WiCoNet IP Networking

Layers with TCP/IP and OSI Model

� Comparison of OSI and TCP/IP model

IKS

ERASMUS IP: WiCoNet IP Networking

Addressing and Naming Schemes

� Labels in encapsulation headers are used to manage

communication in data networks

IKS

ERASMUS IP: WiCoNet IP Networking

Addressing and Naming Schemes

� Examples for addressing in different layers:

Layer 2: Ethernet MAC Addresses

Layer 3: IP Addresses

Layer 4: TCP/UDP Port numbers

IKS

ERASMUS IP: WiCoNet IP Networking

Addressing and Naming Schemes

� Labels in encapsulation headers are used to manage

communication in data networks

IKS

ERASMUS IP: WiCoNet IP Networking

Addressing and Naming Schemes

� Information in the encapsulation header is used to

identify the source and destination processes for data communication

IKS

ERASMUS IP: WiCoNet IP Networking

IP Networking - Part 3

� Fundamentals of IP Networking

� Communicating over the Network

�� Application Layer Functionality and ProtocolsApplication Layer Functionality and Protocols

� OSI Transport Layer

� OSI Network Layer

� Addressing the Network (IPv4)

� OSI Data Link Layer

� OSI Physical Layer

� Ethernet

� Planning and Cabling Networks

� Configuring and Testing the Network

ERASMUS IP Summer Course 2009: WiCoNet IP Networking Page 9

IKS

ERASMUS IP: WiCoNet IP Networking

� Applications provide the means for generating and receiving data

that can be transported on the network

Applications – The Interfacebetween Human and Data Networks

IKS

ERASMUS IP: WiCoNet IP Networking

� Applications, services and protocols work together in convertingcommunication to data that can be transferred across the data network

Applications – The Interfacebetween Human and Data Networks

IKS

ERASMUS IP: WiCoNet IP Networking

� Applications, services and protocols play different roles in transporting data through networks

Applications – The Interfacebetween Human and Data Networks

IKS

ERASMUS IP: WiCoNet IP Networking

� Networking Protocols are able to identify several message properties that can be defined by a protocol

Applications – The Interfacebetween Human and Data Networks

IKS

ERASMUS IP: WiCoNet IP Networking

� Client and server processes have different tasks in data networks

The Role of Protocols inSupporting Communication

IKS

ERASMUS IP: WiCoNet IP Networking

� Examples of Application Layers services and protocols

The Role of Protocols inSupporting Communication

ERASMUS IP Summer Course 2009: WiCoNet IP Networking Page 10

IKS

ERASMUS IP: WiCoNet IP Networking

� Different behaviors of client server networking compared with peer-to-peer networking and peer-to-peer applications

The Role of Protocols inSupporting Communication

IKS

ERASMUS IP: WiCoNet IP Networking

� DNS protocol

Support of DNS services

Features, Operation, and Use of TCP/IP Application Layer Services

IKS

ERASMUS IP: WiCoNet IP Networking

� HTTP protocol

Supports delivery of w eb pages to the client

Features, Operation, and Use of TCP/IP Application Layer Services

IKS

ERASMUS IP: WiCoNet IP Networking

� POP and SMTP protocols

Support of e-mail services

Features, Operation, and Use of TCP/IP Application Layer Services

IKS

ERASMUS IP: WiCoNet IP Networking

� Telnet protocol

used for examining and managing netw orks

Features, Operation, and Use of TCP/IP Application Layer Services

IKS

ERASMUS IP: WiCoNet IP Networking

� SMB protocol

File shar ing in Microsoft-based netw orks

Features, Operation, and Use of TCP/IP Application Layer Services

ERASMUS IP Summer Course 2009: WiCoNet IP Networking Page 11

IKS

ERASMUS IP: WiCoNet IP Networking

� Gnutella protocol

supporting P2P services

Features, Operation, and Use of TCP/IP Application Layer Services

IKS

ERASMUS IP: WiCoNet IP Networking

IP Networking - Part 4

� Fundamentals of IP Networking

� Communicating over the Network

� Application Layer Functionality and Protocols

�� OSI Transport LayerOSI Transport Layer

� OSI Network Layer

� Addressing the Network (IPv4)

� OSI Data Link Layer

� OSI Physical Layer

� Ethernet

� Planning and Cabling Networks

� Configuring and Testing the Network

IKS

ERASMUS IP: WiCoNet IP Networking

Transport Layer Role and Services

� Transport layer

IKS

ERASMUS IP: WiCoNet IP Networking

Transport Layer Role and Services

� Major functions of the transport layer and the role it

plays in data networks

IKS

ERASMUS IP: WiCoNet IP Networking

Transport Layer Role and Services

� Supporting Reliable Communication

IKS

ERASMUS IP: WiCoNet IP Networking

Transport Layer Role and Services

� Basic characteristics of the UDP and TCP protocols

ERASMUS IP Summer Course 2009: WiCoNet IP Networking Page 12

IKS

ERASMUS IP: WiCoNet IP Networking

Transport Layer Role and Services

� Representation of port number

Description of port numbers in the TCP and UDP protocols

IKS

ERASMUS IP: WiCoNet IP Networking

Transport Layer Role and Services

� The role of segments in the transport layer

two principle ways segments can be marked for reassembly

IKS

ERASMUS IP: WiCoNet IP Networking

Application and Operationof TCP Mechanisms

� TCP reliability mechanism working as part of a session

IKS

ERASMUS IP: WiCoNet IP Networking

Application and Operationof TCP Mechanisms

� Port numbers

Establishment of TCP sessions and directing segments to server process

IKS

ERASMUS IP: WiCoNet IP Networking

Application and Operationof TCP Mechanisms

� Handshaking during establishment of TCP sessions

IKS

ERASMUS IP: WiCoNet IP Networking

Application and Operationof TCP Mechanisms

� Handshake in the termination of TCP sessions

ERASMUS IP Summer Course 2009: WiCoNet IP Networking Page 13

IKS

ERASMUS IP: WiCoNet IP Networking

Managing TCP Sessions

� TCP sequence numbers are used to reconstruct the

data stream with segments placed in the correct order

IKS

ERASMUS IP: WiCoNet IP Networking

Managing TCP Sessions

� Usage of TCP sequence and acknowledgement numbers

for management of exchanges in a conversation

IKS

ERASMUS IP: WiCoNet IP Networking

Managing TCP Sessions

� Retransmission remedy for lost data employed by TCP

IKS

ERASMUS IP: WiCoNet IP Networking

Managing TCP Sessions

� Mechanisms in TCP are managing the interrelationship

between window size, data loss and congestion during a session

IKS

ERASMUS IP: WiCoNet IP Networking

UDP Protocol

� Characteristics of the UDP protocol

types of communication for which it is best suited

IKS

ERASMUS IP: WiCoNet IP Networking

UDP Protocol

� The process specified by the UDP protocol to

reassemble PDUs at the destination device

ERASMUS IP Summer Course 2009: WiCoNet IP Networking Page 14

IKS

ERASMUS IP: WiCoNet IP Networking

UDP Protocol

� Servers are using port numbers to identify a specified

application layer process

directing segments to the proper service or application

IKS

ERASMUS IP: WiCoNet IP Networking

UDP Protocol

� UDP protocol and port numbers are utilized in client-

server communication.

IKS

ERASMUS IP: WiCoNet IP Networking

IP Networking - Part 5

� Fundamentals of IP Networking

� Communicating over the Network

� Application Layer Functionality and Protocols

� OSI Transport Layer

�� OSI Network LayerOSI Network Layer

� Addressing the Network (IPv4)

� OSI Data Link Layer

� OSI Physical Layer

� Ethernet

� Planning and Cabling Networks

� Configuring and Testing the Network

IKS

ERASMUS IP: WiCoNet IP Networking

Network Layer Protocolsand Internet Protocol (IP)

� Tasks of the Network Layer in data networks

IKS

ERASMUS IP: WiCoNet IP Networking

Network Layer Protocolsand Internet Protocol (IP)

� Basic characteristics and the role of the IPv4 protocol

IKS

ERASMUS IP: WiCoNet IP Networking

Network Layer Protocolsand Internet Protocol (IP)

� Implications for using the IP protocol: connectionless

ERASMUS IP Summer Course 2009: WiCoNet IP Networking Page 15

IKS

ERASMUS IP: WiCoNet IP Networking

Network Layer Protocolsand Internet Protocol (IP)

� Implications for using the IP protocol: unreliable delivery

IKS

ERASMUS IP: WiCoNet IP Networking

Network Layer Protocolsand Internet Protocol (IP)

� Implications for using the IP protocol: media independence

IKS

ERASMUS IP: WiCoNet IP Networking

Network Layer Protocolsand Internet Protocol (IP)

� Framing in the Transport Layer

segments are encapsulated as packets

IKS

ERASMUS IP: WiCoNet IP Networking

Network Layer Protocolsand Internet Protocol (IP)

� Major header fields in the IPv4 protocol

Role of each field in transporting packets

IKS

ERASMUS IP: WiCoNet IP Networking

Grouping Devices into Networksand Hierarchical Addressing

� There can be different reasons for grouping devices

into sub-networks

IKS

ERASMUS IP: WiCoNet IP Networking

Grouping Devices into Networksand Hierarchical Addressing

� Dividing a large network can increase network

performance

ERASMUS IP Summer Course 2009: WiCoNet IP Networking Page 16

IKS

ERASMUS IP: WiCoNet IP Networking

Grouping Devices into Networksand Hierarchical Addressing

� Dividing a large network can increase network security

IKS

ERASMUS IP: WiCoNet IP Networking

Grouping Devices into Networksand Hierarchical Addressing

� Communication problems can emerge when very large

numbers of devices are included in one large network

IKS

ERASMUS IP: WiCoNet IP Networking

Grouping Devices into Networksand Hierarchical Addressing

� Hierarchical addressing solves the problem of devices

communicating across networks of networks

IKS

ERASMUS IP: WiCoNet IP Networking

Grouping Devices into Networksand Hierarchical Addressing

� Further subdividing networks into smaller networks

IKS

ERASMUS IP: WiCoNet IP Networking

Fundamentals of Routes, Next Hop Addresses and Packet Forwarding

� Intermediary gateway device

allowing devices to communicate across sub-divided networks

IKS

ERASMUS IP: WiCoNet IP Networking

Fundamentals of Routes, Next Hop Addresses and Packet Forwarding

� IP packets are traversing unchanged via routers from

sub network to sub-network

ERASMUS IP Summer Course 2009: WiCoNet IP Networking Page 17

IKS

ERASMUS IP: WiCoNet IP Networking

Fundamentals of Routes, Next Hop Addresses and Packet Forwarding

� Gateway are using a simple route table in directing

packets toward their ultimate destinations

IKS

ERASMUS IP: WiCoNet IP Networking

Fundamentals of Routes, Next Hop Addresses and Packet Forwarding

� Definition of a route and its three key parts

IKS

ERASMUS IP: WiCoNet IP Networking

Fundamentals of Routes, Next Hop Addresses and Packet Forwarding

� The purpose and use of the destination network in a

route

IKS

ERASMUS IP: WiCoNet IP Networking

Fundamentals of Routes, Next Hop Addresses and Packet Forwarding

� The purpose and use of the next hop in a route

IKS

ERASMUS IP: WiCoNet IP Networking

Fundamentals of Routes, Next Hop Addresses and Packet Forwarding

� Example: several IP packets are routed through several

gateways from devices on one sub network to devices on other sub networks

IKS

ERASMUS IP: WiCoNet IP Networking

Fundamentals of Routes, Next Hop Addresses and Packet Forwarding

� Routing protocols

needed for both static and dynamic routes

ERASMUS IP Summer Course 2009: WiCoNet IP Networking Page 18

IKS

ERASMUS IP: WiCoNet IP Networking

Fundamentals of Routes, Next Hop Addresses and Packet Forwarding

� Routes can be manually configured to build routing table

IKS

ERASMUS IP: WiCoNet IP Networking

Fundamentals of Routes, Next Hop Addresses and Packet Forwarding

� Routing protocols allow automatic learning of routes

→ Continuous update of the routing table

– updated routes

– new networks (hosts)

– new (redundant) routes for already known networks (hosts)

– routes to be deleted

� Examples for routing protocols

– RIP (Routing Information Protocol)

– IGRP and EIGRP (CISCO proprietary)

– OSPF (Open Shortest Path First)

– BGP (Border Gateway Protocol)

– IS-IS (Intermediate System - Intermediate System)

IKS

ERASMUS IP: WiCoNet IP Networking

IP Networking - Part 6

� Fundamentals of IP Networking

� Communicating over the Network

� Application Layer Functionality and Protocols

� OSI Transport Layer

� OSI Network Layer

�� Addressing the Network (IPv4)Addressing the Network (IPv4)

� OSI Data Link Layer

� OSI Physical Layer

� Ethernet

� Planing and Cabling Networks

� Configuring and Testing the Network

IKS

ERASMUS IP: WiCoNet IP Networking

IP Addressing Structure

� Dotted decimal structure of a binary IP address

8-bit binary in network addressing and Convertion to decimal

IKS

ERASMUS IP: WiCoNet IP Networking

IP Addressing Structure

� Converting 8-bit binary to decimal

IKS

ERASMUS IP: WiCoNet IP Networking

IP Addressing Structure

� Converting decimal to 8-bit binary

ERASMUS IP Summer Course 2009: WiCoNet IP Networking Page 19

IKS

ERASMUS IP: WiCoNet IP Networking

Classification of IPv4 Addresses

� 3 types of addresses in the network

IKS

ERASMUS IP: WiCoNet IP Networking

Types of Communicationin the Network Layer

� Characteristics of the 3 types of communication

IKS

ERASMUS IP: WiCoNet IP Networking

Reserved IPv4 Address RangesIKS

ERASMUS IP: WiCoNet IP Networking

Public and Private Addresses

IKS

ERASMUS IP: WiCoNet IP Networking

Historic IPv4 Address AssignmentIKS

ERASMUS IP: WiCoNet IP Networking

Assigning Addresses to Hosts

� End user devices can obtain addresses either statically

through an administrator or dynamically through DHCP

ERASMUS IP Summer Course 2009: WiCoNet IP Networking Page 20

IKS

ERASMUS IP: WiCoNet IP Networking

Assigning Addressesto Special Devices

IKS

ERASMUS IP: WiCoNet IP Networking

Assignment of Public IPv4 Addresses

� Regional agencies manage IP address registries via ISPs

– ISPs are further providing Internet connectivity

IKS

ERASMUS IP: WiCoNet IP Networking

IPv6 Addresses

� Need for migration from IPv4 to IPv6

IKS

ERASMUS IP: WiCoNet IP Networking

Subnetting (IPv4)

IKS

ERASMUS IP: WiCoNet IP Networking

Testing the Network Layerwith PING command

� Ping command is checking operability of IP protocol

– on a local host: ping 127.0.0.1

– between a local host and agateway across a LAN

– between a local host and agateway to a devicein remote network

IKS

ERASMUS IP: WiCoNet IP Networking

Testing the Network Layerwith TRACEROUTE

� Observation of the path between two talking devices

ERASMUS IP Summer Course 2009: WiCoNet IP Networking Page 21

IKS

ERASMUS IP: WiCoNet IP Networking

IP Networking - Part 7

� Fundamentals of IP Networking

� Communicating over the Network

� Application Layer Functionality and Protocols

� OSI Transport Layer

� OSI Network Layer

� Addressing the Network (IPv4)

�� OSI Data Link LayerOSI Data Link Layer

� OSI Physical Layer

� Ethernet

� Planing and Cabling Networks

� Configuring and Testing the Network

IKS

ERASMUS IP: WiCoNet IP Networking

Data Link Layer Services

� Preparing communication for transmission on specific

media

IKS

ERASMUS IP: WiCoNet IP Networking

Data Link Layer ProtocolsControl of Media Access

IKS

ERASMUS IP: WiCoNet IP Networking

Data Link Layer Framing

� Preparing a packet for transmission on a given media

IKS

ERASMUS IP: WiCoNet IP Networking

Hardware and Software LayersIKS

ERASMUS IP: WiCoNet IP Networking

Protocols and Standards used

ERASMUS IP Summer Course 2009: WiCoNet IP Networking Page 22

IKS

ERASMUS IP: WiCoNet IP Networking

Media Access Control (MAC) Techniques for Shared Media

� Necessary to avoid collisions

– added overhead should be minimized

� Two media access control methods for shared media

– controlled access vs. contention-based access

IKS

ERASMUS IP: WiCoNet IP Networking

Media Access Control (MAC)Techniques for Non-shared Media

� Full Duplex and Half Duplex

IKS

ERASMUS IP: WiCoNet IP Networking

Logical TopologyIKS

ERASMUS IP: WiCoNet IP Networking

MAC Addressing and Framing

� Packets are encapsulating into frames to facilitate the

entry and exit of data on media

IKS

ERASMUS IP: WiCoNet IP Networking

MAC Addressing: Header and Trailer

Trailer is very important on "non-reliable" media

IKS

ERASMUS IP: WiCoNet IP Networking

MAC Addressing not always needed

ERASMUS IP Summer Course 2009: WiCoNet IP Networking Page 23

IKS

ERASMUS IP: WiCoNet IP Networking

IP Networking - Part 8

� Fundamentals of IP Networking

� Communicating over the Network

� Application Layer Functionality and Protocols

� OSI Transport Layer

� OSI Network Layer

� Addressing the Network (IPv4)

� OSI Data Link Layer

�� OSI Physical LayerOSI Physical Layer

� Ethernet

� Planing and Cabling Networks

� Configuring and Testing the Network

IKS

ERASMUS IP: WiCoNet IP Networking

Physical Layer Protocols & Services

IKS

ERASMUS IP: WiCoNet IP Networking

Frames are represented by Bits

� during transport across the local media

IKS

ERASMUS IP: WiCoNet IP Networking

Signals on Physical Layer

IKS

ERASMUS IP: WiCoNet IP Networking

Physical Layer StandardizationIKS

ERASMUS IP: WiCoNet IP Networking

Physical LayerSignaling and Encoding

ERASMUS IP Summer Course 2009: WiCoNet IP Networking Page 24

IKS

ERASMUS IP: WiCoNet IP Networking

Physical Layer Encoding

� Transmission of bits, treating a collection of bits as a code

IKS

ERASMUS IP: WiCoNet IP Networking

Bandwidth, Throughput, and Goodput

IKS

ERASMUS IP: WiCoNet IP Networking

Characteristics of Ethernet Media IKS

ERASMUS IP: WiCoNet IP Networking

Impact of Interference

� Proper cabling reduces interference

IKS

ERASMUS IP: WiCoNet IP Networking

Characteristics of Network Media

� Basic characteristics of UTP cable

IKS

ERASMUS IP: WiCoNet IP Networking

Wireless Network Media

� Security in wireless communications

ERASMUS IP Summer Course 2009: WiCoNet IP Networking Page 25

IKS

ERASMUS IP: WiCoNet IP Networking

IP Networking - Part 9

� Fundamentals of IP Networking

� Communicating over the Network

� Application Layer Functionality and Protocols

� OSI Transport Layer

� OSI Network Layer

� Addressing the Network (IPv4)

� OSI Data Link Layer

� OSI Physical Layer

�� EthernetEthernet

� Planing and Cabling Networks

� Configuring and Testing the Network

IKS

ERASMUS IP: WiCoNet IP Networking

Characteristics ofEthernet Network Media

� The evolution of Ethernet: Topology and Standardization

(IEEE 802.3)

� Hub / Repeater:

electricalSignalRegeneration

increasedDistances

IKS

ERASMUS IP: WiCoNet IP Networking

Introduction of LAN Switches

� Key innovation for managing collisions on Ethernet-

based networks

� Bridge / Switch:

Point-to-Point links

Reduction of thenetwork load

Deletion ofcorrupted frames

IKS

ERASMUS IP: WiCoNet IP Networking

State-of-the-art Ethernet

� Fiber optical and Twisted Pair cabling

point-to-point topography

large distances

bandwidths upto 10 Gbit/s

IKS

ERASMUS IP: WiCoNet IP Networking

Standards and ImplementationIKS

ERASMUS IP: WiCoNet IP Networking

Characteristics of Ethernetin first 2 OSI Layers

ERASMUS IP Summer Course 2009: WiCoNet IP Networking Page 26

IKS

ERASMUS IP: WiCoNet IP Networking

Media Access Control (MAC) and Logic Link Control (LLC) Sublayer

Logic Link Control Sublayer

IKS

ERASMUS IP: WiCoNet IP Networking

Physical Implementations

IKS

ERASMUS IP: WiCoNet IP Networking

Media Access Control Method

� Function of MAC in Ethernet

IKS

ERASMUS IP: WiCoNet IP Networking

Ethernet Timing

IKS

ERASMUS IP: WiCoNet IP Networking

Layer 2 Addressing

� The Frame – Encapsulating the Packet

IKS

ERASMUS IP: WiCoNet IP Networking

� Comparing Layer 2 and Layer 3 Addressing

Layer 2 Addressing

ERASMUS IP Summer Course 2009: WiCoNet IP Networking Page 27

IKS

ERASMUS IP: WiCoNet IP Networking

� Ethernet Unicast, Multicast and Broadcast

Layer 2 AddressingIKS

ERASMUS IP: WiCoNet IP Networking

Legacy Ethernet using Hubs

IKS

ERASMUS IP: WiCoNet IP Networking

Ethernet using SwitchesIKS

ERASMUS IP: WiCoNet IP Networking

Address Resolution Protocol (ARP)

� Mapping IP to MAC Addresses

IKS

ERASMUS IP: WiCoNet IP Networking

Address Resolution Protocol (ARP)

� ARP process

– ARP entry enables a frame to be sent

– Destinations Outside the Local Network

– Removing Address Mappings

– Broadcast issues (overhead / flood on the media)

– Security issues (spoofing)

IKS

ERASMUS IP: WiCoNet IP Networking

IP Networking - Part 10

� Fundamentals of IP Networking

� Communicating over the Network

� Application Layer Functionality and Protocols

� OSI Transport Layer

� OSI Network Layer

� Addressing the Network (IPv4)

� OSI Data Link Layer

� OSI Physical Layer

� Ethernet

�� PlaningPlaning and Cabling Networksand Cabling Networks

� Configuring and Testing the Network

ERASMUS IP Summer Course 2009: WiCoNet IP Networking Page 28

IKS

ERASMUS IP: WiCoNet IP Networking

Requirements for LAN Planning

� Selection of the appropriate hardware and LAN cabling

� Key aspects for devices

– cost

– ports

– speed

– expandable / modular

– managable

� type of cabling

– horizontal, backbone, patch cable

– for intermediate or end devices

IKS

ERASMUS IP: WiCoNet IP Networking

Switches and Redundancy

IKS

ERASMUS IP: WiCoNet IP Networking

Pinout for Connectors

� depending on straight-through or cross-over cabling

IKS

ERASMUS IP: WiCoNet IP Networking

Types of Connections in a LAN

� WAN connections differ from LAN connections

� Device management connections

IKS

ERASMUS IP: WiCoNet IP Networking

Design an Addressing Schemefor an Inter-network

� Assign ranges for hosts, network devices and the router

interface

IKS

ERASMUS IP: WiCoNet IP Networking

Calculate the Address Rangesfor Subnetworks

ERASMUS IP Summer Course 2009: WiCoNet IP Networking Page 29

IKS

ERASMUS IP: WiCoNet IP Networking

IP Networking - Part 11

� Fundamentals of IP Networking

� Communicating over the Network

� Application Layer Functionality and Protocols

� OSI Transport Layer

� OSI Network Layer

� Addressing the Network (IPv4)

� OSI Data Link Layer

� OSI Physical Layer

� Ethernet

� Planing and Cabling Networks

�� Configuring and Testing the NetworkConfiguring and Testing the Network

IKS

ERASMUS IP: WiCoNet IP Networking

Internetwork Operating System (IOS)

� wide usage for professional network devices providing

– Security

– Addressing

– Interfaces

– Routing

– QoS

– ManagingResources

IKS

ERASMUS IP: WiCoNet IP Networking

IOS Startup and Running ConfigIKS

ERASMUS IP: WiCoNet IP Networking

IOS Mode Hierarchical Structure

IKS

ERASMUS IP: WiCoNet IP Networking

Identification of IOS ModesIKS

ERASMUS IP: WiCoNet IP Networking

Basic IOS Command Structure

� Help, feedback and shortcuts are available in different IOS modes

ERASMUS IP Summer Course 2009: WiCoNet IP Networking Page 30

IKS

ERASMUS IP: WiCoNet IP Networking

Variants of IOS Show commandIKS

ERASMUS IP: WiCoNet IP Networking

Command Line Interface (CLI)

� Accessing various IOS configuration modes using CLI

IKS

ERASMUS IP: WiCoNet IP Networking

Basic Device Configuration

� Naming of devices is essential to avoid confusions

� Namingconventions

IKS

ERASMUS IP: WiCoNet IP Networking

Restricted Access with Passwords

� Virtual Terminal Password

� Enable Password

� Enable Secret Password

IKS

ERASMUS IP: WiCoNet IP Networking

IOS Startup Config

� Examine the startup config, make changes to config,

and replace the startup config with the running config

IKS

ERASMUS IP: WiCoNet IP Networking

Router Interfaces

� Multiple interfaces necessary (LAN, WAN)

– Assign interface descriptions

ERASMUS IP Summer Course 2009: WiCoNet IP Networking Page 31

IKS

ERASMUS IP: WiCoNet IP Networking

Configuring Router InterfacesIKS

ERASMUS IP: WiCoNet IP Networking

Host Addressing Parameters

� Master addressing scheme → assigning IP parameters

to a host

� Select, Apply, andVerify AppropriateAddressingParametersto a Host

– Ipconfig

– Ping

– Show ip int

– Traceroute

IKS

ERASMUS IP: WiCoNet IP Networking

Verification of Connectivity

� Ping command in

the CLI to test:

– if IP protocolis operational

– if IP protocol isproperly boundto a NIC

– if a host canactivelycommunicate across the local network

– if the local host can communicate acrossthe internetwork to a given remote host

– measure relative network performance by regularly checks

IKS

ERASMUS IP: WiCoNet IP Networking

Further Verification and Tests

� Traceroute: step by step connectivity tests

� Address Resolution Protocol (ARP)

verifying the knowledge of the physical addresses of the hosts

IKS

ERASMUS IP: WiCoNet IP Networking

Thank you very much for your kind attention !

Have an interesting ERASMUS IP Summer Course !

End