I just installed xen 4.2 unstable and when I use xl to create vm they don''t get network . I had created bridges xenbr0 xenbr1 Do i need to make any changes to xl.config. xend with 4.1.2 worked perfect. ifconfig -a shows tap12.0: flags=4098<BROADCAST,MULTICAST> mtu 1500 metric 1 ether ce:c8:59:b2:7f:64 txqueuelen 500 (Ethernet) RX packets 3118 bytes 160852 (157.0 KiB) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 0 bytes 0 (0.0 B) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 vif12.0: flags=4098<BROADCAST,MULTICAST> mtu 1500 metric 1 ether fe:ff:ff:ff:ff:ff txqueuelen 32 (Ethernet) RX packets 0 bytes 0 (0.0 B) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 0 bytes 0 (0.0 B) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 vif13.0: flags=4098<BROADCAST,MULTICAST> mtu 1500 metric 1 ether fe:ff:ff:ff:ff:ff txqueuelen 32 (Ethernet) RX packets 0 bytes 0 (0.0 B) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 0 bytes 0 (0.0 B) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 vif14.0: flags=4098<BROADCAST,MULTICAST> mtu 1500 metric 1 ether fe:ff:ff:ff:ff:ff txqueuelen 32 (Ethernet) RX packets 0 bytes 0 (0.0 B) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 0 bytes 0 (0.0 B) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On Sat, Feb 18, 2012 at 11:15 AM, jacek burghardt <jaceksburghardt@gmail.com> wrote:> I just installed xen 4.2 unstable and when I use xl to create vm they don''t > get network . I had created bridges xenbr0 xenbr1 > Do i need to make any changes to xl.config. > xend with 4.1.2 worked perfect.xl doesn''t handle networking the same as xend did. You should use the distro network scripts to configure your bridges according to: http://wiki.xen.org/wiki/HostConfiguration/Networking Cheers, Todd -- Todd Deshane http://www.linkedin.com/in/deshantm http://blog.xen.org/ http://wiki.xen.org/
I had setup bridges with no ip addresses. I have two bridges xenbr0 xenbr1. domu show interfaces but can''t be routed pinging any ip address gives From Destination Host Unreachable. I see tap interfaces vifi interfaces. On Sat, Feb 18, 2012 at 2:23 PM, Todd Deshane <todd.deshane@xen.org> wrote:> On Sat, Feb 18, 2012 at 11:15 AM, jacek burghardt > <jaceksburghardt@gmail.com> wrote: > > I just installed xen 4.2 unstable and when I use xl to create vm they > don''t > > get network . I had created bridges xenbr0 xenbr1 > > Do i need to make any changes to xl.config. > > xend with 4.1.2 worked perfect. > > xl doesn''t handle networking the same as xend did. You should use the > distro network scripts to configure your bridges according to: > > http://wiki.xen.org/wiki/HostConfiguration/Networking > > Cheers, > Todd > > -- > Todd Deshane > http://www.linkedin.com/in/deshantm > http://blog.xen.org/ > http://wiki.xen.org/ >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On Sat, Feb 18, 2012 at 5:19 PM, jacek burghardt <jaceksburghardt@gmail.com> wrote:> I had setup bridges with no ip addresses.bridges need IP addresses.
Can you post the output of these 2 commands to the list: Execute them on the dom0 # ip link show # brctl show Someone may able to help you with this information, currently any advice would be a guess. Joseph. On 19 February 2012 12:47, Todd Deshane <todd.deshane@xen.org> wrote:> On Sat, Feb 18, 2012 at 5:19 PM, jacek burghardt > <jaceksburghardt@gmail.com> wrote: >> I had setup bridges with no ip addresses. > > bridges need IP addresses. > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users-- Founder | Director | VP Research Orion Virtualisation Solutions | www.orionvm.com.au | Phone: 1300 56 99 52 | Mobile: 0428 754 846
well xm works fine with my bridges. it seems that xl does not attach devices it creates to bridge . On Feb 18, 2012 6:57 PM, "Joseph Glanville" <joseph.glanville@orionvm.com.au> wrote:> Can you post the output of these 2 commands to the list: > > Execute them on the dom0 > > # ip link show > > # brctl show > > Someone may able to help you with this information, currently any > advice would be a guess. > > Joseph. > > On 19 February 2012 12:47, Todd Deshane <todd.deshane@xen.org> wrote: > > On Sat, Feb 18, 2012 at 5:19 PM, jacek burghardt > > <jaceksburghardt@gmail.com> wrote: > >> I had setup bridges with no ip addresses. > > > > bridges need IP addresses. > > > > _______________________________________________ > > Xen-users mailing list > > Xen-users@lists.xensource.com > > http://lists.xensource.com/xen-users > > > > -- > Founder | Director | VP Research > Orion Virtualisation Solutions | www.orionvm.com.au | Phone: 1300 56 > 99 52 | Mobile: 0428 754 846 >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Sounds like you don''t have xl.conf configured to correctly use a vif-script. Though I would still advise you to post the output of ip and brctl so that an understanding of what is going on can be had. Joseph. On 19 February 2012 13:28, jacek burghardt <jaceksburghardt@gmail.com> wrote:> well xm works fine with my bridges. it seems that xl does not attach devices > it creates to bridge . > > > > On Feb 18, 2012 6:57 PM, "Joseph Glanville" > <joseph.glanville@orionvm.com.au> wrote: >> >> Can you post the output of these 2 commands to the list: >> >> Execute them on the dom0 >> >> # ip link show >> >> # brctl show >> >> Someone may able to help you with this information, currently any >> advice would be a guess. >> >> Joseph. >> >> On 19 February 2012 12:47, Todd Deshane <todd.deshane@xen.org> wrote: >> > On Sat, Feb 18, 2012 at 5:19 PM, jacek burghardt >> > <jaceksburghardt@gmail.com> wrote: >> >> I had setup bridges with no ip addresses. >> > >> > bridges need IP addresses. >> > >> > _______________________________________________ >> > Xen-users mailing list >> > Xen-users@lists.xensource.com >> > http://lists.xensource.com/xen-users >> >> >> >> -- >> Founder | Director | VP Research >> Orion Virtualisation Solutions | www.orionvm.com.au | Phone: 1300 56 >> 99 52 | Mobile: 0428 754 846-- Founder | Director | VP Research Orion Virtualisation Solutions | www.orionvm.com.au | Phone: 1300 56 99 52 | Mobile: 0428 754 846
Well I am using arch linux. I had found this site http://linuxmonk.ch/trac/wiki/LinuxMonk/Xen/Xen4xl if i do this export vif=vif1.0 export XENBUS_PATH=/local/domain/0/backend/vif/1/0 (found with `xl network-list`) export bridge=br0 /etc/xen/scripts/vif-bridge add /etc/xen/scripts/vif-bridge online brctl show bridge name bridge id STP enabled interfaces xenbr0 8000.000423a8e394 yes eth1 xenbr1 8000.000423a8e395 yes eth2 vif4.0 vif9.0 I see that vifi devices are create by never attached to briges my xl.conf has vifscript="/etc/xen/scripts/vif-bridge" xen-hotplug.log shows RTNETLINK answers: Operation not supported ip shows 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue state UNKNOWN link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP ql en 1000 link/ether 6c:62:6d:3a:a1:df brd ff:ff:ff:ff:ff:ff 3: eth1: <BROADCAST,MULTICAST,PROMISC,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast mas ter xenbr0 state UP qlen 1000 link/ether 00:04:23:a8:e3:94 brd ff:ff:ff:ff:ff:ff 4: eth2: <BROADCAST,MULTICAST,PROMISC,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast mas ter xenbr1 state UP qlen 1000 link/ether 00:04:23:a8:e3:95 brd ff:ff:ff:ff:ff:ff 5: xenbr0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP link/ether 00:04:23:a8:e3:94 brd ff:ff:ff:ff:ff:ff 6: xenbr1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP link/ether 00:04:23:a8:e3:95 brd ff:ff:ff:ff:ff:ff 12: vif4.0: <BROADCAST,MULTICAST,PROMISC,UP> mtu 1500 qdisc pfifo_fast master xe nbr1 state UNKNOWN qlen 32 link/ether fe:ff:ff:ff:ff:ff brd ff:ff:ff:ff:ff:ff 13: tap4.0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN qlen 500 link/ether c2:07:73:c1:e9:66 brd ff:ff:ff:ff:ff:ff 20: vif8.0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN qlen 32 link/ether fe:ff:ff:ff:ff:ff brd ff:ff:ff:ff:ff:ff 21: tap8.0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN qlen 500 link/ether ea:e4:4b:f7:72:88 brd ff:ff:ff:ff:ff:ff 22: vif9.0: <BROADCAST,MULTICAST,PROMISC,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast master xenbr1 state UP qlen 32 link/ether fe:ff:ff:ff:ff:ff brd ff:ff:ff:ff:ff:ff 25: vif12.0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN qlen 32 link/ether fe:ff:ff:ff:ff:ff brd ff:ff:ff:ff:ff:ff On Sun, Feb 19, 2012 at 8:15 AM, Joseph Glanville < joseph.glanville@orionvm.com.au> wrote:> Sounds like you don''t have xl.conf configured to correctly use a > vif-script. > > Though I would still advise you to post the output of ip and brctl so > that an understanding of what is going on can be had. > > Joseph. > > On 19 February 2012 13:28, jacek burghardt <jaceksburghardt@gmail.com> > wrote: > > well xm works fine with my bridges. it seems that xl does not attach > devices > > it creates to bridge . > > > > > > > > On Feb 18, 2012 6:57 PM, "Joseph Glanville" > > <joseph.glanville@orionvm.com.au> wrote: > >> > >> Can you post the output of these 2 commands to the list: > >> > >> Execute them on the dom0 > >> > >> # ip link show > >> > >> # brctl show > >> > >> Someone may able to help you with this information, currently any > >> advice would be a guess. > >> > >> Joseph. > >> > >> On 19 February 2012 12:47, Todd Deshane <todd.deshane@xen.org> wrote: > >> > On Sat, Feb 18, 2012 at 5:19 PM, jacek burghardt > >> > <jaceksburghardt@gmail.com> wrote: > >> >> I had setup bridges with no ip addresses. > >> > > >> > bridges need IP addresses. > >> > > >> > _______________________________________________ > >> > Xen-users mailing list > >> > Xen-users@lists.xensource.com > >> > http://lists.xensource.com/xen-users > >> > >> > >> > >> -- > >> Founder | Director | VP Research > >> Orion Virtualisation Solutions | www.orionvm.com.au | Phone: 1300 56 > >> 99 52 | Mobile: 0428 754 846 > > > > -- > Founder | Director | VP Research > Orion Virtualisation Solutions | www.orionvm.com.au | Phone: 1300 56 > 99 52 | Mobile: 0428 754 846 >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On Sun, Feb 19, 2012 at 11:48 AM, jacek burghardt <jaceksburghardt@gmail.com> wrote:> Well I am using arch linux. > > I had found this site http://linuxmonk.ch/trac/wiki/LinuxMonk/Xen/Xen4xl > if i do this > export vif=vif1.0 > export XENBUS_PATH=/local/domain/0/backend/vif/1/0 (found > with `xl network-list`) > export bridge=br0did you mean xenbr0 here?> /etc/xen/scripts/vif-bridge add > /etc/xen/scripts/vif-bridge online> brctl show > bridge name bridge id STP enabled interfaces > xenbr0 8000.000423a8e394 yes eth1 > xenbr1 8000.000423a8e395 yes eth2 > vif4.0 > vif9.0two vifs are being added to xenbr1 here connecting to VMs with id 4 and 9 at the time. (notice the vif nums and you can use xl list to show the VMs)