Introduction to Networking (Routing & Switching)

Slides:



Advertisements
Similar presentations
1 © 2004, Cisco Systems, Inc. All rights reserved. Chapter 3 Ethernet Technologies/ Ethernet Switching/ TCP/IP Protocol Suite and IP Addressing.
Advertisements

Cisco 3 - Switch Perrine. J Page 15/8/2015 Chapter 8 What happens to the member ports of a VLAN when the VLAN is deleted? 1.They become inactive. 2.They.
Routing Basics By Craig Lindstrom. Overview Routing Process Routing Process Default Routing Default Routing Static Routing Static Routing Dynamic Routing.
© 2006 Cisco Systems, Inc. All rights reserved. ICND v2.3—3-1 Determining IP Routes Introducing Routing.
Mod 10 – Routing Protocols
1 Fall 2005 Internetworking: Concepts, Architecture and TCP/IP Layering Qutaibah Malluhi CSE Department Qatar University.
CCNA 2 v3.1 Module 6.
Routing Fundamentals and Subnetting
Extending Networks. Three Levels of Extension Physical Layer –Repeaters Link Layer –Bridges –Switches Network –Routers: “Connecting networks”
Routing and Routing Protocols
CS335 Networking & Network Administration Tuesday, April 20, 2010.
IP Routing: an Introduction. Quiz
1 © 2003, Cisco Systems, Inc. All rights reserved. CCNA 1 v3.0 Module 10 Routing Fundamentals and Subnets.
© 2009 Cisco Systems, Inc. All rights reserved. ROUTE v1.0—6-1 Connecting an Enterprise Network to an ISP Network Considering the Advantages of Using BGP.
Institute of Technology Sligo - Dept of Computing Chapter 11 Layer 3 Protocols Paul Flynn.
1 25\10\2010 Unit-V Connecting LANs Unit – 5 Connecting DevicesConnecting Devices Backbone NetworksBackbone Networks Virtual LANsVirtual LANs.
© 2007 Cisco Systems, Inc. All rights reserved.ICND1 v1.0—4-1 LAN Connections Exploring the Functions of Routing.
Routing ROUTING. Router A router is a device that determines the next network point to which a packet should be forwarded toward its destination Allow.
1 Semester 2 Module 6 Routing and Routing Protocols YuDa college of business James Chen
LOGO Local Area Network (LAN) Layer 2 Switching and Virtual LANs (VLANs) Local Area Network (LAN) Layer 2 Switching and Virtual LANs (VLANs) Chapter 6.
Network Layer (Part IV). Overview A router is a type of internetworking device that passes data packets between networks based on Layer 3 addresses. A.
Connecting Networks © 2004 Cisco Systems, Inc. All rights reserved. Exploring How Routing Works INTRO v2.0—4-1.
Each computer and router interface maintains an ARP table for Layer 2 communication The ARP table is only effective for the broadcast domain (or LAN)
Routing and Routing Protocols Routing Protocols Overview.
1 Introducing Routing 1. Dynamic routing - information is learned from other routers, and routing protocols adjust routes automatically. 2. Static routing.
1 © 2003, Cisco Systems, Inc. All rights reserved. CCNA 2 Module 6 Routing and Routing Protocols.
1 © 2004, Cisco Systems, Inc. All rights reserved. CCNA 2 v3.1 Module 6 Routing and Routing Protocols.
Review Routing fundamental W.lilakiatsakun. Review Routing Fundamental VLSM VLSM Route Summarization Route Summarization Static & Dynamic Routing Static.
Network Admin Course Plan Accede Institute Of Science & Technology.
Cisco – Chapter 11 Routers All You Ever Wanted To Know But Were Afraid to Ask.
Repeaters and Hubs Repeaters: simplest type of connectivity devices that regenerate a digital signal Operate in Physical layer Cannot improve or correct.
Cisco – S1C10 Routers All You Ever Wanted To Know But Were Afraid to Ask.
Objectives: Chapter 5: Network/Internet Layer  How Networks are connected Network/Internet Layer Routed Protocols Routing Protocols Autonomous Systems.
 Network Segments  NICs  Repeaters  Hubs  Bridges  Switches  Routers and Brouters  Gateways 2.
The Saigon CTT Semester 1 CHAPTER 11 Le Chi Trung.
11 NETWORK LAYER PROTOCOLS Chapter 5 IP IPX NetBEUI AppleTalk.
Interior Gateway Protocol. Introduction An IGP (Interior Gateway Protocol) is a protocol for exchanging routing information between gateways (hosts with.
Routing ROUTING Presented by Aditya Kumar Gupta Lecturer, Department of Computer Application SMS Varanasi.
© Wiley Inc All Rights Reserved. CCNA: Cisco Certified Network Associate Study Guide CHAPTER 5: IP Routing.
© 2002, Cisco Systems, Inc. All rights reserved..
© 2002, Cisco Systems, Inc. All rights reserved. 1 Determining IP Routes.
1 Network Layer Lecture 13 Imran Ahmed University of Management & Technology.
CCNA 1 v3.0 Module 9 TCP/IP Protocol Suite and IP Addressing.
CCNA 2 Week 6 Routing Protocols. Copyright © 2005 University of Bolton Topics Static Routing Dynamic Routing Routing Protocols Overview.
© 2002, Cisco Systems, Inc. All rights reserved. 1 Routing Overview.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public ITE PC v4.0 Chapter 1 1 Introduction to Dynamic Routing Protocol Routing Protocols and Concepts.
CCNA 1 v3.0 Module 10 Routing Fundamentals and Subnets.
CCNA 1 v3.0 Module 9 TCP/IP Protocol Suite and IP Addressing
McGraw-Hill©The McGraw-Hill Companies, Inc., 2004 Connecting Devices CORPORATE INSTITUTE OF SCIENCE & TECHNOLOGY, BHOPAL Department of Electronics and.
Routing Fundamentals and Subnets Introduction to IT and Communications Technology CE
Routing protocols. Static Routing Routes to destinations are set up manually Route may be up or down but static routes will remain in the routing tables.
IP Routing Principles. Network-Layer Protocol Operations Each router provides network layer (routing) services X Y A B C Application Presentation Session.
Switching Topic 2 VLANs.
1 © 2003, Cisco Systems, Inc. All rights reserved. CCNA 3 v3.0 Module 7 Spanning Tree Protocol.
1 © 2003, Cisco Systems, Inc. All rights reserved. CCNA 1 v3.0 Module 10 Routing Fundamentals and Subnets.
© 2002, Cisco Systems, Inc. All rights reserved..
CTC 228 – Computer Networks Fall 2015 Instructor: Robert Spengler.
1 © 2004, Cisco Systems, Inc. All rights reserved. CCNA 1 Module 10 Routing Fundamentals and Subnets.
Cisco Confidential © 2013 Cisco and/or its affiliates. All rights reserved. 1 Cisco Networking Training (CCENT/CCT/CCNA R&S) Rick Rowe Ron Giannetti.
Voice Over Internet Protocol (VoIP) Copyright © 2006 Heathkit Company, Inc. All Rights Reserved Presentation 5 – VoIP and the OSI Model.
Networking and Health Information Exchange Unit 1b ISO Open Systems Interconnection (OSI) Component 9/Unit 1b1 Health IT Workforce Curriculum Version 1.0/Fall.
Release 16/7/2009 Internetworking Devices Chapter 10 Jetking Infotrain Ltd.
1 Layer 3: Protocols Honolulu Community College Cisco Academy Training Center Semester 1 Version
VCC Semester 1 CHAPTER 11. VCC  Content Layer 3 Devices ARP concept Network layer services Routed and routing protocols Protocol analyzer.
1 Computer Networks Chapter 5. Network layer The network layer is concerned with getting packets from the source all the way to the destination. Getting.
COMPUTER NETWORKS CS610 Lecture-45 Hammad Khalid Khan.
ISO/OSI Model and Collision Domain
Chapter 4: Routing Concepts
CCNA 2 v3.1 Module 6 Routing and Routing Protocols
Routing Fundamentals and Subnets
Presentation transcript:

Introduction to Networking (Routing & Switching) Nir Ingbar

Agenda OSI 7 Layers model Layer 1 & 2 Frame forwarding & filtering VLAN, dot1Q Trunking IP Routing

OSI 7 Layers model (1977 by ISO)

OSI Model Layer’s definitions Each OSI layer performs unique and specific task A layer only has a knowledge of its adjacent layers A layer uses the services of a layer below A layer performs functions and provides service to the layer above A layer service is independent of its implementation Application Presentation Session Transport Network Data Link Physical

OSI Model Layers Physical: Electrically encodes and physically transfers messages between nodes Data Link: Provides reliable transit of data across a physical link, handling physical addressing, link discipline, error detection, ordered delivery of frames and flow control Network: Provides connectivity and path selection between two end systems that may be located on geographically diverse sub-networks Transport: End- to- end control & information exchange with a level of reliability required for the applications

OSI Model Layers (cont.) Session: Manages the connection between cooperating applications Presentation: Transforms data to and from negotiated standardized formats Application: Provides the window between the application process and OSI

* FCS (Frame Check Sequence) Data encapsulation Data Application Application Data Presentation Presentation SH Data Unit Session Session TH Data Unit Transport Transport NH Data Unit Network Network DLH Data Unit FCS Data Link Data Link Bits Physical Physical * FCS (Frame Check Sequence)

Internetworking Devices Application Application Presentation Presentation Session Session Transport Transport Network Router Network Data Link Switch/Bridge Data Link Physical Hub/Repeater Physical

Ethernet, Token Ring, FDDI, Protocol Suite Application Telnet FTP SMTP TFTP BOOTP SNMP Presentation Session Transport TCP UDP Network IP ICMP ARP Data Link Ethernet, Token Ring, FDDI, WAN synchronous Physical

Layer 1 & 2

Device Types Hub - multi port repeater, provide connectivity, allowing attached devices a path between which they can communicate, works on layer one Switch – connecting hosts Bridge – connecting networks, can’t identify different logical networks

Bridge vs. Switch Bridge usually have two interfaces and can connect to physical networks Switches usually have more than that The main difference between a switch and bridge is the number of networks each can connect Switches are often aimed to connect workstations in a single junction Both are used inside LAN Both operates on layers one and two

Collision Domain one of the logical network segments in which the data packets can collide to each other Collision domains are often referred as ‘Ethernet segments'. defined as a single CSMA/CD network segment in which there will be a collision if two computers attached to the system both transmit at the same time A collision occurs when two or more network devices are trying to transmit packets at the exact same time

Collision domain - example

Collision domain - example

Type Of Transmission Unicast - unicast transmission is the sending of information packets to a single destination Broadcast - broadcasting refers to transmitting a packet that will be received (conceptually) by every device on the broadcast domain Multicast - multicast is a network addressing method for the delivery of information to a group of destinations simultaneously Anycast – like multicast but only one address of a set of addresses is chosen at any given time to receive information from any given sender

MAC Address 48 bits (6 octets) address space representing an unique identifier to most network adapters or network interface cards (NIC) The first three octets identify the organization that issued the identifier and are known as the Organizationally Unique Identifier (OUI) 00-16-D3-C4-55-6A

Broadcast Domain represents the systems to which a given broadcast will travel broadcasts do not pass routers by default If one station will broadcast, all the stations in this domain will get the message If a station wants to send a message out of the LAN, it will have to know it’s Default Gateway

Broadcast domain – simple example

Collision domain- problem

One switch can be a Single Point Of Failure Adding an additional Switch can create broadcast storm.

Solution: STP – Spanning tree Protocol On running this algorithm the LAN is reduced to an acyclic tree The main idea of the Spanning Tree is for the bridges to select the ports over which they will forward frames

Spanning Tree Protocol Spanning tree is designed to prevent loops in bridged/switched Ethernet network based on the root bridge concept, which is selected via programmable parameters L4 L3 Actual Network L2 L5 L1 B1 B4 B3 B5 B2 With Spanning Tree B5 B3 L2 L1 L3 L4 L5 B1 B2 B4 X

Frame forwarding & filtering

Frame forwarding & filtering The initial MAC address is empty

Frame forwarding & filtering (cont.) Station A sends a frame to station C The switch caches the MAC address of station A to port E0 by learning the source address of data frames The frame from station A to station C is flooded out to all ports except port E0

Frame forwarding & filtering (cont.) Station D sends a frame to station C The switch caches the MAC address of station D to port E3 by learning the source address of data frames The frame from station D to station C is flooded out to all ports except port E3

Frame forwarding & filtering (cont.) Station A sends a frame to station C The destination is known; the frame is not flooded

VLAN, dot1Q Trunking

VLAN, dot1Q Trunking 802.1Q Frame FCS (Frame Check Sequence) is recalculated

Importance of native VLANs VLAN 1 untagged traffic (native VLAN) An 802.1Q trunk and its associated trunk ports have a native VLAN value. 802.1Q does not tag frames for native VLAN. Therefore, ordinary stations will be able to read the native untagged frames, but will not be able to read any other frame because the frames are tagged

IP

Relies on a transport protocol to guaranty delivery Internet Protocol - IP Network Layer Provides network layer services to TCP/IP protocol suite Responsible for forwarding packets through network based on IP addresses “Best effort” delivery Connectionless Unacknowledged Relies on a transport protocol to guaranty delivery

IPv4 Addressing Address format: XXX.XXX.XXX.XXX (0≤XXX≤255) Addresses are 32 bits long (4,294,967,296 IP addresses) Internet Assigned Numbers Authority (IANA) assigns IP addresses for the Internet Divided into five classes three of which are available to end-user networks Consists Network and Host identification fields

Available IP Addresses Class Assigned Network/ /Host ID Range of Network IDs Max. Hosts Per Network A /8 NET.X.X.X 1 –126 16,777,214 B /16 NET.NET.X.X 128.1 – 191.254 65,534 C /24 NET.NET.NET.X 192.0.1 – 223.255.254 254 Class D is reserved for multicast groups Class E is reserved for future use

Private Networks RFC 1918 addresses RFC 2026—Link Local Addresses Not routed by Internet routers (filtered by Edge Routers) RFC 2026—Link Local Addresses 169.254.0.1–169.254.255.255 Auto-assigned IP address to local host if DHCP server cannot be contacted Not routed by any router Class Assigned Network/ /Host ID Range of Network IDs A NET.X.X.X 10.0.0.0 - 10.255.255.255 B NET.NET.X.X 172.16.0.0 - 172.31.255.255 C NET.NET.NET.X 192.168.0.0 - 192.168.255.255

Other Reserved Addresses 127.0.0.1–127.255.255.255 Reserved for testing and loopback routines for IP Applications ping 127.0.0.1—verifies the local host has properly loaded the IP protocol 224.0.0.1–224.0.0.255—Class D multicast (IANA) Reserved for well known services and network topology mechanisms

Subnetting IP/VLSM/Classless Allows to divide a single IP network into smaller divisions – Subnets Done by borrowing bits from the host portion of the address Subnet bits are defined by the Subnet Mask IP Address 134.125.172.17 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 Subnet Mask 255.255.240.0 Or /20 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 Subnet Host

Summary Host-to-Host Packet Delivery (1 of 22)

Host-to-Host Packet Delivery (2 of 22)

Host-to-Host Packet Delivery (3 of 22)

Host-to-Host Packet Delivery (4 of 22)

Host-to-Host Packet Delivery (5 of 22)

Host-to-Host Packet Delivery (6 of 22)

Host-to-Host Packet Delivery (7 of 22)

Host-to-Host Packet Delivery (8 of 22)

Host-to-Host Packet Delivery (9 of 22)

Host-to-Host Packet Delivery (10 of 22)

Host-to-Host Packet Delivery (11 of 22)

Host-to-Host Packet Delivery (12 of 22)

Host-to-Host Packet Delivery (13 of 22)

Host-to-Host Packet Delivery (14 of 22)

Host-to-Host Packet Delivery (15 of 22)

Host-to-Host Packet Delivery (16 of 22)

Host-to-Host Packet Delivery (17 of 22)

Host-to-Host Packet Delivery (18 of 22)

Host-to-Host Packet Delivery (19 of 22)

Host-to-Host Packet Delivery (20 of 22)

Host-to-Host Packet Delivery (21 of 22)

Host-to-Host Packet Delivery (22 of 22)

Default Gateway

Routing

Routers Routers have the following components: – CPU – Motherboard – RAM – ROM Routers have network adapters to which IP addresses are assigned. Routers may have the following two kinds of ports: – Console: For the attachment of a terminal used for management – Network: Different LAN or WAN media ports Routers forward packets based upon a routing table

Router Functions Lets other routers know about changes Determines where to forward packets Translate between different layer2 protocols/interfaces RouterX# show ip route D 192.168.1.0/24 [90/25789217] via 10.1.1.1 R 192.168.2.0/24 [120/4] via 10.1.1.2 O 192.168.3.0/24 [110/229840] via 10.1.1.3

Routing Types Static/Dynamic IGP (Interior Gateway Protocol) – RIP, ISIS, OSPF, (E)IGRP EGP (Exterior Gateway Protocol) - BGP

Path Determination

Routing Tables

Routing Table Entries Directly connected: Router attaches to this network Static routing: Entered manually by a system administrator Dynamic routing: Learned by exchange of routing information Default route (optional): Statically or dynamically learned; used when no explicit route to network is known

Routing Metrics

Distance Vector Routing Protocols Passes periodic copies of routing table to neighbor routes and accumulates distance vectors

Link-State Routing Protocols All routers calculate “shortest paths” using Djikstra algorithm After initial flood, passes small event-triggered link-state updates to all other routers

Routing Protocols Distance Vector – RIP, IGRP Link State – OSPF, ISIS Balanced hybrid - EIGRP

Administrative Distance Route Source Default Distance Connected Static 1 eBGP 20 EIGRP 90 IGRP 100 OSPF 110 ISIS 115 RIP 120 iBGP 200 Unknown* 255 * If the administrative distance is 255, the router does not believe the source of that route and does not install the route in the routing table