Terminology and basic structures for lab 1 ©2012 Prof. José María Foces Morán.

Slides:



Advertisements
Similar presentations
Jump to first page Setup Ethernet & PPP client on Laptop computer Presented by: Xuewu Cai Jianfang Wang.
Advertisements

Wireless Networking. Wireless Standards a b g n.
1 ICS 156: Lecture 2 (part 2) Data link layer protocols Address resolution protocol Notes on lab 2.
Chapter 5 Intro to Routing & Switching.  Upon completion of this chapter, you should be able to:  Describe the operation of the Ethernet sublayers.
Networks Terminology and Hardware. Network A network is a group of connected computers that can communicate with each other to share information and equipment,
1 © 2004, Cisco Systems, Inc. All rights reserved. Chapter 3 Ethernet Technologies/ Ethernet Switching/ TCP/IP Protocol Suite and IP Addressing.
IST 201 Chapter 9. TCP/IP Model Application Transport Internet Network Access.
© 2007 Cisco Systems, Inc. All rights reserved. 1 Network Addressing Networking for Home and Small Businesses – Chapter 5.
Linux network troubleshooting If your network connection is not working..
Week 5: Internet Protocol Continue to discuss Ethernet and ARP –MTU –Ethernet and ARP packet format IP: Internet Protocol –Datagram format –IPv4 addressing.
MCDST : Supporting Users and Troubleshooting a Microsoft Windows XP Operating System Chapter 13: Troubleshoot TCP/IP.
Linux+ Guide to Linux Certification, Second Edition Chapter 14 Network Configuration.
TDC 461 Basic Communications Systems Local Area Networks 29 May, 2001.
Network Management And Debugging
Network Debugging Organizational Communications and Technologies Prithvi Rao H. John Heinz III School of Public Policy and Management Carnegie Mellon University.
04/26/2004CSCI 315 Operating Systems Design1 Computer Networks.
Chapter 2 Internet Protocol DoD Model Four layers: – Process/Application layer – Host-to-Host layer – Internet layer – Network Access layer.
Computer Networks & Security
Computer Networks Eyad Husni Elshami. Computer Network A computer network is a group of interconnected computers to share data resources ( printer, data.
Linux Setting up your network. Basic Approaches Configure during installation –Disadvantage -> not able to redo easily –Advantage-> holds your hand Configure.
Chapter 2 Review of Computer Network Technology
Linux Networking Commands
Basic Networking for DVR’s Instructor’s name : Everfocus Sales Rep.
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,
Network Redundancy Multiple paths may exist between systems. Redundancy is not a requirement of a packet switching network. Redundancy was part of the.
TC 361 Data Networking Test Review
Chapter 4: Managing LAN Traffic
Chapter 5 Networks Communicating and Sharing Resources
Managing Network connections. Network Cabling Ethernet Topology Bus topology – Connects each node in a line – Has no central connection point Star topology.
Networking for server IT specialists Zdeněk Filipec Network Engineer.
HALP! Something is in my tubes! Part I by Jason Testart, IST.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Version 4.0 OSI Network Layer Network Fundamentals – Chapter 5.
Page 1 COMP210 Network layer. Page 2 The Network Layer  The network layer is responsible for establishing, maintaining and terminating connections 
Network Admin Course Plan Accede Institute Of Science & Technology.
Brierley 1 Module 4 Module 4 Introduction to LAN Switching.
Operating Systems Lesson 10. Networking Communications protocol is the set of standard rules for ◦ Data representation ◦ Signaling ◦ Authentication ◦
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.
© 2007 Cisco Systems, Inc. All rights reserved. 1 Network Addressing Networking for Home and Small Businesses – Chapter 5 Darren Shaver – Modified Fall.
Linux+ Guide to Linux Certification Chapter Fifteen Linux Networking.
Linux+ Guide to Linux Certification, Second Edition Chapter 14 Network Configuration.
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.
11 NETWORK CONNECTION HARDWARE Chapter 3. Chapter 3: NETWORK CONNECTION HARDWARE2 NETWORK INTERFACE ADAPTER  Provides the link between a computer and.
1 Internet Tool Practice 한두균 송정환
CTC 228 – Computer Networks Fall 2015 Instructor: Robert Spengler.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public ITE PC v4.0 Chapter 1 1 Ethernet Network Fundamentals – Chapter 9.
Linux Setting up your network. Basic Approaches Configure during installation –Disadvantage -> not able to redo easily –Advantage-> holds your hand Configure.
IP network tools & troubleshooting AFCHIX 2010 Nairobi, Kenya October 2010.
Summary - Part 2 - Objectives The purpose of this basic IP technology training is to explain video over IP network. This training describes how video can.
CSC 116 – Computer Networks Fall 2015 Instructor: Robert Spengler.
Cisco Certified Network Associate Exam Objectives  To be able to install and configure Cisco routers.  To have a working knowledge of TCP/IP.
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.
Networks Network Components. Learning Objectives Describe different media for transmitting data and their carrying capabilities. Explain the different.
LANS A Overview (also a Review). NICS  Could be Ethernet, FDDI, Token Ring or Wireless.  Multiple Protocols can be bound to a NIC.  In WinDoze all.
CSN09101 Networked Services Week 5 : Networking
CTC 228 – Computer Networks Fall 2015 Instructor: Robert Spengler.
A+ Guide to Managing and Maintaining Your PC Fifth Edition Chapter 18 PCs on a Network.
1 COMP 431 Internet Services & Protocols The IP Internet Protocol Jasleen Kaur April 21, 2016.
ITMT Windows 7 Configuration Chapter 5 – Connecting to a Network ITMT 1371 – Windows 7 Configuration 1.
UDP. User Datagram Protocol (UDP)  Unreliable and unordered datagram service  Adds multiplexing  No flow control  Endpoints identified by ports 
Linux network troubleshooting
Chapter Objectives In this chapter, you will learn:
Local Area Networks Honolulu Community College
Chapter 9 Ethernet Part II
Physical & Data-link ISQS 6343 #2 John R. Durrett.
e-business and Information Systems
Why Use a Computer Network?
أ.كمال عيد كلية المعلمين حائل
Presentation transcript:

Terminology and basic structures for lab 1 ©2012 Prof. José María Foces Morán

 LAN : Local Area Network. 10 to 1000 m  University campus.  MAN : Metropolitan Area Network. 1 a 10 Km  A city  WAN : Wide Area Network. Más de 10 Km  A province, a country ©2010 Prof. José María Foces Morán

 Medios físicos de transmisión  Twisted pair cables  Inexpensive, entre 10 y 1000 Mbps (Mega bits per second) ▪ STP (Shielded Twisted Pair) ▪ UTP (Unshielded) ▪ Cat 3 (30 Mbps) ▪ Cat 5 (100 Mbps) ▪ Cat 6 (1 Gbps) ©2010 Prof. José María Foces Morán

 Coaxial cables  Single, inner conductor ▪ Thick (2Km max length, 20Mbps max. frequency) ▪ Thin (RG-58/U)  Noise sensitive  T Connector, BNC type  Termination resistors ©2010 Prof. José María Foces Morán

 Fiber optics  Transmission of light ray in a light- transmitting material  Immune to electromagnetic radiation  In the order of Gbps, depending on grade  Monomode  Multimode  Laser and LED drivers ©2010 Prof. José María Foces Morán

 Network Interface Card (NIC)  Provides access to a LAN  By using a cable or optical fibers  Connected to a computer by using a PCI-X bus  Associated to a unique level-2 address ▪ MAC (Media Access Control address) o LLA ( Link Level Address ) ▪ A 48-bit number assigned by the IEEE ©2010 Prof. José María Foces Morán

 Concentrator (HUB)  Creates a unique collision and broadcast domain  All nodes share the physical medium  As though it were a single cable shared by all nodes  Virtually not used today  Operates at the physical level (OSI level 1) ©2010 Prof. José María Foces Morán

 Conmutador (SWITCH)  Supports several “ communications” at the same time  Several two-node pairs may opt to the full bandwidth  Most common case today  These devices learn the MAC addresses of the nodes as they initiate communication  Operates at the level 2 ©2010 Prof. José María Foces Morán

 Switch, basic functions:  MAC Address learning ▪ Keeps a table that associates port number and MAC: Content Addressable Memory  Filtering  Forwarding ©2010 Prof. José María Foces Morán

 A switched LAN with two segments  Uplink :  A special port that aggregates traffic  Higher bandwidth than the other ports ▪ 1000-BASE-T over CAT6 twisted-pair cables ▪ Gigabit Ethernet over MM (Multi Mode) fiber optics ©2010 Prof. José María Foces Morán

 IP Router:  Works at the internetwork level (OSI no. 3)  PDU: Forwards IP packets  Used to create internetworks  Functions  IP forwarding  DHCP server  NAT/PAT  Firewall ©2010 Prof. José María Foces Morán

 Each IP address is 32 bits in length  Four bytes a.b.c.d: ▪ Decimal ▪ Hex 0x0 – 0xff  Hierarchical, two parts: ▪ Network number ▪ Example/24: 24 bits ▪ Node number: ▪ 32 – 24 = 8  Two special cases ▪ Broadcast: ▪ Loopback: ©2010 Prof. José María Foces Morán

▪ IP address types: ▪ Classful  A, B y C, etc. ▪ CLASSLESS  CIDR/VLSM ▪ Private ranges  For use within an organization ▪ Public  For addressing in the general Internet ▪ We will explain how to calculate the network number, etc ©2010 Prof. José María Foces Morán

▪ Each node has two addresses: ▪ MAC (Its network interface card, NIC) ▪ IP address ▪ How are these addresses related? ▪ Address Resolution Protocol ▪ ARP keeps the relation between the two up-to-date ▪ Play with the arp –a command in your system ©2010 Prof. José María Foces Morán

 Discover the network configuration of your system  Operating system name  IP address  This system’s NICs MAC addresses  The network mask  Our access router (Default router)  Arp table  Name server ©2010 Prof. José María Foces Morán

 Boot your system to Linux  Login into your system:  The instructor will provide user/passwd  Request a shell (A terminal or command processor)  Which system is this? Type the following command after the shell prompt:  $ uname –a Linux llull #1 SMP Thu Aug 19 03:44:10 UTC 2010 i686 GNU/Linux  The name of this node  $ hostname llull ©2010 Prof. José María Foces Morán

 The man command offers you the manual page of the indicated command:  $ man uname  Other Unix useful commands:  $ ls –l  $ pwd  $ cat /etc/services  $ more /etc/hosts  $ exit  $ netstat –a | grep SOCK | more ©2010 Prof. José María Foces Morán

 Your system may have more than one installed  $ man ifconfig  $ ifconfig eth0 Link encap:Ethernet HWaddr 90:e6:ba:cd:96:d9 inet addr: Bcast: Mask: inet6 addr: fe80::92e6:baff:fecd:96d9/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:498 errors:0 dropped:0 overruns:0 frame:0 TX packets:418 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:47523 (46.4 KiB) TX bytes:54582 (53.3 KiB) Interrupt:220 Base address:0x2000  What do the different fields mean? Consult the manual page, lookup the following fields:  Link encap: Ethernet  Hwaddr:  inet addr:  Bcast:  Mask: ©2010 Prof. José María Foces Morán

 $ netstat –a Active Internet connections (servers and established) Proto Recv-Q Send-Q Local Address Foreign Address State tcp 0 0 *:nfs *:* LISTEN tcp 0 0 *:afpovertcp *:* LISTEN tcp 0 0 *:swat *:* LISTEN tcp 0 0 *:36938 *:* LISTEN tcp 0 0 *:sunrpc *:* LISTEN tcp 0 0 *:56501 *:* LISTEN tcp 0 0 localhost:ipp *:* LISTEN tcp 0 0 localhost:smtp *:* LISTEN tcp 0 0 *:59514 *:* LISTEN tcp 0 0 *:26 *:* LISTEN tcp 0 0 llull.local: :49699 ESTABLISHED tcp6 0 0 [::]:netbios-ssn [::]:* LISTEN tcp6 0 0 [::]:www [::]:* LISTEN ©2010 Prof. José María Foces Morán

Ejecutad este comando antes de continuar: $ PATH=$PATH:/usr/sbin:/sbin arp -v Address HWtype HWaddress Flags Mask Iface Time-Capsule-Augustus-A ether 00:24:36:a2:e4:50 C eth0 Entries: 1Skipped: 0Found: 1 arp -vn Address HWtype HWaddress Flags Mask Iface ether 00:24:36:a2:e4:50 C eth0 Entries: 1Skipped: 0Found: 1 ©2010 Prof. José María Foces Morán

$ man ping Packet Internet Groper test IP connectivity (OSI level 3) ping paloalto.unileon.es PING paloalto.unileon.es ( ) 56(84) bytes of data. 64 bytes from paloalto.unileon.es ( ): icmp_seq=1 ttl=255 time=0.266 ms 64 bytes from paloalto.unileon.es ( ): icmp_seq=2 ttl=255 time=0.121 ms ©2010 Prof. José María Foces Morán

llull:/home/chema# traceroute paloalto.unileon.es traceroute to paloalto.unileon.es ( ), 30 hops max, 40 byte packets 1 paloalto.unileon.es ( ) ms ms ms llull:/home/chema# traceroute traceroute to ( ), 30 hops max, 40 byte packets 1 Time-Capsule-Augustus-Aurelius.local ( ) ms ms ms 2 n unileon.es ( ) ms ms ms 3 n unileon.es ( ) ms ms ms 4 GE EB-Valladolid0.red.rediris.es ( ) ms ms ms 5 CAL.SO6-1-1.EB-IRIS4.red.rediris.es ( ) ms ms ms ©2010 Prof. José María Foces Morán

 $ route –a route -v Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface * U eth0 default Time-Capsule-Au UG eth0 route -vn Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface U eth UG eth0 ©2010 Prof. José María Foces Morán

 What’s the purpose of the following files?  ( See $ man hosts for example)  /etc/hosts  /etc/services  /etc/networks ©2010 Prof. José María Foces Morán

 Determine the following network configuration parameters of your system: ① Your network access NIC’s MAC address ② Your local net’s default router ip address ③ Your NIC’s network mask ④ Which type if your IP address, A, B or C? ▪ Determine the first high order bits of the IP address ▪ Class A: MSb is a 0 ▪ Bit 31 is a 1 and bit 30 is a 0 ▪ Bit 31 is a 1, bit 30 is a 1 and bit 29 is a 0 ©2010 Prof. José María Foces Morán

 Use your browser to access then, discover how this new connection appears in the output of the following command:  $ netstat –a | more  Which local and remote ports make up this connection? ©2010 Prof. José María Foces Morán

 Required/recommended computing infrastructure for completing the CN Labs  A standard Windows-XP or Windows-7 installation ▪ Test basic IP configuration commands ▪ Install OpNet Simulator, student version  Ubuntu Linux ▪ Basic IP configuration, routing, DNS client ▪ Java Compiler and Runtime + IDE ▪ Wireshark Network Analyzer ©2010 Prof. José María Foces Morán