Minimal steps to install QEMU/KVM 1.0 on Linux Ubuntu Server 12.04.LTS (x86_64)
1. Perform a minimal install of Ubuntu Server 12.04.LTS (x86_64) (I used Ubuntu Desktop on a i5 laptop with 8G RAM.) 2. Install essential software components 3. apt-get install qemu-kvm; modprobe kvm; 4. apt-get install uml-utilities (required for tap interface for bridge to physical interface) 5. Ensure that VT-x flag (or equivalent) is exposed to operating system. egrep -c '(vmx|svm)' /proc/cpuinfo you should receive a non-zero number Ensure that current user is added to 'kvm' group sudo addgroup `id -un` kvm (re-login for group changes to take effect) (note use "grave accents" ` around the `id -un`)
Now start setting up QEMU-KVN etc...
6. So let's set up 2 VM so we will have 2 routers a. Download IOS XRv VMDK file from Cisco.com. (e.g. iosxrv-k9-demo-5.1.1.vmdk) b. Make a copy of the VMDK file for each IOS XRv VM c. cp iosxrv-k9-demo-5.1.1.vmdk xrv-1.vmdk d. cp iosxrv-k9-demo-5.1.1.vmdk xrv-2.vmdk 7. Now we create the image files for qemu using the "copy on write" feature, makes life good! a. qemu-img create -f qcow2 -b iosxrv-k9-demo-5.1.1.vmdk xrv-1.qcow2 b. qemu-img create -f qcow2 -b iosxrv-k9-demo-5.1.1.vmdk xrv-2.qcow2
-b <backing file> we keep it the same, changes are written to the xvr-1.qcow2 and xrv-2.qcow2 files
In the example below, we are using xrv-1.vmdk and xrv-2.vmdk Determine what memory you want to allocate to each VM (min 3GB - max 8GB). Configure it using the -m flag. Configure the connections between the two IOS XRv VM using the -net flag. Make sure one side is set to ‘listen’ and the other is set to ‘connect’.(Note: The first NIC will show up as MgmtEth0/0/CPU0 and the succeeding NICs will show us as GigabitEthernet0/0/0/0, GigabitEthernet0/0/0/1 and so on) Access the IOS XRv VMs by using telnet to the port specified in the configuration. (e.g. telnet localhost 9101) Wait for the IOS XRv to boot up. Login and start configuring! (Scroll down below for link to Introduction to Cisco IOS XR Technical Workbook)
I have created a little bash script that does the job for me: #!/bin/bash #This is file "StartXrv1" qemu-system-x86_64 \ -daemonize \ -nographic \ #I have set qemu-system-x86_64 to suid root, but with the runas option, it drop #privileges as soon after it sets up #-runas tim \ #Memory should be 3096, but currently will work with 2048 -m 2048 \ -hda xrv-1.qcow2 \ -serial telnet::9101,server,nowait \ -net tap,ifname=tap0,vlan=5,script=no,downscript=no \ -net nic,model=e1000,vlan=5,macaddr=00:01:00:ff:00:00 \ -net tap,ifname=tap1,vlan=10,script=no,downscript=no \ -net nic,model=e1000,vlan=10,macaddr=00:01:00:ff:00:01 \ -net tap,ifname=tap2,vlan=20,script=no,downscript=no \ -net nic,model=e1000,vlan=20,macaddr=00:01:00:ff:00:02 \ -net tap,ifname=tap3,vlan=30,script=no,downscript=no \ -net nic,model=e1000,vlan=30,macaddr=00:01:00:ff:00:03
#Start a local telnet session to console telnet localhost 9101
Copy and paste this it a file, be sure to chmod +x <filename> To start, ./StartXrv1 (assuming in current directory)
With XR 4.2.0 the ASR9000 is releasing a new line of hardware models. This amongst others is the RSP440, the next generation RSP with faster switch fabric along with Typhoon based Linecards, the next generation network processor.
The Cisco EPN system incorporates a network architecture designed to consolidate multiples services on a single Multiprotocol Label Switching (MPLS) transport network. This network is designed primarily based on...
Internet security is important with the increasing attacks that are happening every day. Many internet and browsing security solutions exist, but some are not very easy to use or maybe the question is how can I enable them?