Copyright 2009 Kenneth M. Chipps Ph.D. www.chipps.com Host Addressing Last Update 2009.07.14 1.1.0 1.

Slides:



Advertisements
Similar presentations
Cs/ee 143 Communication Networks Chapter 6 Internetworking Text: Walrand & Parekh, 2010 Steven Low CMS, EE, Caltech.
Advertisements

21.1 Chapter 21 Network Layer: Address Mapping, Error Reporting, and Multicasting Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction.
CISCO NETWORKING ACADEMY Chabot College ELEC Address Resolution Protocol.
Media Access Control (MAC) addresses in the network access layer ▫ Associated w/ network interface card (NIC) ▫ 48 bits or 64 bits IP addresses for the.
 As defined in RFC 826 ARP consists of the following messages ■ ARP Request ■ ARP Reply.
Cisco Networking Academy Program Address Resolution Protocol ARP The Address Resolution Protocol Who are we ARPing for? or Who for ARP thou?
© 2007 Cisco Systems, Inc. All rights reserved. 1 Network Addressing Networking for Home and Small Businesses – Chapter 5.
MCDST : Supporting Users and Troubleshooting a Microsoft Windows XP Operating System Chapter 13: Troubleshoot TCP/IP.
Oct 21, 2004CS573: Network Protocols and Standards1 IP: Addressing, ARP, Routing Network Protocols and Standards Autumn
Chapter 8 Administering TCP/IP.
Subnetting.
IP Routing: an Introduction. Quiz
© Janice Regan, CMPT 128, CMPT 371 Data Communications and Networking Ethernet, ARP.
Copyright 2003 CCNA 1 Chapter 7 TCP/IP Protocol Suite and IP Addressing By Your Name.
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.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public ITE PC v4.0 Chapter 1 1 Network Addressing Networking for Home and Small Businesses – Chapter.
CCNA Discovery 1 Chapter 5: Network Addressing
TELE202 Lecture 10 Internet Protocols (2) 1 Lecturer Dr Z. Huang Overview ¥Last Lecture »Internet Protocols (1) »Source: chapter 15 ¥This Lecture »Internet.
Network Redundancy Multiple paths may exist between systems. Redundancy is not a requirement of a packet switching network. Redundancy was part of the.
DHCP: Dynamic Host Configuration Protocol
Managing Network connections. Network Cabling Ethernet Topology Bus topology – Connects each node in a line – Has no central connection point Star topology.
Network Layer – Subnetting and Control Protocols Dr. Sanjay P. Ahuja, Ph.D. Fidelity National Financial Distinguished Professor of CIS School of Computing,
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Version 4.0 Network Addressing Networking for Home and Small Businesses – Chapter 5.
S305 – Network Infrastructure Chapter 5 Network and Transport Layers.
Herramientas para diagnósticos. Ping USO: Ping nombre.dominio o dirección IP Options: -t Ping the specifed host until interrupted. -a Resolve addresses.
21.1 Chapter 21 Network Layer: Address Mapping, Error Reporting, and Multicasting Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction.
Lab How to Use WANem Last Update Copyright 2011 Kenneth M. Chipps Ph.D. 1.
DNS (Domain Name System) Protocol On the Internet, the DNS associates various sorts of information with domain names. A domain name is a meaningful and.
Network Addressing TEJ 3M. MAC Address (Media Access Control Address) Hard wired into your network card by the manufacturer Hard wired into your network.
CMPT 471 Networking II Address Resolution IPv4 ARP RARP 1© Janice Regan, 2012.
© 2007 Cisco Systems, Inc. All rights reserved. 1 Network Addressing Networking for Home and Small Businesses – Chapter 5 Darren Shaver – Modified Fall.
Connecting The Network Layer to Data Link Layer. ARP in the IP Layer The Address Resolution Protocol (ARP) The Address Resolution Protocol (ARP) Part.
1 TCP/IP Networking. 2 TCP/IP TCP/IP is the networking protocol suite most commonly used with UNIX, Windows, NT and most other OS’s. TCP/IP defines a.
S305 – Network Infrastructure Chapter 5 Network and Transport Layers.
Network Addresses, Switches and Routing Bob Bradley IS361 Fall 2005 Chapter 1 Part 2.
The Routing Table Last Update Copyright Kenneth M. Chipps Ph.D.
LECTURE ON IP Addressing. What is Networking? –by ‘computer network’ we mean the interconnection between different computers. Why Networking? –to share.
CCNA 1 v3.0 Module 9 TCP/IP Protocol Suite and IP Addressing.
1 Network Administration Module 3 ARP/RARP. 2 Address Resolution The problem Physical networks use physical addresses, not IP addresses Need the physical.
Networks and Protocols CE Week 3a. DHCP, ARP, DNS, TCP/UDP.
ARP The Process and the Protocol. Note to reader The information explained in this section is a simplification and extrapolation of the actual ARP determination.
1 Kyung Hee University Chapter 8 ARP(Address Resolution Protocol)
CSIT 220 (Blum)1 ARP Based on Computer Networks and Internets (Comer)
© Cengage Learning 2014 How IP Addresses Get Assigned A MAC address is embedded on a network adapter at a factory IP addresses are assigned manually or.
21.1 Chapter 21 Network Layer: Address Mapping, Error Reporting, and Multicasting Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction.
Cisco Confidential © 2013 Cisco and/or its affiliates. All rights reserved. 1 Cisco Networking Training (CCENT/CCT/CCNA R&S) Rick Rowe Ron Giannetti.
Chapter 9 Introduction To Data-Link Layer Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
Copyright 2009 Kenneth M. Chipps Ph.D. Addressing in Networks Last Update
NETWORKING (2) Dr. Andy Wu BCIS 4630 Fundamentals of IT Security.
S305 – Network Infrastructure Chapter 5 Network and Transport Layers.
Chapter 5. An IP address is simply a series of binary bits (ones and zeros). How many binary bits are used? 32.
Address Resolution Protocol Yasir Jan 20 th March 2008 Future Internet.
1 K. Salah Module 5.1: Internet Protocol TCP/IP Suite IP Addressing ARP RARP DHCP.
Scaling the Network: Subnetting and Protocols
Chapter 9 Introduction To Data-Link Layer 9.# 1
Behrouz A. Forouzan TCP/IP Protocol Suite, 3rd Ed.
Introduction to Networks v6.0
Address Resolution Protocol (ARP)
Chapter 5 Network and Transport Layers
Scaling the Network Chapters 3-4 Part 2
IP: Addressing, ARP, Routing
CIS 116 IPv6 Fundamentals 2 – Primer Rick Graziani Cabrillo College
Instructor Materials Chapter 5: Ethernet
Scaling the Network: The Internet Protocol
Chapter 8 ARP(Address Resolution Protocol)
Chapter 6 – Routing.
Chapter 5 Network and Transport Layers
Net 323: NETWORK Protocols
Address Resolution Protocol (ARP)
Scaling the Network: The Internet Protocol
Presentation transcript:

Copyright 2009 Kenneth M. Chipps Ph.D. Host Addressing Last Update

MAC Address Copyright 2009 Kenneth M. Chipps Ph.D. 2 Each end device attached to a LAN and in fact each interface, in other words each NIC, of each end device attached to a LAN needs a name so that we and the network can tell them apart This name is the MAC address –Media Access Control Address These addresses are assigned by the card manufacturer as they produce the NIC

MAC Address The address is made up of six hex numbers The address is in two parts –The first part is a code for the manufacturer The code is assigned by the IEEE It is called an OUI – Organizationally Unique Identifier This is the first three hex numbers –The second part is a number assigned by the manufacturer Copyright 2009 Kenneth M. Chipps Ph.D. 3

MAC Address The address is burned into the card on a chip To see this address on a Windows computer, from the command prompt type –ipconfig /all This shows Copyright 2009 Kenneth M. Chipps Ph.D. 4

MAC Address C:\>ipconfig /all Windows IP Configuration Host Name : home Primary Dns Suffix : Node Type : Unknown IP Routing Enabled : No WINS Proxy Enabled : No Ethernet adapter Local Area Connection: Connection-specific DNS Suffix. : Description : SiS 900-Based PCI Fast Ethernet Adapter Physical Address : 00-E Dhcp Enabled : No IP Address : Subnet Mask : Default Gateway : DNS Servers : Copyright 2009 Kenneth M. Chipps Ph.D. 5

MAC Address In this example the manufacturer code is –00-E0-06 The manufacturer’s tracking number is – Copyright 2009 Kenneth M. Chipps Ph.D. 6

Mapping Addresses In an internetwork packets are routed between networks, not hosts But once the final destination layer 3 device is reached, the packet must be converted to a frame and delivered to the host on the network for which it was originally intended Copyright 2009 Kenneth M. Chipps Ph.D. 7

8 Mapping Addresses How does the layer 3 device know what host on the network has the final destination IP address It does not know, it must discover this using ARP – Address Resolution Protocol

Copyright 2009 Kenneth M. Chipps Ph.D. 9 ARP Why is ARP required Why not just use the MAC address in the IP address field Several reasons –MAC addresses are 6 hex numbers or 48 bits long IP addresses are 32 bits long including the network portion The host only 48 bits of a MAC address will not fit

Copyright 2009 Kenneth M. Chipps Ph.D ARP –Second, it is easy to change the MAC address of a host by replacing the NIC card –Third, resolution must be done without recompiling code or maintaining a huge database –Lastly, MAC addresses, although centrally assigned at least in part, are not hierarchical So name resolution is required

Copyright 2009 Kenneth M. Chipps Ph.D ARP ARP does this by sending out a special broadcast packet that asks for the device with the IP address in question to respond back with its MAC address All hosts on the LAN receive this packet, but only the host with that IP address responds back Could not the layer 3 device just broadcast each frame each time

Copyright 2009 Kenneth M. Chipps Ph.D ARP The destination host would be sure to hear it But this would be very wasteful of bandwidth and host processing time So the broadcast answer is used to make an entry in a cache table The next time a packet arrives for a host the layer 3 device first looks in the cache table for the MAC address

Copyright 2009 Kenneth M. Chipps Ph.D ARP Only if the address is not found, does it again use a broadcast Addresses usually last 2 minutes in Windows to 10 minutes on many servers to 4 hours on some routers before being purged

Copyright 2009 Kenneth M. Chipps Ph.D ARP An example –Who can I see –Who are they –Where are they

Copyright 2009 Kenneth M. Chipps Ph.D ARP C:\>arp -a Interface: on Interface 0x Internet Address Physical Address Type c-31-ae-f1 dynamic a0-c9-d dynamic

Copyright 2009 Kenneth M. Chipps Ph.D ARP Who might these two be

Copyright 2009 Kenneth M. Chipps Ph.D ARP C:\>ipconfig Windows 98 IP Configuration 0 Ethernet adapter : IP Address : Subnet Mask : Default Gateway :

Copyright 2009 Kenneth M. Chipps Ph.D ARP So, what is The router, since it’s the gateway device Without leaving my chair, who made the router How do I know this

Copyright 2009 Kenneth M. Chipps Ph.D ARP

Copyright 2009 Kenneth M. Chipps Ph.D ARP What’s the other host Who made it

Copyright 2009 Kenneth M. Chipps Ph.D ARP

Copyright 2009 Kenneth M. Chipps Ph.D ARP That did not tell us much How about where is it

Copyright 2009 Kenneth M. Chipps Ph.D ARP C:\>tracert Tracing route to dalmis03.dhs.state.tx.us [ ] over a maximum of 30 hops: 1 <10 ms <10 ms <10 ms dalmis03.dhs.state.tx.us [ ] Trace complete.

Copyright 2009 Kenneth M. Chipps Ph.D ARP It is in the same building with me It is controlled by the State of Texas What could this be

Copyright 2009 Kenneth M. Chipps Ph.D ARP What else can ARP do –Displays and modifies the IP-to-Physical address translation tables used by address resolution protocol (ARP). – –ARP -s inet_addr eth_addr [if_addr] –ARP -d inet_addr [if_addr] –ARP -a [inet_addr] [-N if_addr] – – -a Displays current ARP entries by interrogating the current – protocol data. If inet_addr is specified, the IP and Physical – addresses for only the specified computer are displayed. If – more than one network interface uses ARP, entries for each ARP – table are displayed. – -g Same as -a. – inet_addr Specifies an internet address. – -N if_addr Displays the ARP entries for the network interface specified – by if_addr. – -d Deletes the host specified by inet_addr. – -s Adds the host and associates the Internet address inet_addr – with the Physical address eth_addr. The Physical address is – given as 6 hexadecimal bytes separated by hyphens. The entry – is permanent. – eth_addr Specifies a physical address. – if_addr If present, this specifies the Internet address of the – interface whose address translation table should be modified. – If not present, the first applicable interface will be used. –Example: – > arp -s aa c Adds a static entry. – > arp -a.... Displays the arp table.

Copyright 2009 Kenneth M. Chipps Ph.D ARP In addition to the above each sender of an ARP broadcast includes its own IP to MAC address information Receiving hosts then add this to their own ARP caches This allows them to communicate to this host without a broadcast How do hosts know that a frame contains an ARP broadcast

Copyright 2009 Kenneth M. Chipps Ph.D ARP They can look in the type field of the frame that carries the ARP message in its data portion If the type code is 0806, then they know the data in the frame is an ARP message

Copyright Kenneth M. Chipps PhD 28 ARP There are two special cases of ARP that are required –Proxy ARP –Gratuitous ARP

Copyright Kenneth M. Chipps PhD 29 Proxy ARP –This is required when a device must respond to another device’s ARP requests, when that other device is behind it –An example of this is a remote dial-in client that receives a frame at a router –The router must ask who has this IP address, but the remote host – who may be miles away – will not hear this request since it is on the other side of a RAS box

Copyright Kenneth M. Chipps PhD 30 Proxy ARP –In this case the RAS box answers for the remote dial in host

Copyright Kenneth M. Chipps PhD 31 Gratuitous ARP –This is where a device broadcasts its own MAC and IP addresses just so other devices on the network will place the entry in their ARP cache –Servers that communicate with many different clients frequently do these to save time and bandwidth

Let’s Look at ARP in Operation Type –arp –a This is who I know about Copyright 2009 Kenneth M. Chipps Ph.D. 32

ARP in Operation Copyright 2009 Kenneth M. Chipps Ph.D. 33

ARP in Operation Who are these devices – is a printer The printer is doing a gratuitous arp – is the default gateway This is the door that leads out of the LAN In other words, the layer 3 device – is the LANs broadcast address –224.x.x.x these are multicast addresses on the LAN Copyright 2009 Kenneth M. Chipps Ph.D. 34