[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] RE: [Xen-users] domU HVM network problem
By network address I mean in the machine.cfg on the vif= line instead of assigning an IP address I use the network address which in TCP/IP end in a zero. This is because the VIF is not actually the tunnel to the domU nic. My vif line looks like this: vif = [ 'type=ioemu, vifname=vif0.0, ip=192.168.0.0, mac=FA:CE:00:00:00:01' ] You have to make sure the tuntap module is loaded by typing lsmod: [root@srv140 xen]# lsmod
When I tested with Xen 3.0.1 the system craeted tun0 for the first domain. Now in Xen 3.0.3 it creates tap0. You have to type ifconfig -a to see the tun/tap devices and they are only created while the domU is running. They get deleted when you shutdown the domU. To keep things standard TCP/IP I assign the first address of the subnet to the tun/tap device and make that address the default gateway inside the domU: in dom0:
in domU:
My dom0 and each of my domU's are all on different subnets so I can use dom0 as a router. I hope this helps. Max Baro
-----Original Message-----
Hello, On Mar/09/2008, Max E. Baro wrote:
don't worrie... > I modified vif-route because the default behavior is to set the eth0
in /etc/xend/machine.cfg, do you assign a network address? Could you
[here you explained some changes in vif-route, I did it and now the
> Then in config I assign IP as "192.168.1.0". This is important because you in the domU config? in the vif line? If I set up ['ip=192.168.0.0,type=ioemu'], after xm create NAME I get:
> will cause a conflict with the eth0 adapter inside the domU. In my domU I
ok I understand (but I cannot ping it from domU to dom0 :-( ) > Here is where the problem with routing comes in. The tap/tun device created
well, I will be able to handle it in some way... after I have one
Thank you a lot again, I think that I'm the last steps (I hope!) --
_______________________________________________ Xen-users mailing list Xen-users@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-users
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |