xen-users
Re: [Xen-users] Xen 4.1.0, multiple network interfaces, network-bridge f
On Thu, May 5, 2011 at 9:32 AM, Todd Deshane <todd.deshane@xxxxxxx> wrote:
> On Thu, May 5, 2011 at 4:49 AM, Jan Vejvalka
> <jan.vejvalka@xxxxxxxxxxxxxxx> wrote:
>>>> root@cen:~# /etc/xen/scripts/network-bridge start netdev=eth0
>>>> root@cen:~# /etc/xen/scripts/network-bridge start netdev=eth1
>>>>
>>>> only creates the eth0 bridge.
>>>>
>>>> There is a check in the script that prevents it from creating more than
>>>> one bridge:
>>>>
>>>> (...)
>>>> op_start () {
>>>> (...)
>>>> if [ `brctl show | wc -l` != 1 ]; then
>>>> return
>>>> fi
>>>>
>>>> Why ? Is that a bug, a feature, or is it something that came in in the
>>>> process of building Xen ? Did I miss something somewhere ?
>>>>
>>
>>> Networking in Xen 4.1+ has changed:
>>> http://wiki.xensource.com/xenwiki/MigrationGuideToXen4.1%2B
>>>
>>> See also:
>>> http://wiki.xensource.com/xenwiki/HostConfiguration/Networking
>>> http://wiki.xensource.com/xenwiki/Xen4.1
>>
>> I see. But I did not upgrade, I installed from fresh. Does it mean that
>> the /etc/xen/scripts/network-bridge script is obsolete ?
>>
>
> Yes it is deprecated. It will be much better and more robust to use
> the network scripts in your distribution.
>
> Offhand I can't seem to find the slackware documentation on creating
> network bridges.
>
> The closest thing I can find is:
> http://www.slackbook.org/html/book.html#NETWORK-CONFIGURATION-TCPIP-CONF
>
> Maybe other Xen Slackware users will have some tips?
>
> I've asked on the ##slackware IRC channel on freenode and if someone
> answers I can post more info.
>
So some responses from the slackware IRC indicate that brctl is in
fact a good option and you could put the commands in /etc/rc.local
Another person added a diff to rc.inet1 that support bridges:
http://connie.slackware.com/~alien/rc_scripts/bridging/
Hope that helps.
If we could document a Slackware bridging guide somewhere guide on the
wiki that would be helpful for the future.
Thanks,
Todd
> A more manual option is to use a tool called brctl (using in a package
> called something like bridge-utils)
>
> brctl can be used to add a bridge device and connect it to your
> network card (eth0 for example).
>
> brctl is well-documented.
>
> Let us know if you find good slackware documentation for bridged
> networking so we can add it to our wiki.
>
> Thanks,
> Todd
>
>> Is there some info/example on how to set up networking in Xen 4.1 that
>> is not distribution-specific ? So far, the most helpful for me was the
>> diagram in http://libvirt.org/archnetwork.html together with the
>> network-bridge script itself.
>>
>> And one more question: how can I tell which document in xenwiki applies
>> to which version of Xen ?
>>
>> Thanks,
>>
>> Jan
>>
>> _______________________________________________
>> Xen-users mailing list
>> Xen-users@xxxxxxxxxxxxxxxxxxx
>> http://lists.xensource.com/xen-users
>>
>
>
>
> --
> Todd Deshane
> http://www.linkedin.com/in/deshantm
> http://www.xen.org/products/cloudxen.html
> http://runningxen.com/
>
--
Todd Deshane
http://www.linkedin.com/in/deshantm
http://www.xen.org/products/cloudxen.html
http://runningxen.com/
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
|
<Prev in Thread] |
Current Thread |
[Next in Thread>
|
- [Xen-users] Xen 4.1.0, multiple network interfaces, network-bridge failing to create multiple bridges, Jan Vejvalka
- Re: [Xen-users] Xen 4.1.0, multiple network interfaces, network-bridge failing to create multiple bridges, Todd Deshane
- Re: [Xen-users] Xen 4.1.0, multiple network interfaces, network-bridge failing to create multiple bridges, Jan Vejvalka
- Re: [Xen-users] Xen 4.1.0, multiple network interfaces, network-bridge failing to create multiple bridges, Todd Deshane
- Re: [Xen-users] Xen 4.1.0, multiple network interfaces, network-bridge failing to create multiple bridges,
Todd Deshane <=
- Re: [Xen-users] Xen 4.1.0, multiple network interfaces, network-bridge failing to create multiple bridges, Jan Vejvalka
- Re: [Xen-users] Xen 4.1.0, multiple network interfaces, network-bridge failing to create multiple bridges, Joseph Glanville
- Re: [Xen-users] Xen 4.1.0, multiple network interfaces, network-bridge failing to create multiple bridges, Jan Vejvalka
- Re: [Xen-users] Xen 4.1.0, multiple network interfaces, network-bridge failing to create multiple bridges, Joseph Glanville
|
|
|