My current project must run against a DHCP server which has to have a fairly exotic configuration (not really one I'd want running on my home network), and I want to be able to blow away and re-create the client constantly as I test installation procedures and the like. So, since we're on Fedora 10 (server), I've set up a little QEMU environment like this:
- base read-only Fedora 10 minimal install with users and basic config (qcow2)
- overlay one, the DHCP server, with one "user stack" nic and one vlan nic
- overlay two, the client server, same network config
but after getting all that set up, I can't get the silly vlan nic to come up on the DHCP server :( . The idea is that I'll write scripts to blow away and recreate the second overlay then install the software to test into it... but this silly bug has just blocked the whole process.
The ifup scripts are complaining that another machine already has the 10.220.* ip addresses I'm configuring (unlikely, given that there's just to the two machines on the vlan). I expect it is some silly Fedora, SELinux, or Qemu thing, or maybe a conflict between those... now I just have to narrow that down a little :) .
[Update] Fixed. Don't get "cute" with your MAC addresses in QEMU. I'd assigned the MAC 01:02:03:04:05:06 to the DHCP server's back-end nic, letting QEMU auto-assign the MAC instead got it working.
Pingbacks are closed.