IP networks Introduction to laboratory



Similar documents
NETWORK EMULATION AND NETKIT

Version Author(s) Web Description

Emulating Computer Networks with Netkit. Massimo Rimondini

Computer Science and Engineering Linux Cisco VPN Client Installation and Setup Guide

The Virtual Environment

How to Restore a Linux Server Using Bare Metal Restore

Virtual Appliance for VMware Server. Getting Started Guide. Revision Warning and Disclaimer

Installing Proview on an Windows XP machine

APPLICATION NOTE. How to build pylon applications for ARM

Guide to the Configuration and Use of SFTP Clients for Uploading Digital Treatment Planning Data to IROC RI

Hadoop Basics with InfoSphere BigInsights

Guide to the Configuration and Use of SFTP Clients for Uploading Digital Treatment Planning Data to ITC

AlienVault Unified Security Management (USM) 4.x-5.x. Deploying HIDS Agents to Linux Hosts

VX 9000E WiNG Express Manager INSTALLATION GUIDE

ISERink Installation Guide

Creating a DUO MFA Service in AWS

1. Product Information

The Tor VM Project. Installing the Build Environment & Building Tor VM. Copyright The Tor Project, Inc. Authors: Martin Peck and Kyle Williams

Online Backup Client User Manual Linux

EVault for Data Protection Manager. Course 361 Protecting Linux and UNIX with EVault

Installing the Operating System or Hypervisor

Chapter7 Setting the Receiving PC for Direct Upload. Setting the Receiving PC for Direct Upload For Windows For Macintosh...

Easy Setup Guide 1&1 CLOUD SERVER. Creating Backups. for Linux

INSTALL ZENTYAL SERVER

MATLAB on EC2 Instructions Guide

RecoveryVault Express Client User Manual

The 2013 Experimental Warning Program (EWP) Virtual Weather Event Simulator (WES) Windows & Linux Installation Documentation

ECT362 Installing Linux Virtual Machine in KL322

Using ESXi with PowerChute Business Edition

Online Backup Linux Client User Manual

netkit lab single-host Università degli Studi Roma Tre Dipartimento di Informatica e Automazione Computer Networks Research Group

Online Backup Client User Manual

TimeIPS Server. IPS256T Virtual Machine. Installation Guide

Addonics T E C H N O L O G I E S. NAS Adapter. Model: NASU Key Features

Lab Configuring Access Policies and DMZ Settings

ORACLE BUSINESS INTELLIGENCE WORKSHOP. Prerequisites for Oracle BI Workshop

Recover Data Like a Forensics Expert Using an Ubuntu Live CD

Building a Penetration Testing Virtual Computer Laboratory

How To Install A Safesync On A Server

Using Virtual PC 7.0 for Mac with GalleryPro

How to Use? SKALICLOUD DEMO

Option nv, Gaston Geenslaan 14, B-3001 Leuven Tel Fax Page 1 of 14

VPN: Virtual Private Network Setup Instructions

SAS3 INSTALLATION MANUAL SNONO SYSTEMS 2015

BLACK BOX. Quick Start Guide. Virtual Central Management System (VCMS) Works with LES Series Console Servers. LES-VCMS. Customer Support Information

Partek Flow Installation Guide

ERIKA Enterprise pre-built Virtual Machine

Quick Instructions Installing on a VPS (Virtual Private Server)

Cassandra Installation over Ubuntu 1. Installing VMware player:

Cloud Storage Quick Start Guide

Tera Term Telnet. Introduction

Local File Sharing in Linux

Virtzone Cloud Control User Guide

Corso di Configurazione e Gestione di Reti Locali

Testing your Linux Virtual Box

ECView Pro Network Management System. Installation Guide.

Accessing SSL VPN with Mac OS X

A SHORT INTRODUCTION TO BITNAMI WITH CLOUD & HEAT. Version

Contents Introduction... 3 Introduction to Active Directory Services... 4 Installing and Configuring Active Directory Services...

FOG Guide. IPBRICK International. July 17, 2013

NAS 249 Virtual Machine Configuration with VirtualBox

HDA Integration Guide. Help Desk Authority 9.0

Attix5 Pro Server Edition

VERSION 9.02 INSTALLATION GUIDE.

Online Backup Client User Manual

SOA Software API Gateway Appliance 7.1.x Administration Guide

Lab Configuring Access Policies and DMZ Settings

Extreme Control Center, NAC, and Purview Virtual Appliance Installation Guide

Connect the Host to attach to Fast Ethernet switch port Fa0/2. Configure the host as shown in the topology diagram above.

Virtual Appliance Setup Guide

Using Network Attached Storage with Linux. by Andy Pepperdine

Overview Customer Login Main Page VM Management Creation... 4 Editing a Virtual Machine... 6

Accessing VirtualBox Guests from Host using SSH, WinSCP and Tunnelling

BaseManager & BACnet Manager VM Server Configuration Guide

Cisco VoIP CUCM Labs by Michael T. Durham. Lab 1 - VMWare Hypervisor ESXi 5.1 Download and Free License

GMS. 1 Create the virtual machine 2 Configure the virtual machine 3 Configure the virtual GMS server. Quick Start Guide. Microsoft Hyper-V Hypervisor

SQL Server 2008 R2 Express Edition Installation Guide

PT Activity 8.1.2: Network Discovery and Documentation Topology Diagram

JAMF Software Server Installation Guide for Linux. Version 8.6

GETTING STARTED WITH FLEXI-CLOUD

McAfee Firewall for Linux 8.0.0

ICS 351: Today's plan

Land Information New Zealand (LINZ) SALT Database. Migration from original hardware to virtualised hardware: Process Documentation

EVault Software. Course 361 Protecting Linux and UNIX with EVault

CycleServer Grid Engine Support Install Guide. version 1.25

What is new in Switch 12

How to Install SQL Server 2008

SAP CRM on SAP HANA Getting Started Today with 9 Easy Steps. May 2014

Create a virtual machine at your assigned virtual server. Use the following specs

Management, Logging and Troubleshooting

Installation & Configuration Guide Version 1.0. TekSIP Route Server Version Installation & Configuration Guide

Desktop : Ubuntu Desktop, Ubuntu Desktop Server : RedHat EL 5, RedHat EL 6, Ubuntu Server, Ubuntu Server, CentOS 5, CentOS 6

Computer Science and Engineering MacOS Cisco VPN Client Installation and Setup Guide

1. Downloading. 2. Installation and License Acquiring. Xilinx ISE Webpack + Project Setup Instructions

Preparing a SQL Server for EmpowerID installation

Getting Started. Symantec Client Security. About Symantec Client Security. How to get started

Creating a Linux Virtual Machine using Virtual Box

Installing Management Applications on VNX for File

Verax Service Desk Installation Guide for UNIX and Windows

Active Directory Integration for Greentree

Transcription:

IP networks Introduction to laboratory Piotr Pacyna, Katarzyna Kosek-Szott, Szymon Szott Working environment Laboratory exercises are based on netkit (www.netkit.org), a virtualization system, which allows to start multiple linux-based hosts as processes in a linux operating system. Netkit uses virtual hosts, which are managed (created and operated) like other network applications, a feature known as the user-mode linux (UML Linux). In the lab, these hosts play the role of software-based routers or end hosts. They are interconnected in many different ways, depending on the particular laboratory scenario, so that the whole setup becomes a virtual network. Netkit is a very convenient emulation framework. It is particularily suitable for experimentation with network protocols and learning protocol interactions that take place between network elements. Students shall be using one physical host machine (see Figure 1). It is a high-performance PC equipped with RAM sufficient to host multiple virtual guest machines running concurrently. Piotr Pacyna, Katarzyna Kosek-Szott, Szymon Szott 1

Figure. 1. Netkit virtualization platform The manual for netkit are available at: http://wiki.netkit.org/man/man7/netkit.7.html User interface The following screenshot (Fig. 2) show the user interface. Windows In the left-hand side of the figure are consoles that offer access to virtual devices (routers and hosts). Window on the right-hand side is a console of a host PC, which serves as a virtualization platform. Figure 2. Graphical user interface Virtual machines can be configured with multiple virtual network interfaces. As such, they can emulate multiple physical network cards. When such a machine is equipped with routing software, it will act as a software-based router. Routing software is based on Quagga Piotr Pacyna, Katarzyna Kosek-Szott, Szymon Szott 2

(Zebra). Quagga is a routing demon. It implements RIP, OSPF and BGP, among others. In the lab, we will be using all these routing protocols. Benefits from using virualization in the lab The main reasons to use netkit-based virtualization for experiments are the following: Every student will act as a network administrator and will retain full control of the network. Some network scenarios employ as many as 11 routers. Every student can configure multiple devices at a time. Every device can be configured differently. The netkit framework allows to prepare the laboratory exercises in advance, as preconfigured network topologies. It allows students to concentrate on the essentials. Learning is more efficient then. Virtual environment allows unrestricted access to all elements of a configuration, which can be adjusted or altered. System-level networking software is used in the virtual environment. It emulates the network, so network characteristics (for ex ample protocol behavior) and interactions between elements are well reflected Command-line interface to routers is compatibile with command-line syntax in Cisco routers. The skills can later be used in managing Cisco routers. Netkit can be used to develop hybrid scenarios (mixed virtual-physical), i.e. to interconnect virtual network with a physical network infrastructure. Netkit can be installed and used at home to get more experience with routing protocols (see information on web page: www.netkit.org ). Preparation for the lab 1. While booting a PC in the lab remember to select netkit as your operating system. It is based on Ubuntu, with netkit software preinstalled. 2. Credentials are: login: student, password: student. When the system is first booted, you are logged in automatically. 3. If you want to start working with netkit right now, use the root account. Execute sudo i in order to switch to root account. 4. Right after logging into the root account, check that the following environment variables are set: NETKIT_HOME=/home/netkit/netkit MANPATH=/home/netkit/netkit/man PATH=/home/netkit/netkit/bin:/ If the variables are not set as shown above, go back to step 3. Piotr Pacyna, Katarzyna Kosek-Szott, Szymon Szott 3

6. User manuals and pre-configured netkit startup scripts are available at: http://www.kt.agh.edu.pl/~pacyna tab Lectures, --->IP Networks. 7. If the manual is accompanied with startup scripts, then the scripts need to be unpacked in a new directory on a local hard drive. The hard disk must be previously mounted, because the operating does not mount it automatically. In order to mount the drive, go to computer screen (Desktop) and select Places in the menu bar at the top of the Desktop and click hard disk label (for example TARGET, 157.9 GB Media). Warning: do not unpack startup scripts in your home directory or in ~/Desktop If an error message is shown, you have to mount the disk from command line : sudo mkdir /media/disk sudo mount -t ntfs-3g /dev/sda2 /media/disk -o force The disk is usually available at mount point: /media/disk. 8. Use lstart command line, to start the unpacked scripts. 9. Note that the file systems of virtual hosts are separate from the file system of the physical host, so there s no simple way to transfer files between virtual machines and the physical one other than, for example, scp. However, note the following. Inside every virtual machine there is a special directory named /hosthome. This directory points to your home directory on the host (typically, /home/<username>). Hence, anything you write into /hosthome will be made available on the host, and you can bring host files into your virtual machine as well. 10. If you plan to prepare a hybrid virtual-physical scenario, see the following: http://wiki.netkit.org/index.php/faq#frequently_asked_questions, Netkit Usage I would like to set up a lab with a virtual machine connected to the Internet. How can I do that? 11. Use lhalt or lcrash to stop virtual machines. Sample session student@student:~$ sudo mkdir /media/disk student@student:~$ sudo mount /dev/sda2 /media/disk student@student ipn:~$ cd /media/disk student@student:/media/disk$ mkdir temp student@student:/media/disk$ cd temp student@student:/media/disk/temp$ wget http://www.kt.agh.edu.pl/~pacyna/lectures/sieci_komputerowe/ laboratoria/rip/lab-static-routing.tar.zip student@student:/media/disk/temp$ unzip lab-staticrouting.tar.zip Piotr Pacyna, Katarzyna Kosek-Szott, Szymon Szott 4

student@student:/media/disk/temp$ tar xvf lab-staticrouting.tar student@student gipn:/media/disk/temp$ cd lab-staticrouting/ student@student:/media/disk/temp/lab-static-routing$ lstart Controlling netkit with built-in commands Use the following commands to control netkit. See manual page at netkit.org for detailed explanation of the following. lstart lclean lcrash lhalt linfo lrestart ltest vclean vconfig vstart vhalt vcrash vlist Piotr Pacyna, Katarzyna Kosek-Szott, Szymon Szott 5