Debian provides a full-fledged conventional Linux root filesystem, and the "debootstrap" utility creates new debian root filesystems. So if we want Debian in a container, first we need to install debootstrap on the container host (I.E. the KVM system):

aptitude install debootstrap

We'll also need a configuration file naming a new container "debian" and moving our second ethernet interface into it:

cat > debian.conf << EOF
lxc.utsname = debian
lxc.network.type = phys
lxc.network.flags = up
lxc.network.link = eth1
#lxc.network.name = eth0
EOF

Now we can create the container using the above configuration file and the debian template:

lxc-create -f debian.conf -t debian -n debian

Once the container exists, we can log into it:

lxc-start -n debian

Once inside the container, we need to set up its network:

echo nameserver 8.8.8.8 > /etc/resolv.conf
cat > /etc/network/interfaces << EOF
auto lo
iface lo inet loopback
auto eth1
iface eth1 inet static
  address 192.168.254.2
  netmask 255.255.255.0
  gateway 192.168.254.1
EOF
rm /etc/network/run
mkdir -p /etc/network/run

ifup eth1

And install additional software:

yes y | apt-get install aptitude yes Yes | aptitude install vim nfs-client inetutils-ping wget