Monthly Archives: March 2012

Routed (non-bridged) setup for KVM & libvirt (avoids port security) – Method 2: Routed subnet

Note: if you’re working with multiple individual IPs each in their own subnet, you’re better off referring to this post. Introduction Generally when hosting VMs on publically accessible IPs, we create a network bridge and add the host’s network interface … Continue reading

Posted in kvm, linux, networking | Tagged , , , , , | 5 Comments

Better LVM (Logical Volume Management) for KVM guests

Foreword: This post is aimed at advanced users and expects you to already understand LVM and virtualization (although all commands needed are shown). Summary: What follows is an explanation of how, and why, you should do what I call hybrid … Continue reading

Posted in kvm, linux | Tagged , , , , , , | 2 Comments

Useful sysrecuecd chroot stuff [WIP]

mkdir /mnt/tmp mount /dev/vdb /mnt/tmp mount /dev/vda1 /mnt/tmp/boot mount -o bind /proc /mnt/tmp/proc mount -o bind /dev /mnt/tmp/dev mount -o bind /dev/pts /mnt/tmp/dev/pts mount -o bind /dev/sys /mnt/tmp/sys/ chroot /mnt/tmp /bin/bash Refs: * http://www.sysresccd.org/forums/viewtopic.php?t=1684 On Debian/Ubuntu: dpkg-divert –local –rename –add … Continue reading

Posted in linux | Tagged , , , | Leave a comment

Routed (non-bridged) setup for KVM & libvirt (avoids port security) – Method 1: proxy_arp

Note: this method has been largely┬ásuperseded by the one described in┬áthis post. The advantage of the newer method is easier setup and working DHCP. Original Post The default set up for virtual machines involving setting up a bridge, and having … Continue reading

Posted in kvm, linux, networking | Tagged , , , , , , | 1 Comment