The IP Transmission Process. V1.4: Geoff Bennett



Similar documents
Teldat Router. ARP Proxy

What is VLAN Routing?

2. What is the maximum value of each octet in an IP address? A. 28 B. 255 C. 256 D. None of the above

Zarząd (7 osób) F inanse (13 osób) M arketing (7 osób) S przedaż (16 osób) K adry (15 osób)

Computer Networks. Introduc)on to Naming, Addressing, and Rou)ng. Week 09. College of Information Science and Engineering Ritsumeikan University

Vocia MS-1 Network Considerations for VoIP. Vocia MS-1 and Network Port Configuration. VoIP Network Switch. Control Network Switch

CS 5480/6480: Computer Networks Spring 2012 Homework 4 Solutions Due by 1:25 PM on April 11 th 2012

IP Addressing A Simplified Tutorial

Computer Networks. Definition of LAN. Connection of Network. Key Points of LAN. Lecture 06 Connecting Networks

Expert Reference Series of White Papers. Basics of IP Address Subnetting

UPPER LAYER SWITCHING

Overview of Routing between Virtual LANs

Packet Tracer - Subnetting Scenario 1 (Instructor Version)

Can PowerConnect Switches Be Used in IP Multicast Networks?

Application Description

Internetworking and Internet-1. Global Addresses

PART IV. Network Layer

Internet Working 5 th lecture. Chair of Communication Systems Department of Applied Sciences University of Freiburg 2004

1 Data information is sent onto the network cable using which of the following? A Communication protocol B Data packet

Implementation of Virtual Local Area Network using network simulator

LAN Switching and VLANs

VXLAN: Scaling Data Center Capacity. White Paper

Internetworking Microsoft TCP/IP on Microsoft Windows NT 4.0

Technical Support Information Belkin internal use only

FSM73xx GSM73xx GMS72xxR Shared access to the Internet across Multiple routing VLANs using a Prosafe Firewall

Chapter 3 LAN Configuration

DG Forwarding Algorithm

hp ProLiant network adapter teaming

Transport and Network Layer

LANs and VLANs A Simplified Tutorial

Knowledgebase Solution

Exhibit n.2: The layers of a hierarchical network

VLAN 802.1Q. 1. VLAN Overview. 1. VLAN Overview. 2. VLAN Trunk. 3. Why use VLANs? 4. LAN to LAN communication. 5. Management port

Guide to TCP/IP, Third Edition. Chapter 3: Data Link and Network Layer TCP/IP Protocols

Chapter 2 TCP/IP Networking Basics

Lab IP Addressing Overview

Management Software. Web Browser User s Guide AT-S106. For the AT-GS950/48 Gigabit Ethernet Smart Switch. Version Rev.

SSVVP SIP School VVoIP Professional Certification

SSVP SIP School VoIP Professional Certification

How To Understand and Configure Your Network for IntraVUE

Networking Basics for Automation Engineers

Internetworking and IP Address

Scaling the Network: Subnetting and Other Protocols. Networking CS 3470, Section 1

Network Basics GRAPHISOFT. for connecting to a BIM Server (version 1.0)

The Benefits of Layer 3 Routing at the Network Edge. Peter McNeil Product Marketing Manager L-com Global Connectivity

Computer Networks I Laboratory Exercise 1

CS335 Sample Questions for Exam #2

Cisco Data Centre: Introducing Cisco Data Center Networking

What communication protocols are used to discover Tesira servers on a network?

ECE 358: Computer Networks. Solutions to Homework #4. Chapter 4 - The Network Layer

The Wireless Network Road Trip

CCNA Tutorial Series SUBNETTING

Internet Protocol Address

CCT vs. CCENT Skill Set Comparison

CS 348: Computer Networks. - IP addressing; 21 st Aug Instructor: Sridhar Iyer IIT Bombay

Network Layers. CSC358 - Introduction to Computer Networks

BASIC ANALYSIS OF TCP/IP NETWORKS

Networking 4 Voice and Video over IP (VVoIP)

White Paper Copyright 2011 Nomadix, Inc. All Rights Reserved. Thursday, January 05, 2012

FINAL ASSESSMENT/EXAMINATION JULY 2015 PLEASE READ ALL INSTRUCTIONS CAREFULLY BEFORE YOU BEGIN THIS EXAMINATION

College 5, Routing, Internet. Host A. Host B. The Network Layer: functions

Written examination in Computer Networks

Internet Addresses (You should read Chapter 4 in Forouzan)

Lab 7.1.9b Introduction to Fluke Protocol Inspector

The Network Layer Functions: Congestion Control

CCNA R&S: Introduction to Networks. Chapter 5: Ethernet

Lecture Computer Networks

Introduction to Network Security Lab 1 - Wireshark

CET442L Lab #2. IP Configuration and Network Traffic Analysis Lab

CS 326e F2002 Lab 1. Basic Network Setup & Ethereal Time: 2 hrs

UNIVERSIDADE DA BEIRA INTERIOR Faculdade de Engenharia Departamento de Informática

Advanced Internetworking

Hosting more than one FortiOS instance on. VLANs. 1. Network topology

Datagram-based network layer: forwarding; routing. Additional function of VCbased network layer: call setup.

Chapter 4 Customizing Your Network Settings

HP Switches Controlling Network Traffic

Lecture 8. IP Fundamentals

CompTIA Exam N CompTIA Network+ certification Version: 5.1 [ Total Questions: 1146 ]

Installation of the On Site Server (OSS)

OVERLAYING VIRTUALIZED LAYER 2 NETWORKS OVER LAYER 3 NETWORKS

Appendix B Network, Routing, Firewall, and Basics

Chapter 5: Sample Questions, Problems and Solutions Bölüm 5: Örnek Sorular, Problemler ve Çözümleri Örnek Sorular (Sample Questions):

Overview of Computer Networks

IP Addressing and Subnetting. 2002, Cisco Systems, Inc. All rights reserved.

Based on Computer Networking, 4 th Edition by Kurose and Ross

04 Internet Protocol (IP)


Easy Smart Configuration Utility

Chapter 6 Configuring the SSL VPN Tunnel Client and Port Forwarding

ELEC3030 (EL336) Computer Networks. How Networks Differ. Differences that can occur at network layer, which makes internetworking difficult:

Introduction to IP v6

VLSM & IP ADDRESSING EXAMPLE QUESTIONS with answers;

APPENDIX B. Routers route based on the network number. The router that delivers the data packet to the correct destination host uses the host ID.

Building Secure Network Infrastructure For LANs

Ethernet. Ethernet. Network Devices

Transcription:

The IP Transmission Process V1.4: Geoff Bennett

Contents Communication Between Hosts Through a MAC Bridge Through a LAN Switch Through a Router The tutorial is divided into four sections. Section 1 looks at direct communication between IP hosts on the same LAN segment. Sections 2 and 3 describe how this is affected if the hosts are separated by a MAC Layer Bridge or LAN Switch. The final section looks at communication between hosts that are separated by an IP Router.

Section 1: Communication Between Hosts Through a MAC Bridge Through a LAN Switch Through a Router Initially, let me describe the way that IP software makes the decision to transmit an IP datagram directly between two hosts located on the same segment.

Sally Harry Here we see two computer users connected by a cable in a local environment. Let s assume that both computers are running IP communication software. Sally is using some form of IP application to send datagrams to Harry.

192.32.15.2 Here are the IP addresses...

192.32.15.2 Here are the IP addresses....and the subnet masks.

192.32.15.2 The IP software in Sally s PC needs to find out if Harry s machine is in the same Broadcast Domain. A Broadcast Domain is simply the term that describes the extent of spread of a MAC level broadcast. In other words, if two hosts are located in the same Broadcast Domain, they will hear broadcast and multicast traffic transmitted by each other. Transmissions that occur within a Broadcast Domain are called intranetwork. Transmissions between Broadcast Domains are called internetwork.

192.32.15.2 To determine if Harry is in the same Broadcast Domain, Sally s software performs this comparison...

192.32.15.2 Source: (192.32.15.1) AND () = 192.32.15.0 To determine if Harry is in the same Broadcast Domain, Sally s software performs this comparison... She takes her own IP address, and performs a binary AND with her subnet mask...

192.32.15.2 Source: (192.32.15.1) AND () = 192.32.15.0 Destination: (192.32.15.2) AND () = 192.32.15.0 To determine if Harry is in the same Broadcast Domain, Sally s software performs this comparison... She takes her own IP address, and performs a binary AND with her subnet mask......then she takes Harry s IP address and performs a binary AND with her own subnet mask (Sally has no way to find out what Harry s subnet mask is).

192.32.15.2 Source: (192.32.15.1) AND () = 192.32.15.0 Destination: (192.32.15.2) AND () = 192.32.15.0 The resulting two numbers are identical. This tells Sally that she s in the same Broadcast Domain as Harry.

192.32.15.2 Source: (192.32.15.1) AND () = 192.32.15.0 Destination: (192.32.15.2) AND () = 192.32.15.0 To transmit to a host in the same Broadcast Domain, Sally needs to determine the MAC address (since she only knows the IP address). To do this, she uses the Address Resolution Protocol (ARP), which is described in another tutorial.

Communication Between Hosts Section 2: Through a MAC Bridge Through a LAN Switch Through a Router Let s see if the basic, direct transmission process changes if we separate the hosts using a MAC Layer Bridge.

Sally Harry Bridge In this modified example, a MAC-Layer Transparent Bridge connects two LAN segments. Harry and Sally are attached to different segments. How does this affect the IP Transmission process?

192.32.15.2 Bridge In fact, Harry and Sally have the same IP addresses and subnet masks as if they were connected to the same LAN segment. The Bridge is essentially transparent to the IP communication.

192.32.15.2 Bridge ARP The side effect of this transparent operation is that broadcast traffic (such as ARP) must be allowed to pass through the bridge. Any attempt to filter ARP traffic results in a loss of communication between hosts.

Broadcast Domain Bridge Once again, we can say that these two hosts are within the same Broadcast Domain, even though they are separated by a Transparent Bridge.

Communication Between Hosts Through a MAC Bridge Section 3: Through a LAN Switch Through a Router LAN Switches are an interesting new connectivity tool. How do they effect the IP communication process?

Switch In this diagram we show Harry and Sally are both connected to the same LAN Switch. Switches are multiport MAC Layer Bridges that offer dedicated LAN bandwidth to each port. Typical workgroup switches offer 8, 12, 16, 24 or 64 connections to a single bridging unit.

192.32.15.2 Switch ARP Hosts that are attached to the same Switch must have the same Network ID and the same subnet mask in order to communicate. A standard ARP transaction is used to transfer traffic from one host to the other.

Switch Switch Of course, Harry and Sally are not necessarily connected to the same switch. However, inter-switch connections are usually just extensions of the Broadcast Domain, with a simple transfer of the Learning Bridge address tables.

192.32.15.2 Switch ARP Switch An extended switch network is completely transparent to the IP Transmission process, hosts simply ARP directly for the Destination IP address.

To transmit to a host that is in the same Broadcast Domain, IP software will ARP directly for the destination host IP address. This simple rule summarises the basic operation of the IP Transmission algorithm for hosts on the same LAN segment, and for LAN segments connected by bridges or switches.

192.32.15.2 ARP ARP ARP ARP Switch Switch One of the side effects of switch designs is that ARP (and other broadcast traffic) must be flooded throughout the full extent of the switched network. Each of these broadcasts will interrupt the host that it reaches, and will waste valuable network bandwidth. To allow all of these Broadcast Domain networks to scale, we must turn to Router technology.

Communication Between Hosts Through a MAC Bridge Through a LAN Switch Section 4: Through a Router

Sally Harry Router In this diagram I show Harry and Sally connected via an IP Router.

192.32.15.2 Router The IP addresses we have been using so far will not work correctly when Harry and Sally are connected through a router.

192.32.15.2 Router ARP The first reason for this is that the Router must not forward broadcast traffic. This means that the ARP request sent out by Sally will never be received by Harry.

192.32.15.2 Router 192.32.15.15.15 192.32.15.16.16 The second problem is that the router ports must be configured with IP addresses. As you can see, in this addressing scheme both ports have the same Network ID (highlighted in red). Internally, the Routing Table would not be able to differentiate between these ports.

.1 192.32.16.2.2 Router 192.32.15.15.15 192.32.16.16.16 This diagram shows a modified IP addressing scheme. As you can see, the Network IDs on the left hand side (192.32.15.0) are different from those on the right hand side (192.32.16.0). All the Network IDs are highlighted in red.

192.32.16.2 Router Source: (192.32.15.1) AND () = 192.32.15.0 Destination: (192.32.16.2) AND () = 192.32.16.0 When Sally s IP software makes the same comparison that I described earlier, there is now a difference between the resulting numbers. Sally s software has determined that Harry is located in a different Broadcast Domain. To communicate between one Broadcast Domain and another, IP hosts must use an IP Router.

192.32.16.2 192.32.15.15 Router Broadcast Domain #1 Broadcast Domain #2 Sally s software needs to know the IP address of a router that is located in the same Broadcast Domain. There are several ways the software can find out this address. Let s just assume for the moment that the address is known - 192.32.15.15. The router that an IP host uses to transmit IP datagrams out of the Broadcast Domain is called the Default Router. (NOTE: The older term Default Gateway is still used by some IP veterans)

192.32.16.2 192.32.15.15 ARP Router Broadcast Domain #1 Broadcast Domain #2 Sally s software performs an ARP for the Default Router address. By definition, this address must be in the same Broadcast Domain. While her software is waiting for the ARP response, the IP traffic (shown as the blue rectangle) is queued.

192.32.16.2 192.32.15.15 Router Broadcast Domain #1 Broadcast Domain #2 Once the ARP request is resolved, Sally sends the traffic destined for Harry to the Default Router.

192.32.16.2 192.32.15.15 Router ARP Broadcast Domain #1 Broadcast Domain #2 The router examines the datagrams to see if the destination IP address is known. The procedure used by the router is described in another tutorial. In this case, the router knows that Harry s LAN segment is directly attached. The router sends out an ARP request to find out Harry s MAC address. The IP address for Harry is, of course, contained as the Destination Address in the IP datagrams. The router queues the traffic while awaiting an ARP response.

192.32.16.2 192.32.15.15 Router Broadcast Domain #1 Broadcast Domain #2 Once the ARP is resolved, the router sends the traffic to Harry.

To transmit to a host that is in the same Broadcast Domain, IP software will ARP directly for the destination host IP address. To transmit to a host that is in a different Broadcast Domain, IP software will ARP for the default router IP address. So here are the two Golden Rules used by host software.

The End This concludes the tutorial. If you aren t viewing this on the FORE Systems Web Site, then you can become a member of the ATM Academy free of charge and have access to many more of these tutorials. You can find details at: http://academy.fore.com/