Basic TCP/IP Networking

Slides:



Advertisements
Similar presentations
4 IP Address (IPv4)  A unique 32-bit number  Identifies an interface (on a host, on a router, …)  Represented in dotted-quad notation
Advertisements

CMPE 150- Introduction to Computer Networks 1 CMPE 150 Fall 2005 Lecture 25 Introduction to Computer Networks.
1 o Two issues in practice – Scale – Administrative autonomy o Autonomous system (AS) or region o Intra autonomous system routing protocol o Gateway routers.
IPv4 Addresses. Internet Protocol: Which version? There are currently two versions of the Internet Protocol in use for the Internet IPv4 (IP Version 4)
IST 201 Chapter 9. TCP/IP Model Application Transport Internet Network Access.
Lecture 5: TCP/IP OSI layers 3 (IP) and 4 (TCP/UDP) IPv4 – addresses and routing, “best-effort” service Ethernet, Appletalk, etc wrap IP packets with their.
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.
CSEE W4140 Networking Laboratory Lecture 3: IP Forwarding and ICMP Jong Yul Kim
Introduction to TCP/IP
Network Management And Debugging
TDC375 Autumn 03/04 John Kristoff - DePaul University 1 Network Protocols Internet Protocol (IP)
TDC365 Spring 2001John Kristoff - DePaul University1 Interconnection Technologies Routing I.
Network Layer IS250 Spring 2010
Chapter Overview TCP/IP Protocols IP Addressing.
CS 6401 Efficient Addressing Outline Addressing Subnetting Supernetting.
1 Chapter Overview Subnet. What is a subnet When you break a network into a few smaller networks, you have created several subnets Like IP address where.
Networking CSCI N321 – System and Network Administration Copyright © 2000, 2012 by Scott Orr and the Trustees of Indiana University.
3 Het IP-Protocol. 3 IP-protocol Services Routing Multiple client protocols Datagram delivery Independant from the Network Interface Layer Fragmentation.
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,
IP Addressing. Dotted Decimal Notation IP addresses are written in a so-called dotted decimal notation Each byte is identified by a decimal number in.
Spring Ch 18 IP Addresses. 2 Internet Protocol  Only protocol at Layer 3  Defines Internet addressing Internet packet format Internet routing.
RSC Part II: Network Layer 3. IP addressing Redes y Servicios de Comunicaciones Universidad Carlos III de Madrid These slides are, mainly, part of the.
1 26-Aug-15 Addressing the network using IPv4 Lecture # 2 Engr. Orland G. Basas Prepared by: Engr. Orland G. Basas IT Lecturer.
1 UNIX Networking. 2 Section Overview TCP/IP Basics TCP/IP Configuration TCP/IP Network Testing Dynamic Host Config Protocol (DHCP) Wireless Networking.
1 Internet Addresses (You should read Chapter 4 in Forouzan) IP Address is 32 Bits Long Conceptually the address is the pair ( NETID, HOSTID ) Addresses.
G64INC Introduction to Network Communications Ho Sooi Hock Internet Protocol.
The Network Layer. Network Projects Must utilize sockets programming –Client and Server –Any platform Please submit one page proposal Can work individually.
IPv4 Addresses. Internet Protocol: Which version? There are currently two versions of the Internet Protocol in use for the Internet IPv4 (IP Version 4)
PacNOG 6: Nadi, Fiji IP Basics Steven VanDevender Hervey Allen Network Startup Resource Center.
November 29, 2004 Prof. Paul Lin 1 CPET Internetworking, Addressing, and Routing Paul I-Hai Lin, Professor Electrical and Computer Engineering.
CN1260 Client Operating System Kemtis Kunanuraksapong MSIS with Distinction MCT, MCITP, MCTS, MCDST, MCP, A+
1 IP: putting it all together Part 1 G53ACC Chris Greenhalgh.
11 NETWORK LAYER PROTOCOLS Chapter 5 IP IPX NetBEUI AppleTalk.
Routing tables and Route Summarisation What is a routing table? How do I create a “good” one?
CIS 3360: Internet: Network Layer Introduction Cliff Zou Spring 2012.
RSC Part II: Network Layer 3. IP addressing Redes y Servicios de Comunicaciones Universidad Carlos III de Madrid These slides are, mainly, part of the.
Physical & Logical Address COMP 315. MAC Address A media access control address (MAC address) is a unique identifier assigned to network interfaces for.
Efficient Addressing Outline Addressing Subnetting Supernetting CS 640.
Communication Between Networks How the Internet Got Its Name.
Chapter 4, slide: 1 CS 372 – introduction to computer networks* Friday July 23, 2010 Announcements: r Midterms are graded. r Lab 4 is posted. Acknowledgement:
19.1 Chapter 19 Network Layer: Logical Addressing Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
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.
1 Chapter 8 – TCP/IP Fundamentals TCP/IP Protocols IP Addressing.
2010 paro, bhutan IP Basics IP/ISP Services Workshop July, 2010 Paro, Bhutan.
Page 1 Network Addressing CS.457 Network Design And Management.
IP1 The Underlying Technologies. What is inside the Internet? Or What are the key underlying technologies that make it work so successfully? –Packet Switching.
1 TCP/IP Networking Yue Cui 06/13/02. 2 Presentation Outline Introduction Packets and Encapsulation IP Addresses, Routing ARP, DHCP and PPP Security Issue.
TCP/IP Network Essentials
Linux Operations and Administration Chapter Eight Network Communications.
workshop eugene, oregon IP Basics Unix/IP Preparation Course July 19, 2009 Eugene, Oregon, USA
1 DETAILS OF PROTOCOLS The Zoo Protocol - TCP - IP.
1 Lecture, November 20, 2002 Message Delivery to Processes Internet Addressing Address resolution protocol (ARP) Dynamic host reconfiguration protocol.
CCNA Discovery Semester 3 Addressing in an Enterprise Network Chapter 4 K. Martin.
1 Objectives Identify the basic components of a network Describe the features of Internet Protocol version 4 (IPv4) and Internet Protocol version 6 (IPv6)
Chapter 8: IP Addressing
Introduction to Internetworking. 2 The IP Addressing Scheme (IPv4) (psu.edu) Dotted Decimal Notation: A notation more convenient for humans.
Submitted to: Submitted by: Mrs. Kavita Taneja Jasleen kaur (lect.) Hitaishi verma MMICT & BM MCA 4 th sem.
1 COMP 431 Internet Services & Protocols The IP Internet Protocol Jasleen Kaur April 21, 2016.
1 ECE453 – Introduction to Computer Networks Lecture 11 – Network Layer III – IP Protocol.
IP - Internet Protocol No. 1  Seattle Pacific University IP: The Internet Protocol Kevin Bolding Electrical Engineering Seattle Pacific University.
Discovery 2 Internetworking Module 4 JEOPARDY K. Martin.
Understand IPv6 Part 2 LESSON 3.3_B Networking Fundamentals.
LESSON Networking Fundamentals Understand IPv4.
Network Layer, and Logical Addresses
PART IV Network Layer.
Objective: Classful Internet Addressing
IPv4 Addresses.
Module 12 Network Configuration
IP Addressing.
Presentation transcript:

Basic TCP/IP Networking WeeSan Lee <weesan@cs.ucr.edu> http://www.cs.ucr.edu/~weesan/cs183/

Roadmap The Internet How the Internet is managed? TCP/IP IP Addresses CIDR IPv6 IP Address Allocation NAT Hostname and IP Address Assignment Routing vs Forwarding

The Internet Inter-networks via TCP/IP Originated from ARPANET Established in 1969 by DARPA Not invented by Al Gore!!! ARPANET → NSFnet NSFnet was commercialized in 1994 With help from Routing Arbiter Project Now, the Internet is a collection of networks managed by ISPs, who exchange traffic at NAPs

How the Internet is managed? ISPs manage their own networks Several organizations involve ICANN The Internet Corporation for Assigned Names and Numbers IETF The Engineering Task Force RFC-Editor Request For Comments RFC2555, 30 Years of RFCs

TCP/IP HTTP FTP SSH SMTP DNS Application layer TCP UDP Transport layer ICMP IP IGMP Network layer ARP/RARP Hardware Interface Link layer

TCP/IP (cont) "Be liberal in what you accept, and conservative in what you send." – Jon Postel (1943-1998)

TCP/IP (cont) HTTP HTTP TCP TCP The Internet IP IP Ethernet Ethernet

IP Addresses IPv4 Historical Internet address classes 4 bytes, eg. 138.23.169.9 Network & Host portion Historical Internet address classes A 1-126 N.H.H.H B 128-191 N.N.H.H C 192-223 N.N.N.H D 224-239 E 240-255

IP Addresses (cont) Problems Solutions Class B addresses were running out by 1995 Routing tables were too big to fit into memory Fragmentation Solutions Short-term CIDR – Classless Inter-Domain Routing Long-term IPv6

CIDR No more classes Uses prefix, /00 notation, eg. 138.23.0.0/16 Can be difficult to compute, eg. /26 Uses http://www.jodies.de/ipcalc

IPv6 16 bytes Consume more memory on routers? 128 bits Consume more memory on routers? Ready for years but too costly to deploy

IP Address Allocation ICANN delegates blocks of addresses to 5 regional Internet registries ARIN APNIC RIPE AfriNIC LACNIC

NAT Network Address Translation Translation private IP addresses into public Private IP addresses (RFC1918) A 10.0.0.1/8 B 172.16.0.0/12 C 192.168.0.0/16 It’s a hack but it works Some researchers hate it since it breaks e2e

Hostname and IP Address Assignment /etc/hosts 127.0.0.1 localhost 138.23.169.9 eon.cs.ucr.edu eon DNS Domain Name System DHCP Dynamic Host Configuration Protocol

Hostname and IP Address Assignment (cont) /bin/hostname Set or display current hostname /bin/ifconfig Enable and disable a network interface $ ifconfig eth0 up $ ifconfig eth0 down Set IP address, subnet mask, broadcast address $ ifconfig eth0 138.23.169.9 netmask 255.255.255.128 $ ifconfig eth0 $ ifconfig -a

Routing vs Forwarding Routing Forwarding Routing table A process to build up a routing table Forwarding A process to forward packets from one NIC to another by consulting the routing table Routing table $ netstat -rn Kernel IP routing table Destination Gateway Genmask Flags MSS Window irtt Iface 192.168.0.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0 169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth0 0.0.0.0 192.168.0.1 0.0.0.0 UG 0 0 0 eth0

Reference LAH Ch 12: TCP/IP Networking