Joined: 09 Jun 2006
Location: Australia, Perth
|Posted: Mon Nov 30, 2009 8:01 am Post subject: guest gentoo network [too hard]
|I'm trying to use xen and create virtual guests. I have success with a couple of guest domains. but this is the glitch a experienced previously in gentoo. I can bring up a gentoo guest, the only thing that is not working is the networking.
I've found some posts that relate, but it's difficult to find a close enough match. Most fixes relate to the dom0. I'm actually in a suse dom0. but it shouldn't matter. xen is xen as a host, I would think. The gentoo is well equipped package wise. There must be a need to adjust the network bootup scripts. The most important thing is that ifconfig only includes lo. With no interfaces made you have nowhere to go. The gentoo has a capable wireless setup too, which can't be used without the initial interfaces being made. Is it the gentoo or is it the host setup? Considering it can complete effectively on others, I suspect it's the gentoo bootup routine. Here is the gentoo.hvm config file.
#disk=[ 'phy:sda,hda,w', 'phy:sda2,sda2,w', 'phy:/dev/cdrw3,hdc:cdrom,r', 'phy:sda7,sda7,w' ]
disk=[ 'phy:sda,hda,w', 'phy:/dev/cdrw3,hdc:cdrom,r', 'phy:sda7,sda7,w', 'phy:sda3,sda3,w']
vif = [ 'mac=aa:00:00:12:23:34,bridge=eth0' ]
#vif=[ 'mac=00:16:3e:00:16:3e',bridge=xenbr0' ]
A couple of posts suggested to stipulate the bridge=eth0 entry, but it isn't effective. I'll keep checking
Looks like this was too hard to figure. Forget it. The answer would have elluded everyone anyway, it was the kernel.