Category Archives: arteq


i have abandoned Lubuntu or LXDE…

what little is saved in space and processing is not worth the sacrifice to the proper functioning of the OS…


lubuntu networking notes

hotplug is your friend if you want to use lubuntu network manager and you don’t want the manager spinning all the time.

why even use network-manager?

because you don’t want annoying failsafe timer messages on bootup (main reason)

if you attempt to # out timer messages in failsafe.conf you will cause more headaches for yourself.

to check nm device management

ccie@ccie-virtual-machine:~/os$ nmcli device status
DEVICE     TYPE              STATE
eth2       802-3-ethernet    connected
eth1       802-3-ethernet    disconnected
eth0       802-3-ethernet    unmanaged

this is especially important if you are using more than 1 network virtualization environment and you have a default network config supporting a primary, like virl in my case:


for each vm you’ll want to customize internal networks as needed.

#The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
auto eth0
iface eth0 inet manual      # set pass through and use br0 for networking

# Bridge setup
allow-hotplug br0
auto br0 
iface br0 inet static
  gateway    # make sure this gateway address is correct
  bridge_ports eth0        # bind to device here
  bridge_stp off 
  bridge_fd 0
  bridge_maxwait 0

kvm/qemu/vmware notes

make qemu image container

qemu-img create -f qcow2 /var/lib/libvirt/images/exos.img 10G

apply parameters to image container

qemu-system-x86_64 -hda /var/lib/libvirt/images/exos.img -boot order=d -cdrom /home/ccie/os/exospc- -enable-kvm -m 1024M   -cpu host

 disable pxe boot edit vmx and add for each e1000 int:

ethernet0.opromsize = “0”

virt-install (replace parameters as needed)

sudo virt-install –connect qemu:///system -n vm10 -r 512

–vcpus=2 –disk path=/var/lib/libvirt/images/vm10.img,size=10 -c /var/lib/libvirt/images/CentOS-5.6-x86_64-bin-DVD.iso –vnc –noautoconsole –os-type linux –accelerate –network=bridge:br0 –hvm

sudo virt-install –connect qemu:///system -n vm10 -r 512 –vcpus=2 –disk path=/var/lib/libvirt/images/vm10.img,size=12 -c /var/lib/libvirt/images/CentOS-5.6-x86_64-bin-DVD.iso –vnc–noautoconsole –os-type linux –accelerate –network=bridge:br0 –hvm

cli vmware tools install
first go to vm-manage and reinstall, select reinstall. a pop up comes into the vm. then mount
sudo mkdir /mnt/cdrom
sudo mount /dev/cdrom /mnt/cdrom
mount point is /mnt/cdrom  vmtoo.tar.gz should be there
cd /tmp

sudo tar zxpf /mnt/cdrom/VMwareTools-10.0.5-3228253.tar.gz

umount /dev/cdrom

cd vmware-tools-distrib

     sudo ./ -d -f
to accept the defaults w/o being prompted and to force install because sometimes it hangs
check vmware tools
gns3@gns3vm:~$ ps -aux | grep vmware
gns3      4869  0.0  0.0  10468   796 pts/0    S+   11:14   0:00 grep –color=auto vmware
gns3@gns3vm:~$ ps -ef | grep vmware-guestd
gns3      4882  4823  0 11:17 pts/0    00:00:00 grep –color=auto vmware-guestd
gns3@gns3vm:~$ gns3@gns3vm:~$ sudo initctl list | grep vmware
vmware-tools start/running
vmware-tools-thinprint stop/waiting
vmware-tools start/running
vmware-tools-thinprint stop/waiting
load gns3 for ubuntu
sudo add-apt-repository ppa:gns3/ppa
sudo apt-get update
sudo apt-get install gns3-gui
update headers after kernel adds
sudo apt-get install build-essential linux-header-$(uname -r)
sudo apt-get update && sudo apt-get install linux generic
uid and groups belonging to
gns3@gns3vm:~$ id gns3
uid=1000(gns3) gid=1000(gns3) groups=1000(gns3),4(adm),24(cdrom),27(sudo),30(dip),46(plugdev),109(lpadmin),110(sambashare),111(vde2-net),999(docker),105(libvirtd)
ccie@ccie-virtual-machine:~$ id
uid=1000(ccie) gid=1000(ccie) groups=1000(ccie),4(adm),24(cdrom),27(sudo),30(dip),46(plugdev),108(lpadmin),118(sambashare),120(libvirtd)
uuid generation for kvm
sudo apt-get install uuid
ccie@ccie-virtual-machine:~$ uuid
create a bridge for kvm
 sudo brctl addbr br0
configure the bridge in /etc/network/interfaces
this will cause br0 to assume eth0’s address
auto br0
iface br0 inet dhcp
bridge_ports eth0
bridge_stp off
bridge_fd 0
sudo /etc/init.d/networking restart, or reboot
make an empty  image file
sudo qemu-img create -f qcow2 /home/ccie/images/ubu-client.img 10G
Now you are ready to start a VM using the domain XML file you created earlier. The following command will create a VM, and automatically start it.
$ sudo virsh create ubu-client.xml
from img create
ccie@ccie-virtual-machine:~$ sudo qemu-img create -f qcow2 /home/ccie/images/ubu-client.img 10G
Formatting ‘/home/ccie/images/ubu-client.img’, fmt=qcow2 size=10737418240 encryption=off cluster_size=65536 lazy_refcounts=off
on ubu for ubu image:
ccie@ubuntu:~$ virsh dumpxml 4f20ae6b-d3e7-6506-5eb1-ebd1efcbf0ea
<domain type=’kvm’>
  <memory unit=’KiB’>10737418240</memory>
  <currentMemory unit=’KiB’>10737418240</currentMemory>
  <vcpu placement=’static’>1</vcpu>
    <type arch=’x86_64′ machine=’pc-i440fx-trusty’>hvm</type>
    <boot dev=’hd’/>
  <clock offset=’utc’/>
    <disk type=’file’ device=’disk’>
      <driver name=’qemu’ type=’raw’/>
      <source file=’/home/ccie/images/ubu-client.img’/>
      <target dev=’vda’ bus=’virtio’/>
      <address type=’pci’ domain=’0x0000′ bus=’0x00′ slot=’0x05′ function=’0x0’/>
    <disk type=’file’ device=’cdrom’>
       <driver name="qemu" type="raw"/>
      <source file="/home/ccie/Desktop/ios/lubuntu-14.04-desktop-amd64.iso"/>
      <target dev=’hdc’ bus=’ide’/>
      <address type=’drive’ controller=’0′ bus=’1′ target=’0′ unit=’0’/>
  <interface type='bridge'>
      <source bridge='br0'/>
      <mac address="00:0c:29:54:b8:a3"/>
    <controller type=’usb’ index=’0′>
    <address type=’pci’ domain=’0x0000′ bus=’0x00′ slot=’0x01′ function=’0x2’/>
    <controller type=’pci’ index=’0′ model=’pci-root’/>
    <controller type=’ide’ index=’0′>
      <address type=’pci’ domain=’0x0000′ bus=’0x00′ slot=’0x01′ function=’0x1’/>
    <serial type=’pty’>
      <target port=’0’/>
    <console type=’pty’>
      <target type=’serial’ port=’0’/>
    <input type=’mouse’ bus=’ps2’/>
    <input type=’keyboard’ bus=’ps2’/>
    <graphics type=’vnc’ port=’-1′ autoport=’yes’ listen=''/>
    <sound model=’ich6′>
      <address type=’pci’ domain=’0x0000′ bus=’0x00′ slot=’0x04′ function=’0x0’/>
      <model type=’cirrus’ vram=’9216′ heads=’1’/>
      <address type=’pci’ domain=’0x0000′ bus=’0x00′ slot=’0x02′ function=’0x0’/>
    <memballoon model=’virtio’>
      <address type=’pci’ domain=’0x0000′ bus=’0x00′ slot=’0x06′ function=’0x0’/>
virt-install –name ubu-client –ram 1024 –vcpus=1 \
–disk path=/home/ccie/images/ubu-client.img,size=10 \
--network bridge=br0 \
–cdrom /home/ccie/Desktop/ios/lubuntu-14.04-desktop-amd64.iso \
--graphics vnc --noautoconsole --hvm \
root@ccie-virtual-machine:/home/ccie/images# sudo virt-install –name ubu-client –ram 1024 –vcpus=1 \
> –disk path=/home/ccie/images/ubu-client.img,size=10 \
> –network bridge=br0 \
> –cdrom /home/ccie/Desktop/ios/lubuntu-14.04-desktop-amd64.iso \
> –graphics vnc –noautoconsole –hvm \
> –connect qemu:///system
Starting install…
Creating domain…                                       |    0 B     00:00
Domain installation still in progress. You can reconnect to
the console to complete the installation process.
root@ccie-virtual-machine:/home/ccie/images# sudo virt-install –name ubu-client –ram 1024 –vcpus=1 \
> –disk path=/home/ccie/images/ubu-client.img,size=10 \
> –network bridge=br0 \
> –cdrom /home/ccie/Desktop/ios/lubuntu-14.04-desktop-amd64.iso \
> –graphics vnc –noautoconsole –hvm \
> –connect qemu:///system
Starting install…
Creating domain…                                       |    0 B     00:00
Domain installation still in progress. You can reconnect to
the console to complete the installation process.
virt-install --name vmname --ram 1024 --vcpus=1 \
--disk path=/var/lib/libvirt/images/vmname.img,size=10 \
--network bridge=br0 \
--cdrom /var/lib/libvirt/images/os-install.iso \
--graphics vnc --noautoconsole --hvm \
–os-variant win2k3

Get on CLN and get on VIRL

34. Re: Cisco Live Vegas

Jack Jan 22, 2016 12:06 PM (in response to arteq)

CLN/CLUS-LV meet up would be awesome! Please keep me in the loop.


One of the reasons i purchased VIRL was based on your youtube videos! So hopefully you’ll keep them coming!

I still have affection for GNS3, it’s where i “grew up” in terms of Cisco. I wouldn’t have obtained my CCNA without it. But the limits of GNS3 affected my CCNP Switch studies, so I had to spend the money.. But I don’t regret the decision!

Do you know where to find any CCNP Switch-VIRL labs? (without a price tag). Just a stab in the dark on that one!