Hi, I''m trying to set up networking on a new machine. I''m not getting any networking from the domU''s I notice that I have two bridges being created: xenbr0 Link encap:Ethernet HWaddr FE:FF:FF:FF:FF:FF inet6 addr: fe80::200:ff:fe00:0/64 Scope:Link UP BROADCAST RUNNING NOARP MTU:1500 Metric:1 RX packets:3024 errors:0 dropped:0 overruns:0 frame:0 TX packets:3 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:1802480 (1.7 Mb) TX bytes:258 (258.0 b) xenbr1 Link encap:Ethernet HWaddr FE:FF:FF:FF:FF:FF inet6 addr: fe80::200:ff:fe00:0/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:44 errors:0 dropped:0 overruns:0 frame:0 TX packets:6 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:1232 (1.2 Kb) TX bytes:468 (468.0 b) Any idea why that would be? /etc/xen/xend-config.sxp only contains this: (xend-relocation-server yes) (xend-relocation-hosts-allow ''^localhost$'') (network-script ''network-bridge netdev=eth0'') (vif-script vif-bridge) (dom0-min-mem 196) (dom0-cpus 0) I''m configuring networking for the domU with this line: vif=[ ''mac=00:16:3e:6a:b4:43'', ''bridge=xenbr0'' ] Any idea why I''m seeing two bridges and if that might point to why I''m not getting any network throughput on my virtual machines? Thanks, Russell _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
I think you should have something like vif = [ ''bridge=xenbr0,mac=...'', ''bridge=xenbr1,mac=...'' ] replacing ... with mac addresses. Regards, Wayne On 11/01/2008, at 12:51 PM, Russell Horn wrote:> Hi, > > I''m trying to set up networking on a new machine. > > I''m not getting any networking from the domU''s > > I notice that I have two bridges being created: > > xenbr0 Link encap:Ethernet HWaddr FE:FF:FF:FF:FF:FF > inet6 addr: fe80::200:ff:fe00:0/64 Scope:Link > UP BROADCAST RUNNING NOARP MTU:1500 Metric:1 > RX packets:3024 errors:0 dropped:0 overruns:0 frame:0 > TX packets:3 errors:0 dropped:0 overruns:0 carrier:0 > collisions:0 txqueuelen:0 > RX bytes:1802480 (1.7 Mb) TX bytes:258 (258.0 b) > > xenbr1 Link encap:Ethernet HWaddr FE:FF:FF:FF:FF:FF > inet6 addr: fe80::200:ff:fe00:0/64 Scope:Link > UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 > RX packets:44 errors:0 dropped:0 overruns:0 frame:0 > TX packets:6 errors:0 dropped:0 overruns:0 carrier:0 > collisions:0 txqueuelen:0 > RX bytes:1232 (1.2 Kb) TX bytes:468 (468.0 b) > > Any idea why that would be? > > /etc/xen/xend-config.sxp only contains this: > > (xend-relocation-server yes) > (xend-relocation-hosts-allow ''^localhost$'') > (network-script ''network-bridge netdev=eth0'') > (vif-script vif-bridge) > (dom0-min-mem 196) > (dom0-cpus 0) > > I''m configuring networking for the domU with this line: > vif=[ ''mac=00:16:3e:6a:b4:43'', ''bridge=xenbr0'' ] > > Any idea why I''m seeing two bridges and if that might point to why I''m > not getting any network throughput on my virtual machines? > > Thanks, > > Russell > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-usersDr. Wayne Mallett High Perf. & Research Computing Support Information Technology & Resources James Cook University Townsville Qld 4811 Australia Ph (int): 5084 Ph (ext) : 07 4781 5084 Email: Wayne.Mallett@jcu.edu.au _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
You have two bridges probably because you have two network IF, eth0 and eth1, do you ? If you did not make a typo by writing this mail, the syntax of your domU network config seems to be wrong: not vif=[ ''mac=00:16:3e:6a:b4:43'', ''bridge=xenbr0'' ] but rather vif=[ ''mac=00:16:3e:6a:b4:43, bridge=xenbr0'' ] Hope this help. Alain. xen-users-bounces@lists.xensource.com a écrit sur 11/01/2008 03:51:45 :> Hi, > > I''m trying to set up networking on a new machine. > > I''m not getting any networking from the domU''s > > I notice that I have two bridges being created: > > xenbr0 Link encap:Ethernet HWaddr FE:FF:FF:FF:FF:FF > inet6 addr: fe80::200:ff:fe00:0/64 Scope:Link > UP BROADCAST RUNNING NOARP MTU:1500 Metric:1 > RX packets:3024 errors:0 dropped:0 overruns:0 frame:0 > TX packets:3 errors:0 dropped:0 overruns:0 carrier:0 > collisions:0 txqueuelen:0 > RX bytes:1802480 (1.7 Mb) TX bytes:258 (258.0 b) > > xenbr1 Link encap:Ethernet HWaddr FE:FF:FF:FF:FF:FF > inet6 addr: fe80::200:ff:fe00:0/64 Scope:Link > UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 > RX packets:44 errors:0 dropped:0 overruns:0 frame:0 > TX packets:6 errors:0 dropped:0 overruns:0 carrier:0 > collisions:0 txqueuelen:0 > RX bytes:1232 (1.2 Kb) TX bytes:468 (468.0 b) > > Any idea why that would be? > > /etc/xen/xend-config.sxp only contains this: > > (xend-relocation-server yes) > (xend-relocation-hosts-allow ''^localhost$'') > (network-script ''network-bridge netdev=eth0'') > (vif-script vif-bridge) > (dom0-min-mem 196) > (dom0-cpus 0) > > I''m configuring networking for the domU with this line: > vif=[ ''mac=00:16:3e:6a:b4:43'', ''bridge=xenbr0'' ] > > Any idea why I''m seeing two bridges and if that might point to why I''m > not getting any network throughput on my virtual machines? > > Thanks, > > Russell > > _______________________________________________ > 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
Hi, Are these bridges attached to some interface? brctl show should look like this: bridge name bridge id STP enabled interfaces xenbr0 8000.feffffffffff no eth0 xenbr1 8000.feffffffffff no eth1 regards, Jordi Russell Horn wrote:> Hi, > > I''m trying to set up networking on a new machine. > > I''m not getting any networking from the domU''s > > I notice that I have two bridges being created: > > xenbr0 Link encap:Ethernet HWaddr FE:FF:FF:FF:FF:FF > inet6 addr: fe80::200:ff:fe00:0/64 Scope:Link > UP BROADCAST RUNNING NOARP MTU:1500 Metric:1 > RX packets:3024 errors:0 dropped:0 overruns:0 frame:0 > TX packets:3 errors:0 dropped:0 overruns:0 carrier:0 > collisions:0 txqueuelen:0 > RX bytes:1802480 (1.7 Mb) TX bytes:258 (258.0 b) > > xenbr1 Link encap:Ethernet HWaddr FE:FF:FF:FF:FF:FF > inet6 addr: fe80::200:ff:fe00:0/64 Scope:Link > UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 > RX packets:44 errors:0 dropped:0 overruns:0 frame:0 > TX packets:6 errors:0 dropped:0 overruns:0 carrier:0 > collisions:0 txqueuelen:0 > RX bytes:1232 (1.2 Kb) TX bytes:468 (468.0 b) > > Any idea why that would be? > > /etc/xen/xend-config.sxp only contains this: > > (xend-relocation-server yes) > (xend-relocation-hosts-allow ''^localhost$'') > (network-script ''network-bridge netdev=eth0'') > (vif-script vif-bridge) > (dom0-min-mem 196) > (dom0-cpus 0) > > I''m configuring networking for the domU with this line: > vif=[ ''mac=00:16:3e:6a:b4:43'', ''bridge=xenbr0'' ] > > Any idea why I''m seeing two bridges and if that might point to why I''m > not getting any network throughput on my virtual machines? > > Thanks, > > Russell > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users > > >-- ...................................................................... __ / / Jordi Prats C E / S / C A Dept. de Sistemes /_/ Centre de Supercomputació de Catalunya Gran Capità, 2-4 (Edifici Nexus) · 08034 Barcelona T. 93 205 6464 · F. 93 205 6979 · jprats@cesca.es ...................................................................... _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
I''ve found that I have better luck creating bridges when I use the bridge facilities built in to Linux instead of the XEN ones. For example, on SuSE you can create an /etc/sysconfig/network/ifcfg-xenbr0 file and put configuration directives in this file that tell Linux which interface(s) to put in the bridge and even assign an IP or set DHCP on the bridge. Most of my XEN servers have multiple VLANs - usually five or six, so I''ve found that doing this greatly simplifies the amount of configuration I have to do. -Nick>>> On 2008/01/10 at 19:51, "Russell Horn" <albanach@gmail.com> wrote:Hi, I''m trying to set up networking on a new machine. I''m not getting any networking from the domU''s I notice that I have two bridges being created: xenbr0 Link encap:Ethernet HWaddr FE:FF:FF:FF:FF:FF inet6 addr: fe80::200:ff:fe00:0/64 Scope:Link UP BROADCAST RUNNING NOARP MTU:1500 Metric:1 RX packets:3024 errors:0 dropped:0 overruns:0 frame:0 TX packets:3 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:1802480 (1.7 Mb) TX bytes:258 (258.0 b) xenbr1 Link encap:Ethernet HWaddr FE:FF:FF:FF:FF:FF inet6 addr: fe80::200:ff:fe00:0/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:44 errors:0 dropped:0 overruns:0 frame:0 TX packets:6 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:1232 (1.2 Kb) TX bytes:468 (468.0 b) Any idea why that would be? /etc/xen/xend-config.sxp only contains this: (xend-relocation-server yes) (xend-relocation-hosts-allow ''^localhost$'') (network-script ''network-bridge netdev=eth0'') (vif-script vif-bridge) (dom0-min-mem 196) (dom0-cpus 0) I''m configuring networking for the domU with this line: vif=[ ''mac=00:16:3e:6a:b4:43'', ''bridge=xenbr0'' ] Any idea why I''m seeing two bridges and if that might point to why I''m not getting any network throughput on my virtual machines? Thanks, Russell _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Hi all, you may use in the xend-config.sxp (vif-script vif-bridge bridge=xenb0) or use scripts: brctl addbr xenintbr brctl setfd xenintbr 0 brctl sethello xenintbr 0 brctl stp xenintbr off echo "IP adress of xen bridge is 10.0.0.1" ifconfig xenintbr 10.0.0.1 netmask 255.255.255.0 up echo 1 > /proc/sys/net/ipv4/ip_forward Mit freundlichen Grüßen / with kind regards Gerhard Possler IT Architect IBM Enterprise Linux Services ELS Wiki@IBM (only accessible via IBM intranet) IT-Services and Solutions GmbH Rathausstr. 7, D-09111 Chemnitz Geschäftsführung: Rainer Laier, Michael Mai Sitz der Gesellschaft: Chemnitz Registergericht: Amtsgericht Chemnitz, HRB 18409 http://www.itsas.de/ gerhard.possler@de.ibm.com Mobil +49 (0) 160 90578637 "Nick Couchman" <Nick.Couchman@seakr.com> Sent by: xen-users-bounces@lists.xensource.com 11.01.2008 15:05 To "Russell Horn" <albanach@gmail.com>, <xen-users@lists.xensource.com> cc Subject Re: [Xen-users] Xen creating two bridges I''ve found that I have better luck creating bridges when I use the bridge facilities built in to Linux instead of the XEN ones. For example, on SuSE you can create an /etc/sysconfig/network/ifcfg-xenbr0 file and put configuration directives in this file that tell Linux which interface(s) to put in the bridge and even assign an IP or set DHCP on the bridge. Most of my XEN servers have multiple VLANs - usually five or six, so I''ve found that doing this greatly simplifies the amount of configuration I have to do. -Nick>>> On 2008/01/10 at 19:51, "Russell Horn" <albanach@gmail.com> wrote:Hi, I''m trying to set up networking on a new machine. I''m not getting any networking from the domU''s I notice that I have two bridges being created: xenbr0 Link encap:Ethernet HWaddr FE:FF:FF:FF:FF:FF inet6 addr: fe80::200:ff:fe00:0/64 Scope:Link UP BROADCAST RUNNING NOARP MTU:1500 Metric:1 RX packets:3024 errors:0 dropped:0 overruns:0 frame:0 TX packets:3 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:1802480 (1.7 Mb) TX bytes:258 (258.0 b) xenbr1 Link encap:Ethernet HWaddr FE:FF:FF:FF:FF:FF inet6 addr: fe80::200:ff:fe00:0/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:44 errors:0 dropped:0 overruns:0 frame:0 TX packets:6 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:1232 (1.2 Kb) TX bytes:468 (468.0 b) Any idea why that would be? /etc/xen/xend-config.sxp only contains this: (xend-relocation-server yes) (xend-relocation-hosts-allow ''^localhost$'') (network-script ''network-bridge netdev=eth0'') (vif-script vif-bridge) (dom0-min-mem 196) (dom0-cpus 0) I''m configuring networking for the domU with this line: vif=[ ''mac=00:16:3e:6a:b4:43'', ''bridge=xenbr0'' ] Any idea why I''m seeing two bridges and if that might point to why I''m not getting any network throughput on my virtual machines? Thanks, Russell _______________________________________________ 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
This works great for adding a new domU or HVM to a particular bridge, but setting up the bridges to begin with can be a bit challenging. I''ve found using Sysconfig is easier, especially with VLANs and they seem to confuse the XEN scripts that do the bridge setup. -Nick>>> On Fri, Jan 11, 2008 at 8:01 AM, Gerhard Possler<gerhard.possler@de.ibm.com> wrote: Hi all, you may use in the xend-config.sxp (vif-script vif-bridge bridge=xenb0) or use scripts: brctl addbr xenintbr brctl setfd xenintbr 0 brctl sethello xenintbr 0 brctl stp xenintbr off echo "IP adress of xen bridge is 10.0.0.1" ifconfig xenintbr 10.0.0.1 netmask 255.255.255.0 up echo 1 > /proc/sys/net/ipv4/ip_forward Mit freundlichen Grüßen / with kind regards Gerhard Possler IT Architect IBM Enterprise Linux Services ELS Wiki ( http://w3.webahead.ibm.com/w3ki/display/ELSde )@IBM (only accessible via IBM intranet) IT-Services and Solutions GmbH Rathausstr. 7, D-09111 Chemnitz Geschäftsführung: Rainer Laier, Michael Mai Sitz der Gesellschaft: Chemnitz Registergericht: Amtsgericht Chemnitz, HRB 18409 http://www.itsas.de/ gerhard.possler@de.ibm.com Mobil +49 (0) 160 90578637 "Nick Couchman" <Nick.Couchman@seakr.com> Sent by: xen-users-bounces@lists.xensource.com 11.01.2008 15:05 To "Russell Horn" <albanach@gmail.com>, <xen-users@lists.xensource.com> cc Subject Re: [Xen-users] Xen creating two bridges I''ve found that I have better luck creating bridges when I use the bridge facilities built in to Linux instead of the XEN ones. For example, on SuSE you can create an /etc/sysconfig/network/ifcfg-xenbr0 file and put configuration directives in this file that tell Linux which interface(s) to put in the bridge and even assign an IP or set DHCP on the bridge. Most of my XEN servers have multiple VLANs - usually five or six, so I''ve found that doing this greatly simplifies the amount of configuration I have to do. -Nick>>> On 2008/01/10 at 19:51, "Russell Horn" <albanach@gmail.com> wrote:Hi, I''m trying to set up networking on a new machine. I''m not getting any networking from the domU''s I notice that I have two bridges being created: xenbr0 Link encap:Ethernet HWaddr FE:FF:FF:FF:FF:FF inet6 addr: fe80::200:ff:fe00:0/64 Scope:Link UP BROADCAST RUNNING NOARP MTU:1500 Metric:1 RX packets:3024 errors:0 dropped:0 overruns:0 frame:0 TX packets:3 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:1802480 (1.7 Mb) TX bytes:258 (258.0 b) xenbr1 Link encap:Ethernet HWaddr FE:FF:FF:FF:FF:FF inet6 addr: fe80::200:ff:fe00:0/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:44 errors:0 dropped:0 overruns:0 frame:0 TX packets:6 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:1232 (1.2 Kb) TX bytes:468 (468.0 b) Any idea why that would be? /etc/xen/xend-config.sxp only contains this: (xend-relocation-server yes) (xend-relocation-hosts-allow ''^localhost$'') (network-script ''network-bridge netdev=eth0'') (vif-script vif-bridge) (dom0-min-mem 196) (dom0-cpus 0) I''m configuring networking for the domU with this line: vif=[ ''mac=00:16:3e:6a:b4:43'', ''bridge=xenbr0'' ] Any idea why I''m seeing two bridges and if that might point to why I''m not getting any network throughput on my virtual machines? Thanks, Russell _______________________________________________ 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
Reasonably Related Threads
- help--dom0 network goes unpingable when xend starts
- SSH ping etc not working between dom0 and domU''s
- bridge with IP address, "received packet with own address as source address"
- help--dom0 network goes unpingable when xend starts (fwd)
- Communicating with VM before Network is configured.