Lab 07 Cisco Routers.

Slides:



Advertisements
Similar presentations
Learning about Neighboring and Remote Devices PJC CCNA Semester 2 Ver. 3.0 by William Kelly.
Advertisements

VMWare Workstation Installation. Starting Vmware Workstation Go to the start menu and start the VMware Workstation program. *Note: The following instructions.
CCNA 2 v3.1 Module 2.
Cisco Confidential 1 © 2011 Cisco and/or its affiliates. All rights reserved.
Cap 333 Network Administration. Grades  20 marks distributed on  Assignments / Project Activities Individual Pairs  1 or 2 tutorial quizzes.
1 Semester 2 Module 2 Introduction to Routers Yuda college of business James Chen
TAX-AIDE Network Router Setup Network Printer Setups July SMT/TCS Training - Dallas1.
1 Remote Access July 10, What we’ll cover Remote access to NCAR’s network Remote access to Servers, Routers, Switches.
Ch. 5 – Access Points. Overview Access Point Connection.
1 Semester 2 Module 3 Configuring a Router Yuda college of business James Chen
COMP 417 CISCO IOS CLI (Command-Line Interface). CLI Access Modes User EXEC Provides basic access to the IOS with limited command availability. Basically.
Packet Tracer: Novice Session
Packet Tracer 4.1: Novice Session
Linux Operations and Administration
Chapter 6 Router Configuration Sem 2V2. Configuration files can come from the console NVRAM TFTP server. The router has several modes:  privileged mode.
Configuring the MagicInfo Pro Display
Configuring a network os
Guide to Linux Installation and Administration, 2e1 Chapter 3 Installing Linux.
Hands-On Virtual Computing
User Interface Elements of User Interface Group View.
1 NETS KVM Setup July 11, What we’ll cover Setup and configuration User Interfaces Troubleshooting Open Issues Coming attractions.
Ericsson-LG Enterprise Proprietary | | Page 1 Slide title 30 pt Text and bullet level 1 minimum 24 pt Bullets level 2-5 minimum 20 pt Do not.
Networking in Linux. ♦ Introduction A computer network is defined as a number of systems that are connected to each other and exchange information across.
Introduction to Routers
CCNA2 Chapter 2 Cisco IOS Software. Cisco’s operating system is called Cisco Internetwork Operating System (IOS) IOS provides the following network services:
1 Day 2 Logging in, Passwords, Man, talk, write. 2 Logging in Unix is a multi user system –Many people can be using it at the same time. –Connections.
© 2006 Cisco Systems, Inc. All rights reserved.Cisco PublicITE I Chapter 6 1 Router Initialization steps.
Chapter 2: Configure a Network Operating System
Lab 07 Cisco Routers. Project Proposals  Due NOW!  Will review after lecture Will discuss with team captain Note: evening labs may have a longer wait.
Run the on your PC to start the firmware configuration process Run IP Config Tool.
CHAPTER 3 Router CLI Command Line Interface. Router User Interface User and privileged modes User mode --Typical tasks include those that check the router.
Cisco 2 - Routers Perrine. J Page 16/26/2016 Chapter 2 Cisco IOS Software Cisco’s operating system is called Cisco Internetwork Operating System (IOS)
Run the on your PC to start the firmware configuration process Run IP Config Tool.
1 Terminal Management System Usage Overview Document Version 1.1.
Operating Cisco IOS Software
Configuring Network Devices
Instructor Materials Chapter 8 Configuring Cisco Devices
Fundamental of Databases
Practical Office 2007 Chapter 2
Development Environment
© 2002, Cisco Systems, Inc. All rights reserved.
Instructor Materials Chapter 2: Configure a Network Operating System
Guide to Linux Installation and Administration, 2e
Lab 05 Firewalls.
Chapter 2: Configure a Network Operating System
CISCO IOS CLI (Command-Line Interface)
X-term Tutorial.
Introduction to Cisco IOS -(Internetwork Operating System)
Introduction to Networking
Windows Operating Systems (Cont.)
Telnet/SSH Connecting to Hosts Internet Technology.
Chapter 2: Configure a Network Operating System
Hardware Appliance Installation and Configuration
Windows xp PART 1 DR.WAFAA SHRIEF.
Chapter 5: Switch Configuration
Chapter 2: The Linux System Part 1
Getting Started: Amazon AWS Account Creation
Radoslaw Jedynak, PhD Poland, Technical University of Radom
Chapter 11 Supporting Printers and Scanners
Remote Computing Services Cloud connection Distributed system
Software Setup & Validation
Linux Professor Sabol.
Lecture9: Embedded Network Operating System: cisco IOS
How to output NW camera picture to external monitor.
X-term Tutorial.
Active Tests and Traffic Simulation: Module Objectives
RapidFinder Analysis Software How-To Guide
Lecture9: Embedded Network Operating System: cisco IOS
Presentation transcript:

Lab 07 Cisco Routers

Project Proposals Due NOW! Will review after lecture Will discuss with team captain and TA Captain must remain until review

Overview: Why this lab Linux tricks Cisco Router Package Management Systems Install new software (minicom) Cisco Router Using a serial terminal to configure a device Cisco router in this case Resetting a router from an unknown state Configuring a router Use of a router to connect different networks

Installing additional software packages

Linux Tricks Packages

Packages Used to “package” software for Linux distributions Vary by distribution type Debian APT (Advanced Package Management Tool) .deb files Red Hat RPM (RPM Package Management) Originally Red Hat Package Management) .rpm files

Package Management System Aids in the installation, configuring, upgrading and removal of software packages Several styles Debian dpkg – base tool apt – cli interface Aptitude – high level cli interface synaptic – gui interface Red Hat yum – base tool Has a cli PackageKit – gui interface Plenty of other systems Mandriva MPM under dev. Drakrpm Slackware pkgtool

Package Management System PMS vs. Installer Package Management System Installer Typically part of the operating system. Each product comes bundled with its own installer. Uses a single installation database. Performs its own installation, sometimes recording information about that installation in a registry. Can verify and manage all packages on the system. Only works with its bundled product. Single package management system vendor. Multiple installer vendors. Single package format. Multiple installation formats.

Installing additional software in Debian Base: dpkg Basic low level system Creates, installs, maintains .deb packages Three popular “high level” options in Debian: APT Advanced Package Tool Set of commands to install/update/delete packages apt-get – the main command Has several options Aptitude Interactive front end Synaptic GUI interface

APT Advanced Package Tool Several tools in system Apt-setup Apt-spy Helps generate sources.list Apt-cache Searches for packages Apt-get Installs, maintains and removes Many more!

APT-GET Syntax: Installs/maintains dpkg packaged files apt-get [options] [-o config=string] [-c=cfgfile] command [pkg] Installs/maintains dpkg packaged files .deb extension To install a package Need to know the package name May need to have root authority apt-get install pkgname E.g. apt-get install apache2 apt-get finds packages based on your sources list /etc/apt/sources.list There are other options to help installation and updating apt-get update … apt-get remove … etc…

/etc/apt/sources.list #cat sources.list # # deb cdrom:[Debian GNU/Linux 4.0 r0 _lenny_ - Official i386 DVD Binary-1 20070407-11:40]/ lenny contrib main deb cdrom:[Debian GNU/Linux 4.0 r0 _lenny_ - Official i386 DVD Binary-1 20070407-11:40]/ lenny contrib main deb http://ftp.debian.org/debian/ lenny main deb-src http://ftp.debian.org/debian/ lenny main deb http://security.debian.org/ lenny/updates main contrib deb-src http://security.debian.org/ lenny/updates main contrib deb http://backports.sipo.nl lenny-backports main non-free deb http://www.backports.org/debian lenny-backports main contrib non-free

Aptitude ncurses APT front end Syntax: cli “window” Interactive aptitude install package

Synaptic GUI interface to install packages To install: Under: System  Administration May be 1000’s of packages Can do a search to limit choices To install: Scroll to package to install Click on the S box for that package Check Mark for installation Click on Mark in the next window Click on Apply back in the Synaptic Package Manager window

Important Note! To install packages your workstation must be in the same network as the package repository hades.lab Think! How do you easily get an address that is in the hades.lab domain?

Cisco Router Lab

Cisco Router Lab Overview Use a Cisco router to connect 3 or 4 different networks Different Class C networks E.g. 192.168.10.0 192.168.20.0 192.168.30.0 192.168.40.0 Use Debian workstations

Separate networks Remember: If PCs are in different logical networks they are not allowed to communicate with each other Pinging will not work even if they are on the same physical network Electronic signal will be seen, but not responded to

Connect 3 or 4 Class C networks with a Cisco router myrouter 192.168.10.1 192.168.20.1 Class C PC 192.168.20.2 Class C PC 192.168.10.2 (192.168.20.0 NW) (192.168.10.0 NW) 192.168.30.1 192.168.40.1 Class C PC 192.168.30.2 Switch (192.168.30.0 NW) (192.168.40.0 NW) Class C PC 192.168.40.2 Class C PC 192.168.40.3 Class C PC 192.168.40.4

Lab has 4 steps Install, configure, and test the Minicom serial terminal (everyone) You will need Minicom for later labs Consider saving this VM for later use Set up the Cisco router Reset to factory defaults Set initial configuration Test to see if the router is routing Optional: See if can hook two routers together to get all workstations to communicate Save the configuration and test that it restarts with your last configuration

Serial terminal Minicom

Minicom Minicom is: This lab will only use the terminal emulation part Open source software A text-based modem controller and terminal emulation program for Unix-like operating systems Menu driven This lab will only use the terminal emulation part

Minicom Must configure the terminal to communicate to the serial device Need to set device to communicate to the serial port on the Cisco router Speed: 9600 Bits: 8 Parity: N Stop bits: 1 9600 8n1 Typical default for current serial interfaces

Minicom Hints <ctrl>+A then Z <ctrl>+A then (letter) Shows help menu page Can enter the letter for an option here <ctrl>+A then (letter) Directly does that letter option Interesting Keys <ctrl>+A then F <break> Special signal to get the attached serial device’s attention “Space” for a “long” time (typically 0.1 to 0.5 sec) <ctrl>+A then W Toggle line-wrap Continues long text on the following line This is important for this lab! Important: Don’t forget to release the <ctrl> before hitting the second character!

Minicom Hints Must have root authority to run Minicom Or belong to a group allowed r/w access to the serial port To run minicom type minicom in an appropriate terminal The first time minicom is run you may need to start it in setup mode: minicom –s The virtual serial port may be either: /dev/ttyS0 /dev/ttyS1

Notes/Warnings Note: Some of your PCs at home might have two serial ports ttyS1 and ttyS0 Beware if you use the VM on a home system

Misc: Many other alternatives to minicom screen Full screen (text) window manager Can be used as a serial terminal also screen /dev/ttyUSB0 9600 Will control a USB serial device at 9600 bps Used by the “Pros” putty Cross platform Windows version available “GUI” Multi protocol serial ssh telnet

Cisco Router

Reset router When you get the router it will be in an unknown state Settings? Passwords? Etc… Need to reset the router to the factory original settings Not as simple as an easy-to-push reset button There is no reset button! There is a specific reset sequence Done via a serial port

Configure and Test router Configure the router Set up passwords Remember to change the default immediately Set up the 3 or 4 ports with IP addresses E.g. 192.168.11.1 192.168.12.1 192.168.13.1 Etc… For the 3rd octet use then number of the workstation that will attach to it

Configure and Test router Explore the router Unprivileged mode Basic commands to see router's state Use “disable” to return to unprivileged mode Privileged mode Can change router state Has several sub modes Use “enable” to enter <ctrl>-Z will exit sub states

Configure and Test router Default router settings Will monitor its ports Automatically build routing tables In this lab we will not do a customized routing table The router will build its own tables Hook up VMs with appropriate network addresses to the correct ports VM address must be in the same network as the router port they are connected to The Cisco 1841 will create its own routing tables Your VMs must know where there router is Look at the previous lab, it has the basis to configure this

Advanced: Connect 2 routers together Disconnect a workstation from each of the routers Connect routers with a cable Reconfigure router ports Test that all can ping Document for bonus points

Save Configuration After configuration: If the router is power cycled It will resume its last saved state Need to save the configuration you just set up Do this as the last item

Equipment etiquette Return equipment Routers back to bench Power cords to storage Cables back to storage Hook the PC back to lab network Log off Power workstation down

Pro Note Many sysadmins prefer the screen command Screen is a screen manager with terminal emulation capability It is more difficult to set up Lightweight and “easy” to use If you know how

Last Notes Minicom The lab has an example dialog Connect workstation serial port and router Turn router on Should see intelligible messages if Minicom is configured correctly If not, double check Minicom’s settings The lab has an example dialog Do not use verbatim! Use as a template to guide you Change the IP addresses for your use Change the names to your names

Deliverable Lab report answering the questions and ** items Include introductory and conclusion Must have cover sheet! Do not document text areas with screen captures! Cut and paste Redirect output to file