Hi everybody, I#m new to XEN and I have a new dedicated server and 5 IP addresses pointing to it. I want to configure a setup so the servers listen to those IPs like this: Dom0 123.123.123.1 DomU1 123.123.123.2 DomU2 123.123.123.4 ... So it set up the /etc/network interfaces like this: ---8<----------------------------------- auto eth0 iface eth0 inet static address 123.123.123.1 netmask 255.255.255.248 gateway 123.123.123.0 auto eth0:0 iface eth0:0 inet static address 123.123.123.2 netmask 255.255.255.248 auto eth0:1 iface eth0:1 inet static address 123.123.123.3 netmask 255.255.255.248 ---8<----------------------------------- and configured the sshd at the dom0 to only listen to the first ip. So my question is how to setup the different DomUs so each of it is only listening to one single IP. Thanks in advance, guys _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Hi, On Wed, Sep 26, 2007 at 10:10:35PM +0200, h9802641@wu-wien.ac.at wrote:> Hi everybody, > > I#m new to XEN and I have a new dedicated server and 5 IP addresses > pointing to it. I want to configure a setup so the servers listen to > those IPs like this: > > Dom0 123.123.123.1 > DomU1 123.123.123.2 > DomU2 123.123.123.4And now tell us what your real IP addresses are so that we can work out the proper netmask, gateway etc should be.> So it set up the /etc/network interfaces like this:Set it where? if using a bridged or routed setup dom0 should NOT use the IP addresses you want to assign to domUs; just assign them directly to the domUs.> > ---8<----------------------------------- > auto eth0 > iface eth0 inet static > address 123.123.123.1 > netmask 255.255.255.248 > gateway 123.123.123.0An IP address ending in .0 is not a valid gateway for a network with a netmask of 255.255.255.248. Of course we can''t tell if this is a mistake or an attempt at obfuscation, so don''t obfuscate!> > auto eth0:0 > iface eth0:0 inet static > address 123.123.123.2 > netmask 255.255.255.248eth0 and eth0:0 are the same interface. Either start at eth0:0 then go to eth0:1, or else start at eth0 and then go to eth0:1.> > auto eth0:1 > iface eth0:1 inet static > address 123.123.123.3 > netmask 255.255.255.248 > ---8<----------------------------------- > > and configured the sshd at the dom0 to only listen to the first ip. > > So my question is how to setup the different DomUs so each of it is > only listening to one single IP.Make dom0 use one IP address and have your domUs each use one IP themselves. Cheers, Andy _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Hi, System: Debian Etch 4.0 up2date Pentium 640 ond Tyan Mainboard 2gb RAM 2x80gb Samsung SP0812C I have a software raid and the problem that XEN doesn''t mount my ROOT-filesystem as clean. With a normal 2.6.18-5 kernel from debian i can reboot and check my filesystem with tune2fs -l /dev/md1 and it will show up with the Filesystem state : clean. If I boot up after that with xen and do the same command it will show: not clean A reboot after that, xen will perform a filesystem check. The result is a reboot and a clean partition which, at this following reboot, is getting unclean. The last message i read when i do the normal rebooting is >>> md1 still in use... Second, i get a startup error with S02mountkernfs.sh line 22: Segmentation fault , something with /lib/init/rw/.ramfs, when i execute the script after the bootup, it works like normal. With the normal 2.6.18-5 kernel it''s working reboot for reboot, only xen gets that error and mounts it unclean. Thanks, Amin _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
I tested a little bit, and the problem was that the xend and the xendomains stop script in the runlevels were at the same number: -K20xend -K20xendomains i moved them to: -K20xendomains -K21xend and now the domains get stopped correctly AND my filesystem mounts and unmounts clean now.> Hi, > > > System: > Debian Etch 4.0 up2date > Pentium 640 ond Tyan Mainboard 2gb RAM > 2x80gb Samsung SP0812C > > I have a software raid and the problem that XEN doesn''t mount my > ROOT-filesystem as clean. > > With a normal 2.6.18-5 kernel from debian i can reboot and check my > filesystem with tune2fs -l /dev/md1 > and it will show up with the Filesystem state : clean. > > If I boot up after that with xen and do the same command it will show: > not clean > > A reboot after that, xen will perform a filesystem check. > The result is a reboot and a clean partition which, at this following > reboot, is getting unclean. > > The last message i read when i do the normal rebooting is >>> md1 > still in use... > > Second, i get a startup error with S02mountkernfs.sh line 22: > Segmentation fault , something with /lib/init/rw/.ramfs, > when i execute the script after the bootup, it works like normal. > > With the normal 2.6.18-5 kernel it''s working reboot for reboot, only > xen gets that error and mounts it unclean. > > > Thanks, > Amin > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users