WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

[Xen-users] Problem in setting up network in guest OS

To: xen-users@xxxxxxxxxxxxxxxxxxx, xen-users-request@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] Problem in setting up network in guest OS
From: "Sanjib Kumar Das" <Sanjib.Kumar.Das@xxxxxxxxxxxx>
Date: Wed, 12 Jul 2006 17:38:29 -0700
Delivery-date: Wed, 12 Jul 2006 17:39:07 -0700
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:sender:to:subject:mime-version:content-type:x-google-sender-auth; b=RwixwAQNRfK4U5h9F7nsVPsznTcT2wTsxZ1qYYZv8nmMsd+7uA9vfkQXDyznVGrDLNZ5zUH4Yfv/XVwcRV6sgg1Vhh4d5xxNgvSCEKrIYJeJ5Z8vSXDqLxC8/Ghmu6zkPNbwCQ0xo1oA+jD+OYwCI+k3ShFQHQ9CvNMtxJ9gzSM=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Reply-to: sanjib.kgp@xxxxxxxxx
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Hi all,

I'm really facing diffculty in bringing up the network in my guest OS.
My /etc/xen/myconfig file looks like :

# Kernel image file.
kernel = "/boot/vmlinuz-2.6.16-1.2122_FC5xenU"

#Initial memory allocation
memory = 64

# A name for your domain. All domains must have different names.
name = "vm2"

nics=1

#vif = ['bridge=xen-br0']
vif = ['']
#gateway = " 192.168.0.1"
#netmask = "225.255.255.0"
#extra = "fastboot"

dhcp = "dhcp"
disk = ['file:/root/fedora.img,sda1,w']
#ip = "192.168.0.100"
#hostname = "mynode"
root = "/dev/sda1"
extra = "ro selinux=0 3"


I am not even able to ping 127.0.0.1(getting connect:network is unreachable).when I do ifconfig on my guest domain I get no messages.I looked into the mailing-list archive and found out a mail from Christian Vaughan and replies from Gawain Lynch quite relevant.However,I tried those but still not working.For your reference I'm posting their conversation........

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
        >        DHCP_HOSTNAME=myhost.mydomain.com
        PEERDNS=yes
        TYPE=Ethernet

I tried all this but not working.I'm getting the following error when trying to run modprobe xennet

FATAL: Could not load /lib/modules/2.6.16-1.2122_FC5xenU/modules.dep: No such file or directory

Looking forward to any help on this matter.

Thanks.
Sanjib
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-users] Problem in setting up network in guest OS, Sanjib Kumar Das <=