Hi, I am trying to set up networking so that my domain can access the outside world. I used the following setup guide which got me a working XEN station. http://www.fedoraproject.org/wiki/FedoraXenQuickstart This is what my config file looks like: kernel ="/boot/vmlinuz-2.6.16-1.2122_FC5xenU" memory = 64 name = "rawhide" nics = 1 disk = [''file:/home/chris/images/fedora.img,sda1,w''] vif = [ ''mac=aa:cc:00:00:00:ab, bridge=xenbr0'' ] dhcp="dhcp" root = "/dev/sda1" extra = "ro selinux=0 3" Bridgeing and everything is setup by default. What steps am I missing to get this running via dhcp or a static ip address? Thanks, Chris Vaughan
Try to do a modprobe xennet The module is not compiled statically in the FC5 kernel. Instead its available as a module. You will need to do modprobe on both dom0 and domU (i think) to get networking working. On 6/8/06, Chris Vaughan <supercomputer@gmail.com> wrote:> > Hi, > > I am trying to set up networking so that my domain can access the outside > world. > > I used the following setup guide which got me a working XEN station. > http://www.fedoraproject.org/wiki/FedoraXenQuickstart > > > This is what my config file looks like: > kernel ="/boot/vmlinuz-2.6.16-1.2122_FC5xenU" > memory = 64 > name = "rawhide" > nics = 1 > disk = [''file:/home/chris/images/fedora.img,sda1,w''] > vif = [ ''mac=aa:cc:00:00:00:ab, bridge=xenbr0'' ] > dhcp="dhcp" > root = "/dev/sda1" > extra = "ro selinux=0 3" > > Bridgeing and everything is setup by default. > > What steps am I missing to get this running via dhcp or a static ip > address? > > Thanks, > > Chris Vaughan > > -- > Fedora-xen mailing list > Fedora-xen@redhat.com > https://www.redhat.com/mailman/listinfo/fedora-xen > > >-- regards, Anand Gupta
On Wed, 2006-06-07 at 15:42 -0600, Chris Vaughan wrote:> What steps am I missing to get this running via dhcp or a static ip > address?Ensure /etc/modprobe.conf has the line: alias eth0 xennet And /etc/sysconfig/network-scripts/ifcfg-eth0 looks something like this DEVICE=eth0 BOOTPROTO=dhcp ONBOOT=yes DHCP_HOSTNAME=myhost.mydomain.com PEERDNS=yes TYPE=Ethernet
Thanks, I got it working I also had to edit /etc/sysconfig/network and add these two lines. NETWORKING=yes HOSTNAME=xendomain I also had issues with my modules not being loaded so I copied kernel-xenU-2.6.16-1.2122_FC5.i686.rpm onto the image and executed it once the domain was created. On 6/8/06, Gawain Lynch <gawain.lynch@bigpond.com> wrote:> > On Wed, 2006-06-07 at 15:42 -0600, Chris Vaughan wrote: > > > What steps am I missing to get this running via dhcp or a static ip > > address? > > Ensure /etc/modprobe.conf has the line: > alias eth0 xennet > > And /etc/sysconfig/network-scripts/ifcfg-eth0 looks something like this > > DEVICE=eth0 > BOOTPROTO=dhcp > ONBOOT=yes > DHCP_HOSTNAME=myhost.mydomain.com > PEERDNS=yes > TYPE=Ethernet > > > >-- ------------------------------ Christopher Vaughan