IP Network Layer and Ethernet Encapsulation

Slides:



Advertisements
Similar presentations
Static Routing Exercise AFNOG 2003/ Track 2 # 1 Static Routing Exercise u Unix network interface configuration u Cisco network interface configuration.
Advertisements

1 Address Resolution Protocol (ARP) Relates to Lab 2. This module is about the address resolution protocol.
CISCO NETWORKING ACADEMY Chabot College ELEC Address Resolution Protocol.
ARP: Address Resolution Protocol
1 Address Resolution Protocol (ARP) Relates to Lab 2. This module is about the address resolution protocol.
Recitation 6 Midterm 1’s solution Project 2 IP Forwarding CIDR.
Precept 3 Host Configuration 1 Peng Sun. What TCP conn. running? Commands netstat [-n] [-p] [-c] (Linux) lsof -i -P (Mac) ss (newer version of netstat)
SYSTEM ADMINISTRATION Chapter 19
Ch. 9 – Basic Router Troubleshooting CCNA 2 version 3.0.
1 Linux Networking and Security Chapter 2. 2 Configuring Basic Networking Describe how networking devices differ from other Linux devices Configure Linux.
Review of Important Networking Concepts
Network Management And Debugging
CSEE W4140 Networking Laboratory
IP Routing: an Introduction. Quiz
CSEE W4140 Networking Laboratory Lecture 2: ARP Jong Yul Kim
Hardening Linux for Enterprise Applications Peter Knaggs & Xiaoping Li Oracle Corporation Sunil Mahale Network Appliance Session id:
1 TCP/IP architecture A set of protocols allowing communication across diverse networks Out of ARPANET Emphasize on robustness regarding to failure Emphasize.
Linux Networking Commands
Training Ethernet and IP Basics Overview OSI Layer Model Ethernet IP ARP IP Routing Higher Layer Protocols VRRP ATM Vision Network Setup Practice.
ARP Under Normal Conditions. The basics arp with reverse DNS lookup for each IP arp –a # Windows & linux Without reverse DNS lookup (runs faster) arp.
SUSE Linux Enterprise Server Administration (Course 3037) Chapter 7 Connect the SUSE Linux Enterprise Server to the Network.
TCP/IP Networking sections 13.2,3,4,5 Road map: TCP, provide connection-oriented service IP, route data packets from one machine to another (RFC 791) ICMP,
2010 Pago Pago, American Samoa IP Basics Unix/IP Preparation Course June 29, 2010 Pago Pago, American Samoa.
ARP Scenarios CIS 81 and CST 311 Rick Graziani Fall 2005.
Static Routing Exercise u Unix network interface configuration u Cisco network interface configuration u Static routes u Default route u Testing.
Network Tools TCP/IP interface configuration query - MAC (HW) address and IP address – Linux - /sbin/ifconfig – MS Windows – ipconfig/all 1.
Module 5: Isolating Common Connectivity Issues. Overview Determining the Causes of Connectivity Issues Network Utilities That You Can Use to Isolate Connectivity.
Midterm Review. Lab 4: dynamic routing protocols.
ARP Under Abnormal Conditions. Experiment with the browser (1) arp -n # see what it there Open a browser on your personal workstation browse to
1 IP Forwarding Relates to Lab 3. Covers the principles of end-to-end datagram delivery in IP networks.
1 How to Enable IPv6 in Your Subnet Quincy Wu March 10, 2004.
Examining TCP/IP.
Microsoft Windows Server 2003 TCP/IP Protocols and Services Technical Reference Slide: 1 Lesson 9 Internet Group Management Protocol (IGMP)
IP Forwarding.
1 IP: putting it all together Part 1 G53ACC Chris Greenhalgh.
CDPA 網管訓練 駭客任務 2 Ethernet Switching ARP, IP, LAN, Subnet IP Header, Routing ICMP
Networking Colin Alworth May 26, Quick Review IP address: four octets Broadcast addresses –IP addresses use all 1’s for the host bits, and whatever.
Links and LANs Link between two computers via cross cable The most simple way to connect two hosts is to link the two hosts with a cross cable.
Day 14 Introduction to Networking. Unix Networking Unix is very frequently used as a server. –Server is a machine which “serves” some function Web Server.
Hyung-Min Lee ©Networking Lab., 2001 Chapter 8 ARP and RARP.
IPv4 Exercices Q1. How many hosts are described with the following prefixes? Q2. Find the Network and the Broadcast addresses for the following.
Hands On Networking IPv4 Routing Veena S (MCA Dept) Shruti Kadam, MCA Dept Arpita Kulkarni, MCA Dept June 28, 2012.
Module 5: Creating IPv4 Address Spaces. Overview of IP Communication Subnetting Overview Subnetting for Complex Networks.
Linux Networking #1 Dr. Michael L. Collard 1.
Linux Routing. Why use Linux as a router? Its cheap. Linux has low hardware requirements. A properly configured P166 Mhz computer would have no problems.
2011 Dar es Salaam, Tanzania IP Basics Unix/IP Preparation Course May 29, 2011 Dar es Salaam, Tanzania.
Network Management CCNA 4 Chapter 7. Monitoring the Network Connection monitoring takes place every day when users log on Ping only shows that the connection.
Computer Communication: An example What happens when I click on
Review of IPv4 Routing Veena S, MCA Dept, PESIT Mar 09-10, 2013.
實驗四 Linux 子網域分割 之設定與觀察 教師: 助教:. 2 Outline Traditional IP Allocation Netmask: the Concept Subnetting Realization Proxy-ARP Transparent Router Different.
1 4 ARP : Address Resolution Protocol. 2 4 Introduction - Problem Successful Mapping of an IP Address to a Hardware Address Ethernet uses MAC-address.
Delivery and Forwarding Chapter 18 COMP 3270 Computer Networks Computing Science Thompson Rivers University.
Chapter 4: server services. The Complete Guide to Linux System Administration2 Objectives Configure network interfaces using command- line and graphical.
1 K. Salah Module 5.1: Internet Protocol TCP/IP Suite IP Addressing ARP RARP DHCP.
Mobile Packet Sniffer Ofer Borosh Vadim Lanzman Dr. Chen Avin
LINUX Network Concepts M.S.Dibay Moghaddam Second Linux Festival Amir Kabir University of Technology Computer & IT Department.
1 Address Resolution Protocol (ARP). 2 Overview 3 Need for Address Translation Note: –The Internet is based on IP addresses –Local area networks use.
Datagram Forwarding.
Troubleshooting ip Chapter 5e.
MAC Address Tables on Connected Switches
CompTIA Network+ N Authorized Cert Guide
Instructor Materials Chapter 5: Ethernet
Address Resolution Protocol (ARP)
Address Resolution Protocol (ARP)
Computer Networks 9/17/2018 Computer Networks.
Address Resolution Protocol (ARP)
Address Resolution Protocol (ARP)
ARP: Address Resolution Protocol
Troubleshooting ip Chapter 5e.
Module 12 Network Configuration
Presentation transcript:

IP Network Layer and Ethernet Encapsulation Lab exercises

IP addresses Host IP address Network address Netmask Broadcast address 130.65.241._____ Network address 130.65.241.0 Netmask 255.255.255.128 Broadcast address 130.65.241.127

Class diagram 130.65.241.0/25 .41 130.65.241.0/25 eth0 eth0 .42 eth0 .2 .1 eth0 130.65.241.56/25 130.65.241.48/25 130.65.241.0/25 130.65.241.8/29 eth0 .58 .57 eth0 eth0 .49 eth0 .50 eth0 .18 .17 eth0 eth0 .9 eth0 .10 .135 eth1 130.65.241.72/25 130.65.241.64/25 130.65.241.0/25 130.65.241.24/25 eth0 .74 .73 eth0 eth0 .65 eth0 .66 eth0 .34 .33 eth0 eth0 .25 eth0 .26 130.65.241.0/25

Ping - Exercise 1 Step 1 Load Ethernet Driver Check # modprobe eepro100 Check # lsmod see if module loaded

Ping - Exercise 1 (cont.) Step 2 Configure interface Check: # ifconfig eth0 <IP address> netmask <netmask> broadcast <broadcast> For Linux < 2.2 route add -net <network> netmask <netmask> Check: # ifconfig - check interface # netstat -nr - check route to network

Ping - Exercise 1 (cont.) Step 3 Step 4 Ping Try: Monitor traffic # ping <remote IP address> Try: other machines broadcast address Step 4 Monitor traffic # tcpdump -i eth0 -n

Ping - Exercise 2 Step 1 Step 2 Step 3 Find your own MAC address # ifconfig Step 2 Ping your neighbor # ping <IP address> Step 3 Show ARP cache & look for their MAC addresses # arp -n

Ping - Exercise 2 (cont.) Step 4 Step 5 Show traffic including Ethernet header # tcpdump -i eth0 -n -e Step 5 On other window (e.g. ALT+F2) Look for ARP frames # arp -d <IP address> - Flash ARP entry # ping <IP address> Go back to the first window to look for ARP frames