Mailing List Archive

More than one NIC - bridged from dom0
Hello,

what do i have to do to make eth1 and eth2 from dom0 visible (bridged like
eth0) for my other domains?

It would be nice, if someone has already scripts for that.

I am not shure which scripts i have to modify. Is it sufficient to start
the /etc/xen/scripts/network 3 times, every time with the next interface?

What about the vifs? And btw. what are the vifs for?

thank you
Sammy


_______________________________________________
Xen-users mailing list
Xen-users@lists.xensource.com
http://lists.xensource.com/xen-users
Re: More than one NIC - bridged from dom0 [ In reply to ]
On Thursday 30 June 2005 13:02, Sami Okasha wrote:
> Hello,
>
> what do i have to do to make eth1 and eth2 from dom0 visible (bridged like
> eth0) for my other domains?
>
> It would be nice, if someone has already scripts for that.
>
> I am not shure which scripts i have to modify. Is it sufficient to start
> the /etc/xen/scripts/network 3 times, every time with the next interface?
>
> What about the vifs? And btw. what are the vifs for?

I'm using only one nic in my setup, but had to use a different approach for
the bridges, which will probably work nice for you, too.

I didn't let the xen scripts handle bridge creation, but used my Xen0 OSes
init scripts for bridectl for it (gentoo comes with premade scripts there,
probably other linux flavors, too.)

I had it setup a "br0" bridge, on eth0, should be trivial to have it generate
br1 for eth1 and so on.

Then I had my xendomains configured to use that bridge instead, like:
vif = [ 'mac=de:ad:be:ef:00:00, bridge=br0' ]

in your case,
vif = [ 'mac=de:ad:be:ef:00:00, bridge=br0',
'mac=00:de:ad:be:ef:00, bridge=br1'
]
(with "nics=2" set)
should do the trick.

I don't remember if I had to patch the xen startup scripts to prevent creation
of 'xen-br0', maybe you'll need to do that...

Greetings
/Ernst

_______________________________________________
Xen-users mailing list
Xen-users@lists.xensource.com
http://lists.xensource.com/xen-users
Re: More than one NIC - bridged from dom0 [ In reply to ]
Ernst Bachmann schrieb am Donnerstag, 30. Juni 2005 13:22:
> On Thursday 30 June 2005 13:02, Sami Okasha wrote:
> > Hello,
> >
> > what do i have to do to make eth1 and eth2 from dom0 visible (bridged
> > like eth0) for my other domains?
> >
> > It would be nice, if someone has already scripts for that.
> >
> > I am not shure which scripts i have to modify. Is it sufficient to start
> > the /etc/xen/scripts/network 3 times, every time with the next
> > interface?
> >
> > What about the vifs? And btw. what are the vifs for?
>
> I'm using only one nic in my setup, but had to use a different approach for
> the bridges, which will probably work nice for you, too.
>
> I didn't let the xen scripts handle bridge creation, but used my Xen0 OSes
> init scripts for bridectl for it (gentoo comes with premade scripts there,
> probably other linux flavors, too.)
>
> I had it setup a "br0" bridge, on eth0, should be trivial to have it
> generate br1 for eth1 and so on.

i can do this whith brctrl i think, but it would probably be better, if i use
the scripts from xen. i donno if this makes any difference.

I am not very familar with bridging.

Thank you for you advise

Sammy


--
Sammy Okasha
mailto:Sammy@Okasha.de
jabber:sammy@jabber.ccc.de, I Seek You: 51144829

Key ID: 6F3D8EBD6E6DB4B2
GPG Key Fingerprint: F415 08EC 90C6 383B 1BFE D0C9 6F3D 8EBD 6E6D B4B2



_______________________________________________
Xen-users mailing list
Xen-users@lists.xensource.com
http://lists.xensource.com/xen-users
Re: More than one NIC - bridged from dom0 [ In reply to ]
Ernst Bachmann schrieb am Donnerstag, 30. Juni 2005 13:22:
> On Thursday 30 June 2005 13:02, Sami Okasha wrote:
> > Hello,
> >
> > what do i have to do to make eth1 and eth2 from dom0 visible (bridged
> > like eth0) for my other domains?
> >
> > It would be nice, if someone has already scripts for that.
> >
> > I am not shure which scripts i have to modify. Is it sufficient to start
> > the /etc/xen/scripts/network 3 times, every time with the next
> > interface?
> >
> > What about the vifs? And btw. what are the vifs for?
>
> I'm using only one nic in my setup, but had to use a different approach for
> the bridges, which will probably work nice for you, too.
>
> I didn't let the xen scripts handle bridge creation, but used my Xen0 OSes
> init scripts for bridectl for it (gentoo comes with premade scripts there,
> probably other linux flavors, too.)
>
> I had it setup a "br0" bridge, on eth0, should be trivial to have it
> generate br1 for eth1 and so on.

i can do this whith brctrl i think, but it would probably be better, if i use
the scripts from xen. i donno if this makes any difference.

I am not very familar with bridging.

Thank you for you advise

Sammy


--
Sammy Okasha
mailto:Sammy@Okasha.de
jabber:sammy@jabber.ccc.de, I Seek You: 51144829

Key ID: 6F3D8EBD6E6DB4B2
GPG Key Fingerprint: F415 08EC 90C6 383B 1BFE D0C9 6F3D 8EBD 6E6D B4B2



_______________________________________________
Xen-users mailing list
Xen-users@lists.xensource.com
http://lists.xensource.com/xen-users
Re: More than one NIC - bridged from dom0 [ In reply to ]
Hello,

i just wanted to add that i found a previous good discussion about that issue
month before.

http://lists.xensource.com/archives/html/xen-users/2005-05/msg00007.html


Sami


> Ernst Bachmann schrieb am Donnerstag, 30. Juni 2005 13:22:
> > On Thursday 30 June 2005 13:02, Sami Okasha wrote:
> > > Hello,
> > >
> > > what do i have to do to make eth1 and eth2 from dom0 visible (bridged
> > > like eth0) for my other domains?
> > >
> > > It would be nice, if someone has already scripts for that.
> > >
> > > I am not shure which scripts i have to modify. Is it sufficient to
> > > start the /etc/xen/scripts/network 3 times, every time with the next
> > > interface?
> > >
> > > What about the vifs? And btw. what are the vifs for?
> >
> > I'm using only one nic in my setup, but had to use a different approach
> > for the bridges, which will probably work nice for you, too.
> >
> > I didn't let the xen scripts handle bridge creation, but used my Xen0
> > OSes init scripts for bridectl for it (gentoo comes with premade scripts
> > there, probably other linux flavors, too.)
> >
> > I had it setup a "br0" bridge, on eth0, should be trivial to have it
> > generate br1 for eth1 and so on.
>
> i can do this whith brctrl i think, but it would probably be better, if i
> use the scripts from xen. i donno if this makes any difference.
>
> I am not very familar with bridging.
>
> Thank you for you advise
>
> Sammy


_______________________________________________
Xen-users mailing list
Xen-users@lists.xensource.com
http://lists.xensource.com/xen-users