|
|
|
|
|
|
|
|
|
|
xen-users
[Xen-users] Problem in setting up network in guest OS
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 <=
|
|
|
|
|