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

Re: [Xen-users] VPS without network

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] VPS without network
From: Thiago Gomes <thiago.mgomes@xxxxxxxxx>
Date: Tue, 18 Aug 2009 08:53:48 -0300
Delivery-date: Tue, 18 Aug 2009 04:54:42 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type; bh=v9QJnjqfwSOL08P+n1kdOzBxsSrVIBaxCu83PbZNOeM=; b=HQl1KXo4zvn3mN88lKOet8kQ5hos3v8bCj49jl4ZV8pAFdlxTMmCakSWR4bT4F4OLi jH1cB1XE1Y/zty5SYcEcndUH21/FIRIHxph7qVghntRrs9IsO/oqXmbGDrvxGa3L5WJM YbDys/l2i3fpiqm5HeaXSQgCSdCjkDj160CVQ=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=EMsc+y5QPFDUjKeVNyZm6kAg92FqPswBRZP0XX49JoU4CIy4CbC7dp535zqOalPTPW p7/aQMkgj4Bjp0IFdrMkO6Rwshb+hRhrwusAXirhzm2K13jYB85/VdmTtb03JM8rsI5Z 1qmM/oL0y3A7PyyrXpgLC/0lkaXPqFXPbWxf0=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <9e97b1230908180203k472a7571wf5d07115c5cb3ff6@xxxxxxxxxxxxxx>
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/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <19114510908171401t6e6aefbau4abb5584e2b6a2fd@xxxxxxxxxxxxxx> <9e97b1230908180203k472a7571wf5d07115c5cb3ff6@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Hi,
Here the result of command:

[root@torroes xen]# cat xend-config.sxp | egrep -v '^#|^$'
(xend-unix-server yes)
(xend-unix-path /var/lib/xend/xend-socket)
(xend-relocation-hosts-allow '^localhost$ ^localhost\\.localdomain$')
(network-script network-bridge)
(vif-script vif-bridge)
(dom0-min-mem 256)
(dom0-cpus 0)
 
(vncpasswd '')


Thanks

2009/8/18 Andrey Varsavsky <alex.faq8@xxxxxxxxx>
As 4 me, xen have some troubles with bridges work. Use route.
What errors do u have in xm cr?

cat xend-config.sxp | egrep -v '^#|^$' please

I have some troubles when I vif0 cant be upped. I just have remake my system.

2009/8/18 Thiago Gomes <thiago.mgomes@xxxxxxxxx>
>
> Hello staff,
> I am new in the list and have been working with xen virtualization for some time. I am going through some problems to configure the xen on a new machine. Everything seems is configured correctly, but the SPV is unable to communicate with the Internet. Can get IP, gateway and resolv.conf configured correctly, but is not communicating with the Internet. Someone has been there?
>
> I tried formatting, reinstalling, changing network card, install other versions of xen, but nothing seems to work. We also have a class C itself, and was informed by the data center that there is no lock on it.
>
> The next few settings:
>
> /etc/xen/cpanel.cfg
> #!python
>
> kernel = "/boot/vmlinuz-2.6.18-128.4.1.el5xen"
> ramdisk = "/boot/initrd-2.6.18-128.4.1.el5xen.img2"
>
> memory = 1024
> name = "cpanel"
> vcpus = 2
>
> vif = [
>         'mac=00:16:df:61:3d:92, bridge=xenbr0, ip=XXX.XXX.XXX.XXX, vifname=cpanel.ext' ]
>
> disk = [
>         'phy:/dev/virtual01/cpanel-root,sda1,w',
>         'phy:/dev/virtual01/cpanel-tmp,sda2,w',
>         'phy:/dev/virtual01/cpanel-swap,sda3,w'
> ]
>
> root = "/dev/sda1 ro"
> extra = '3 console=xvc0'
> #dhcp = "dhcp"
>
> #bootloader = '/usr/bin/pygrub'
> > > > >
> BRCTL SHOW
> bridge name    bridge id        STP enabled    interfaces
> virbr0        8000.000000000000    yes
> xenbr0        8000.feffffffffff    no        cpanel.ext
>                             peth0
>                             vif0.0
>
>
> IFCONFIG MÁQUINA XEN
> cpanel.ext Link encap:Ethernet  HWaddr FE:FF:FF:FF:FF:FF
>           inet6 addr: fe80::fcff:ffff:feff:ffff/64 Scope:Link
>           UP BROADCAST RUNNING NOARP  MTU:1500  Metric:1
>           RX packets:6121 errors:0 dropped:0 overruns:0 frame:0
>           TX packets:6565076 errors:0 dropped:2339 overruns:0 carrier:0
>           collisions:0 txqueuelen:32
>           RX bytes:171940 (167.9 KiB)  TX bytes:509632709 (486.0 MiB)
>
> eth0      Link encap:Ethernet  HWaddr 00:1C:C4:0D:E3:98
>           inet addr:XXX.XXX.XXX.XXX  Bcast:XXX.XXX.XXX.XXX  Mask:255.255.255.0
>           inet6 addr: fe80::21c:c4ff:fe0d:e398/64 Scope:Link
>           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
>           RX packets:6583544 errors:0 dropped:0 overruns:0 frame:0
>           TX packets:14281 errors:0 dropped:0 overruns:0 carrier:0
>           collisions:0 txqueuelen:0
>           RX bytes:511337908 (487.6 MiB)  TX bytes:1096441 (1.0 MiB)
>
> lo        Link encap:Local Loopback
>           inet addr:127.0.0.1  Mask:255.0.0.0
>           inet6 addr: ::1/128 Scope:Host
>           UP LOOPBACK RUNNING  MTU:16436  Metric:1
>           RX packets:8 errors:0 dropped:0 overruns:0 frame:0
>           TX packets:8 errors:0 dropped:0 overruns:0 carrier:0
>           collisions:0 txqueuelen:0
>           RX bytes:560 (560.0 b)  TX bytes:560 (560.0 b)
>
> peth0     Link encap:Ethernet  HWaddr FE:FF:FF:FF:FF:FF
>           inet6 addr: fe80::fcff:ffff:feff:ffff/64 Scope:Link
>           UP BROADCAST RUNNING NOARP  MTU:1500  Metric:1
>           RX packets:6733500 errors:0 dropped:0 overruns:0 frame:0
>           TX packets:25050 errors:0 dropped:0 overruns:0 carrier:0
>           collisions:0 txqueuelen:1000
>           RX bytes:549923343 (524.4 MiB)  TX bytes:3797907 (3.6 MiB)
>           Interrupt:16
>
> vif0.0    Link encap:Ethernet  HWaddr FE:FF:FF:FF:FF:FF
>           inet6 addr: fe80::fcff:ffff:feff:ffff/64 Scope:Link
>           UP BROADCAST RUNNING NOARP  MTU:1500  Metric:1
>           RX packets:14281 errors:0 dropped:0 overruns:0 frame:0
>           TX packets:6583555 errors:0 dropped:0 overruns:0 carrier:0
>           collisions:0 txqueuelen:0
>           RX bytes:1096441 (1.0 MiB)  TX bytes:511338730 (487.6 MiB)
>
> virbr0    Link encap:Ethernet  HWaddr 00:00:00:00:00:00
>           inet addr:192.168.122.1  Bcast:192.168.122.255  Mask:255.255.255.0
>           inet6 addr: fe80::200:ff:fe00:0/64 Scope:Link
>           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
>           RX packets:0 errors:0 dropped:0 overruns:0 frame:0
>           TX packets:50 errors:0 dropped:0 overruns:0 carrier:0
>           collisions:0 txqueuelen:0
>           RX bytes:0 (0.0 b)  TX bytes:10320 (10.0 KiB)
>
> xenbr0    Link encap:Ethernet  HWaddr FE:FF:FF:FF:FF:FF
>           UP BROADCAST RUNNING NOARP  MTU:1500  Metric:1
>           RX packets:5895662 errors:0 dropped:0 overruns:0 frame:0
>           TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
>           collisions:0 txqueuelen:0
>           RX bytes:370361460 (353.2 MiB)  TX bytes:0 (0.0 b)
>
>
> Thank you.
>
> --
> Thiago Gomes
> thiago.mgomes@xxxxxxxxx / thiago.mgo@xxxxxxxxxxx
> Linux User #479207
>
>
>
> --
> Thiago Gomes
> thiago.mgomes@xxxxxxxxx / thiago.mgo@xxxxxxxxxxx
> Linux User #479207
>
> _______________________________________________
> Xen-users mailing list
> Xen-users@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-users



--
Best Regards,
alex.faq8@xxxxxxxxx



--
Thiago Gomes
thiago.mgomes@xxxxxxxxx / thiago.mgo@xxxxxxxxxxx
Linux User #479207
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
<Prev in Thread] Current Thread [Next in Thread>