Chap 1 Foundation Broadcasting Chap 20.

Slides:



Advertisements
Similar presentations
Introduction Hector Macleod –CCNA student –Systems Integration Engineer Subject - IP addressing.
Advertisements

Chapter 19 Network Layer: Logical Addressing Stephen Kim.
Computer Networks21-1 Chapter 21. Network Layer: Address Mapping, Error Reporting, and Multicasting 21.1 Address Mapping 21.2 ICMP 21.3 IGMP 21.4 ICMPv6.
CMPE 150- Introduction to Computer Networks 1 CMPE 150 Fall 2005 Lecture 25 Introduction to Computer Networks.
IP Addresses: Classful Addressing IP Addresses. CONTENTS INTRODUCTION CLASSFUL ADDRESSING Different Network Classes Subnetting Classless Addressing Supernetting.
21.1 Chapter 21 Network Layer: Address Mapping, Error Reporting, and Multicasting Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction.
1 K. Salah Module 5.1: Internet Protocol TCP/IP Suite IP Addressing ARP RARP DHCP.
11- IP Network Layer4-1. Network Layer4-2 The Internet Network layer forwarding table Host, router network layer functions: Routing protocols path selection.
Subnetting.
Shivkumar Kalyanaraman Rensselaer Polytechnic Institute 1 Internet Protocol (IP): Addressing and Forwarding Shivkumar Kalyanaraman Rensselaer Polytechnic.
1 Dynamic Host Configuration Protocol (DHCP). 2 Dynamic Assignment of IP addresses Dynamic assignment of IP addresses is desirable for several reasons:
Broadcast and Multicast. Unicast Host 2Host 1 Broadcast Packet received by every host on network (including the sender!)
TELE202 Lecture 10 Internet Protocols (2) 1 Lecturer Dr Z. Huang Overview ¥Last Lecture »Internet Protocols (1) »Source: chapter 15 ¥This Lecture »Internet.
Making connections Connecting a computer to a LAN donna Bair-Mundy.
Network Layer – Subnetting and Control Protocols Dr. Sanjay P. Ahuja, Ph.D. Fidelity National Financial Distinguished Professor of CIS School of Computing,
1 Computer Communication & Networks Lecture 20 Network Layer: IP and Address Mapping (contd.) Waleed.
1 Dynamic Host Configuration Protocol (DHCP) Relates to Lab 7. Module about dynamic assignment of IP addresses with DHCP.
Address Resolution Protocol(ARP) By:Protogenius. Overview Introduction When ARP is used? Types of ARP message ARP Message Format Example use of ARP ARP.
TCP/IP Protocol Suite 1 Change the following IP addresses from binary notation to dotted-decimal notation. a b
Introduction to Classless Routing
1 CS 4396 Computer Networks Lab Dynamic Host Configuration Protocol (DHCP)
19.1 Chapter 19 Network Layer: Logical Addressing Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
Cisco – Chapter 8&9 - Ethernet Technologies and Ethernet Switching TCP/IP IP Addressing ARP and RARP.
Broadcasting & Multicasting with UDP sockets Chap 20, 21.
Basic IP Protocol Natawut Nupairoj, Ph.D. Department of Computer Engineering Chulalongkorn University.
TCP/IP Protocol Suite 1 Chapter 16 Upon completion you will be able to: Host Configuration: BOOTP and DHCP Know the types of information required by a.
1 Network Layer Lecture 12 Imran Ahmed University of Management & Technology.
Chapter18 broadcasting. contents Introduction broadcast address unicast versus broadcast dg_cli function using broadcasting Race conditions.
Today’s topic –Broadcast and multicast –Send/receive broadcast and multicast packets.
Chapter 17 BOOTP and DHCP.
ECMM6018 Enterprise Networking for Electronic Commerce Tutorial 7 Dynamic Host Protocol.
Chapter 3 Managing IP Traffic. Objectives Upon completion of this chapter you will be able to perform the following tasks: Configure IP standard access.
TELE 402 Lecture 8: Broadcast and Multicast 1 Overview Last Lecture –IPv6 This Lecture –Broadcast and multicast sockets –Source: Chapters 20&21 of Stevens’
Allocating IP Addressing by Using Dynamic Host Configuration Protocol.
( Address Resolution Protocol )
Ethernet switch Hosts Can talk using Ethernet addresses only.
Chapter 38 Initialization & Configuration. Bootstrapping occurs during boot up to obtain boot program which may then load operating system may use network.
Software implementation of the Signaling protocol Cusnir Pablo & Schetrit Guy. Supervisor: Dan Gluskin. December 2000 Spring 2000 Mid semester presentation.
1 Lecture, November 20, 2002 Message Delivery to Processes Internet Addressing Address resolution protocol (ARP) Dynamic host reconfiguration protocol.
1 Lecture 11 Routing in Virtual Circuit Networks Internet Addressing.
ITIS 1210 Introduction to Web-Based Information Systems Chapter 39 How Multicast IP and MBone Work.
Chapter 8: IP Addressing
Copyright © 2006 Heathkit Company, Inc. All Rights Reserved Introduction to Networking Technologies Dynamic Host Configuration Protocol (DHCP)
1 K. Salah Module 5.1: Internet Protocol TCP/IP Suite IP Addressing ARP RARP DHCP.
11 MAINTAINING A NETWORK INFRASTRUCTURE Chapter 9.
1 Kyung Hee University Chapter 16 Host Configuration : BOOTP and DHCP.
أمن المعلومات لـ أ. عبدالرحمن محجوب حمد mtc.edu.sd أمن المعلومات Information Security أمن المعلومات Information Security  أ. عبدالرحمن محجوب  Lec (5)
Scaling the Network: Subnetting and Other Protocols
BOOTP By: Muhammad Hanif.
Chapters 4 & 5 Addressing Will go over Exam 1
Host Configuration: BOOTP and DHCP
CS4470 Computer Networking Protocols
Chapter 10: DHCP Routing & Switching Chapter 10: DHCP
An IPv4 address is a 32-bit address that uniquely and universally defines the connection of a device (for example, a computer or a router) to the Internet.
Instructor & Todd Lammle
Introduction  Hector Macleod  CCNA student  Systems Integration Engineer  Subject - IP addressing.
Host Configuration: DHCP
Host Configuration: BOOTP and DHCP
Chapter 18 Host Configuration : DHCP
Chapters 4 & 5 Addressing Will go over Exam 2
Chapter 16 Host Configuration : BOOTP and DHCP
Scaling the Network: Subnetting and Other Protocols
Chapters 4 & 5 Addressing Will go over Exam 1
Chapters 4 & 5 Addressing Will go over Exam 1
Chapter 18 Host Configuration : DHCP
Read this to find out how the internet works!
Dynamic Host Configuration Protocol (DHCP)
Figure 6.11 Configuration for Example 4
Chapters 4 & 5 Addressing Will go over Exam 1
Lecture#3-IPV4 Addressing
Presentation transcript:

Chap 1 Foundation Broadcasting Chap 20

Introduction Use of broadcasting to know server address on the local subnet: resource discovery to minimize network traffic on a LAN Internet applications ARP(Address Resolution Protocol) BOOTP(Bootstrap Protocol) NTP(Network Time Protocol) Routing daemons: broadcast routing table

Broadcast Addresses Subnet-directed: [subnetid, -1] Normally routers do not forward these broadcasts most commonly used today E.g.) ping 203.253.70.255 Limited broadcast: 255.255.255.255 must not forwarded by a router Some systems do not understand a subnet-directed broadcast address and only interpret 255.255.255.255 as a broadcast TFTP and BOOTP use this address to know IP address of its diskless workstation on bootstrapping procedure

Unicast versus Broadcast

dg_cli Function using Broadcasting Before broadcasting, set SO_BROADCAST socket option const int on = 1; setsockopt(sockfd, SOL_SOCKET, SO_BROADCAST, &on, sizeof(on)); First example dg_cli: Figure 20.5 bcast/dgclibcast1.c SIFALRM signal이 blocked system call(recvfrom)이외에서 deliver되면 loop을 빠져 나오지 못함 Race Condition: shared data를 여러 process들이 동시에 access할 때 time-dependent error 발생 Case 1: shared data(global variable) among threads Case 2: dealing with signals  signal handler도 일종의 thread로 봐야 dg_cli with blocked signal: Figure 20.6 bcast/dgclibcast3.c Still has race condition problem

dg_cli Function that broadcasts bcast/dgclibcast1.c 문제점 SIFALRM signal이 blocked system call(recvfrom)이외에서 deliver되면 loop을 빠져 나오지 못함 Race Condition: shared data를 여러 process들이 동시에 access할 때 time-dependent error 발생 Case 1: shared data(global variable) among threads Case 2: dealing with signals  signal handler도 일종의 thread로 봐야

Correct Solutions for Avoiding Race Condition bcast/dgclibcast5.c