All of lore.kernel.org
 help / color / mirror / Atom feed
* RE: nfsroot and brige
@ 2005-01-12 21:08 Ian Pratt
  2005-01-12 21:39 ` Ronald G. Minnich
  2005-01-12 21:43 ` Adam Heath
  0 siblings, 2 replies; 26+ messages in thread
From: Ian Pratt @ 2005-01-12 21:08 UTC (permalink / raw)
  To: Adam Sulmicki, xen-devel

> hello,
>  	it seems like a catch-22 to me. I boot xen0 with nfsroot,
>  	and then try to setup bridge stuff. something like this
> 
> /sbin/brctl addbr xen-br0
> /sbin/brctl addif xen-br0 eth0
> /sbin/ifconfig xen-br0 10.0.10.103 netmask 255.255.255.0 up
> /sbin/ifconfig eth0 0.0.0.0 promisc up
> 
>  	however, once I start it running it crashes down with error
>  	that nfs server is not available.
> 
>  	does it mean that I must use initramfs to configure bridge
>  	first, or is there some other way?

It really bugs me that there's no atomic way to configure a bridge and
transfer an IP address already active on another interface to it. I'm
not 100% convinced that the current behaviour is actually what the
bridge code author's intend: a the host can still transmit packet's with
an IP associated with an eth interface that is part of a bridge, it just
can't receive packets on that IP. I'd certainly appreciate it if someone
could ask the question on the bridge mailing list...

The workarounds for using nfsroot in dom0 at the moment are: a) use a
ramfs to configure the bridge; b) use a routed rather than bridged
setup.

I'm actually going off the whole idea of bridging rather than routeing
as the default...

Ian


-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt

^ permalink raw reply	[flat|nested] 26+ messages in thread
[parent not found: <41C08801.4060908@spaceball.cjb.net>]
* RE: Re: nfsroot and brige
@ 2005-01-13 11:55 Ian Pratt
  2005-01-13 12:55 ` Nuutti Kotivuori
  0 siblings, 1 reply; 26+ messages in thread
From: Ian Pratt @ 2005-01-13 11:55 UTC (permalink / raw)
  To: Nuutti Kotivuori, xen-devel

> Keir Fraser wrote:
> > Well, leaving in the etherbridge patch is easier than removing
> > it. I'll leave it for the time being.
> 
> Um, what is the etherbridge patch actually? I missed the references to
> it.

2.4 needs the bridge-nf to be able to use netfilter (iptables) in the
presence of a bridge.

> But, I'd just like to make sure - this aversion to bridging is because
> of bridges getting configured wrong, people having wrong assumptions
> on how they work, and bridges being a bad default choice, right? There
> aren't any known actual bugs in Xen or bridge code wrt. bridging
> setups, are there?

Briding works fine if configured correctly.

Ian

> The reason is that we are/will be using bridging really extensively,
> possibly soon with Xen virtual machines, although the configuration of
> the bridges is going to be totally custom.
> 
> -- Naked
> 
> 
> 
> 
> -------------------------------------------------------
> The SF.Net email is sponsored by: Beat the post-holiday blues
> Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
> It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/xen-devel
> 


-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt

^ permalink raw reply	[flat|nested] 26+ messages in thread
* RE: nfsroot and brige
@ 2005-01-17  7:56 Ian Pratt
  0 siblings, 0 replies; 26+ messages in thread
From: Ian Pratt @ 2005-01-17  7:56 UTC (permalink / raw)
  To: Adam Sulmicki, xen-devel

 
> it seems that it is actually possible to configure bridge 
> over nfsroot,
> but one needs to re-arrange lines slightl. As it is below it 
> works for me
> 
> /sbin/brctl addbr xen-br0
> /sbin/ifconfig xen-br0 $HOSTNAME netmask 255.255.255.0 up
> /sbin/brctl addif xen-br0 eth0
> /sbin/ifconfig eth0 0.0.0.0 promisc up

I can see how this can work if the NFS server is on the local subnet:
Linux is quite happy with two interfaces having the same IP. However, if
you're trying to transfer routes from eth0 to xen-br0 I'm not sure its
possible to do it 'atomically'.

Please could someone experiment and post a patch to vif-bridge.

Thanks,
Ian


-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt

^ permalink raw reply	[flat|nested] 26+ messages in thread

end of thread, other threads:[~2005-01-17  7:56 UTC | newest]

Thread overview: 26+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-01-12 21:08 nfsroot and brige Ian Pratt
2005-01-12 21:39 ` Ronald G. Minnich
2005-01-12 22:03   ` Keir Fraser
2005-01-12 22:04     ` Ronald G. Minnich
2005-01-12 22:42     ` Nivedita Singhvi
2005-01-13  9:30     ` Leigh Brown
2005-01-13  9:33       ` Keir Fraser
2005-01-13 11:32         ` Nuutti Kotivuori
2005-01-13 15:15           ` Ronald G. Minnich
2005-01-13 15:59             ` Grzegorz Milos
2005-01-13 16:09             ` Grzegorz Milos
2005-01-13 17:16               ` Ronald G. Minnich
2005-01-14 12:16                 ` Grzegorz Milos
2005-01-14 19:48                   ` Adam Sulmicki
2005-01-14 19:36                     ` Gregor Milos
2005-01-14 14:32                 ` Mike Wray
2005-01-14  0:38           ` Adam Sulmicki
2005-01-13 12:04         ` Keir Fraser
2005-01-13 12:33       ` Chris Andrews
2005-01-13 14:06     ` Jan Kundrát
2005-01-13 14:13       ` Ian Pratt
2005-01-12 21:43 ` Adam Heath
     [not found] <41C08801.4060908@spaceball.cjb.net>
2004-12-15 18:56 ` Xen and reiser4 Ming-Wei Shih
2004-12-17 19:17   ` Ming-Wei Shih
2005-01-11 20:12     ` Ming-Wei Shih
2005-01-11 21:23       ` Jan Kundrát
2005-01-11 23:37         ` Ming-Wei Shih
2005-01-12 14:26           ` Jan Kundrát
2005-01-12 20:09             ` Jerome Brown
2005-01-12 21:14               ` nfsroot and brige Adam Sulmicki
2005-01-17  7:56                 ` Adam Sulmicki
  -- strict thread matches above, loose matches on Subject: below --
2005-01-13 11:55 Ian Pratt
2005-01-13 12:55 ` Nuutti Kotivuori
2005-01-17  7:56 Ian Pratt

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.