Lab 1, Basic Linux and Networking Commands Shiv Kalyanaraman Yong Xia (former TA) Google:

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

Cisco 2 - Routers Perrine. J Page 14/30/2015 Chapter 10 TCP/IP Protocol Suite The function of the TCP/IP protocol stack is to transfer information from.
CSCE 515: Computer Network Programming Chin-Tser Huang University of South Carolina.
Internet Control Message Protocol (ICMP)
CSEE W4140 Networking Laboratory Lecture 3: IP Forwarding and ICMP Jong Yul Kim
CSCE 515: Computer Network Programming Chin-Tser Huang University of South Carolina.
Shivkumar Kalyanaraman Rensselaer Polytechnic Institute 1 ECSE-6961:Internet Protocols Quiz 1: Solutions Time: 60 min (strictly enforced) Points: 50 YOUR.
Shivkumar Kalyanaraman Rensselaer Polytechnic Institute 1 Lab 1, Basic Linux and Networking Commands Shiv Kalyanaraman Yong Xia (TA)
1 ELEN Lecture 13 LAN Bridges Routers, Switches, Gateways Network layer -IP Reading: 6.7,
Chapter 2 Internet Protocol DoD Model Four layers: – Process/Application layer – Host-to-Host layer – Internet layer – Network Access layer.
Institute of Technology Sligo - Dept of Computing Semester 2 Chapter 9 The TCP/IP Protocol Suite Paul Flynn.
WXES2106 Network Technology Semester /2005 Chapter 7 TCP/IP Suite Error and Control Messages CCNA2: Module 8, 9.
Shivkumar Kalyanaraman Rensselaer Polytechnic Institute 1 Internet Protocol (IP): Addressing and Forwarding Shivkumar Kalyanaraman Rensselaer Polytechnic.
IP-UDP-RTP Computer Networking (In Chap 3, 4, 7) 건국대학교 인터넷미디어공학부 임 창 훈.
TCP/IP Tools Lesson 5. Objectives Skills/ConceptsObjective Domain Description Objective Domain Number Using basic TCP/IP commands Understanding TCP/IP3.6.
Click to edit Master subtitle style Chapter 17: Troubleshooting Tools Instructor:
1 TCP/IP architecture A set of protocols allowing communication across diverse networks Out of ARPANET Emphasize on robustness regarding to failure Emphasize.
IST 228\Ch3\IP Addressing1 TCP/IP and DoD Model (TCP/IP Model)
Chapter Overview TCP/IP Overview Configuring TCP/IP Clients
SUSE Linux Enterprise Server Administration (Course 3037) Chapter 7 Connect the SUSE Linux Enterprise Server to the Network.
Chapter Eleven An Introduction to TCP/IP. Objectives To compare TCP/IP’s layered structure to OSI To review the structure of an IP address To look at.
CN2668 Routers and Switches Kemtis Kunanuraksapong MSIS with Distinction MCTS, MCDST, MCP, A+
Björn Landfeldt School of Information Technologies NETS 3303 ICMP and applications.
TCP/IP Protocol Suite - examples
TCP/IP protocols Communication over Internet is mostly TCP/IP (Transmission Control Protocol over Internet Protocol) TCP/IP "stack" is software which allows.
The Network Layer. Network Projects Must utilize sockets programming –Client and Server –Any platform Please submit one page proposal Can work individually.
70-291: MCSE Guide to Managing a Microsoft Windows Server 2003 Network Chapter 3: TCP/IP Architecture.
Page 19/13/2015 Chapter 8 Some conditions that must be met for host to host communication over an internetwork: a default gateway must be properly configured.
1 IP: putting it all together Part 2 G53ACC Chris Greenhalgh.
PA3: Router Junxian (Jim) Huang EECS 489 W11 /
1 IP Forwarding Relates to Lab 3. Covers the principles of end-to-end datagram delivery in IP networks.
Semester 2v2 Chapter 9:  TCP/IP.
Examining TCP/IP.
TCP/IP and the Internet ARPANET (1969) –R&D network funded by DARPA. –Packet Switching Survive nuclear war. –Experimental to operational (1975). –Not suitable.
1 © 2003, Cisco Systems, Inc. All rights reserved. CCNA 2 Module 8 TCP/IP Suite Error and Control Messages.
© 2002, Cisco Systems, Inc. All rights reserved..
Introduction to Networks CS587x Lecture 1 Department of Computer Science Iowa State University.
IP Forwarding.
70-293: MCSE Guide to Planning a Microsoft Windows Server 2003 Network, Enhanced Chapter 2: TCP/IP Architecture.
Chap 9 TCP/IP Andres, Wen-Yuan Liao Department of Computer Science and Engineering De Lin Institute of Technology
POSTECH DP&NM Lab. Internet Traffic Monitoring and Analysis: Methods and Applications (1) 4. Active Monitoring Techniques.
1 © 2003, Cisco Systems, Inc. All rights reserved. CCNA 2 Module 9 Basic Router Troubleshooting.
Lab 1, Basic Linux and Networking Commands Shiv Kalyanaraman Yong Xia (former TA) Vijay Subramanian
TCP/IP TCP/IP LAYERED PROTOCOL TCP/IP'S APPLICATION LAYER TRANSPORT LAYER NETWORK LAYER NETWORK ACCESS LAYER (DATA LINK LAYER)
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.
Hour 7 The Application Layer 1. What Is the Application Layer? The Application layer is the top layer in TCP/IP's protocol suite Some of the components.
The Transport Layer application transport network data link physical application transport network data link physical application transport network data.
CCNA 1 v3.0 Module 11 TCP/IP Transport and Application Layers.
1 Internet Control Message Protocol (ICMP) Used to send error and control messages. It is a necessary part of the TCP/IP suite. It is above the IP module.
TCP/IP Honolulu Community College Cisco Academy Training Center Semester 2 Version 2.1.
Basic IP Protocol Natawut Nupairoj, Ph.D. Department of Computer Engineering Chulalongkorn University.
70-291: MCSE Guide to Managing a Microsoft Windows Server 2003 Network, Enhanced Chapter 3: TCP/IP Architecture.
Cisco 2 - Routers Perrine. J Page 112/19/2015 Chapter 8 TCP/IP Error Message Some of the conditions that must be met in order for host to host communication.
1 Kyung Hee University Chapter 6 Delivery Forwarding, and Routing of IP Packets.
1 Bus topology network. 2 Data is sent to all computers, but only the destination computer accepts 02608c
Linux Operations and Administration Chapter Eight Network Communications.
1 CSE 5346 Spring Network Simulator Project.
Transport Layer CE-143 Untuk CNE Last Week Summary.
CTC 228 – Computer Networks Fall 2015 Instructor: Robert Spengler.
Page 12/9/2016 Chapter 10 Intermediate TCP : TCP and UDP segments, Transport Layer Ports CCNA2 Chapter 10.
Midterm Review. Chapter 1 Internet Concepts Applications, End-hosts, Routers, Switches, Communication Links Overall architecture How they are organized.
IP Internet Protocol. IP TCP UDP ICMPIGMP ARP PPP Ethernet.
2: Transport Layer 11 Transport Layer 1. 2: Transport Layer 12 Part 2: Transport Layer Chapter goals: r understand principles behind transport layer services:
Click to edit Master subtitle style
3. Internetworking (part 1)
Chapter 6 – Routing.
Byungchul Park ICMP & ICMPv DPNM Lab. Byungchul Park
Internetworking Outline Best Effort Service Model
Networking Theory (part 2)
Networking Theory (part 2)
Presentation transcript:

Lab 1, Basic Linux and Networking Commands Shiv Kalyanaraman Yong Xia (former TA) Google: “SHIV RPI” Experimental Networking (ECSE 4690) 1

 Linux commands  Networking commands and tools  Socket programming  An introduction project  Preview of the next lab Basic Commands 2

Basic Linux Commands  man – manual page (help info)  pwd – present working directory  ls – list content in current directory  mv / cp / rm – move(rename) / copy / delete file  mkdir / rmdir – create / delete a new directory  chmod – change w/r/x modes of file  ps – check process status  kill – terminate process  pipe operator >, >>, | 3

Internet Protocols Stack 4 IP TCPUDP ATM Satellite Ethernet  Packet-switched network  IP is the glue  Hour-glass architecture -all hosts and routers run IP -IP runs over everything  Common Intermediate Representation ICMP Cable

TCP / UDP / IP  IP -Unreliable, best-effort service -Connectionless: no per-packet or per-session state information inside network, each IP packet is delivered independent of all other packets -Like post-office (USPS) mail 5

TCP / UDP / IP  UDP -Datagram service: explicit boundary between packets -What’s more than IP? Port number: multiplexing for applications Checksum: weak error detection (not correction!) 6

TCP / UDP / IP  TCP -Many versions: Tahoe, Reno, SACK, Vegas... -Connection-oriented: per-session state variables maintained at end-hosts (but not in network, unlike circuit-switched and virtual-circuit approaches) Aka end-to-end “connection” or “association” Reliably setup and tear down the end-to-end association -Reliable: uses ACK (“sender: receiver correctly got this packet”), checksum (“receiver: is this packet is correct or wrong?”) and window (multiple packets in flight: pipelined) -Byte-stream: no application-packet boundary like UDP -Congestion control: reduce demand during overload, to ensure stable statistical multiplexing of the network 7

Basic Networking Commands 8 M n  How to detect if another machine is alive, the path to it, and resolve its DNS name to ip address, etc. …?

 Input and output queues (buffers)  Switch fabric (forwarding / routing) 9 A Router Model Scheduler queue 1 queue 2 …… queue k Classifier buffer management I 1 I 2 I m O1O1 O2O2 OnOn router

Basic Networking Commands  ping – check if machine is alive  ifconfig – interface (ip addr / mask) configuration  arp – link / network layer address mapping  netstat – status info of network configuration  telnet – remote terminal  ftp – file transfer tool  route – set static route of a machine  traceroute – gather route information  tcpdump – dump packet header  nslookup – resolve DNS name of target hostname Key : What can you infer about the network or end-to-end properties with these commands? 10

 Packet is processed at a router: -Packet enters at IP input queue from an interface (ifconfig) -Calculate next hop router based on longest-prefix match of packet header destination IP address with routing table entry Routing table is maintained dynamically by a daemon (e.g. gated), or statically by route command View routing info etc. via netstat command -If it’s an ICMP packet, further processing ICMP echo  ping -Decrement Time_To_Live (TTL), dicard packet if it’s zero and send ICMP error back to source  traceroute -Send packet to output queue (forwarding) -Nslookup: gives ip address of a host (or router I/f) name -Tcpdump can be used to view the whole packet! 11 Consider a Packet’s Life in a Router

Project: Measuring RTT  Write program to measure round-trip time between two end host on the Internet; -Refer to ping: write a simple wrapper program..  Propose a model for RTT prediction, i.e., give a sequence of RTT measures, estimate the next RTT value. -Measure several values of RTT. What can you say about the samples? If they are variable, what can you do to reduce the variability of the RTT estimate? -Time series model 12

Advanced Ideas: For Fun!  Can you correlate info across measurements using different techniques? -“Rocketfuel”: ISP maps -Skitter: Internet Maps -Pathchar: bandwidth measurement -Pathrate/Pathload: load/available bandwidth measurement -Visualization tools & utilities: -King: end-to-end latency estimator -Internet Traffic Archive: