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@gmail.com>
> 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@gmail.com>
> >
> > 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''
> > on_reboot = ''restart''
> > on_crash = ''restart''
> >
> > 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@gmail.com / thiago.mgo@hotmail.com
> > Linux User #479207
> >
> >
> >
> > --
> > Thiago Gomes
> > thiago.mgomes@gmail.com / thiago.mgo@hotmail.com
> > Linux User #479207
> >
> > _______________________________________________
> > Xen-users mailing list
> > Xen-users@lists.xensource.com
> > http://lists.xensource.com/xen-users
>
>
>
> --
> Best Regards,
> alex.faq8@gmail.com
>
--
Thiago Gomes
thiago.mgomes@gmail.com / thiago.mgo@hotmail.com
Linux User #479207
_______________________________________________
Xen-users mailing list
Xen-users@lists.xensource.com
http://lists.xensource.com/xen-users