All of lore.kernel.org
 help / color / mirror / Atom feed
* network-bridge script reworked
@ 2005-10-19  9:35 Kurt Garloff
  2005-10-19 10:58 ` Ewan Mellor
                   ` (2 more replies)
  0 siblings, 3 replies; 19+ messages in thread
From: Kurt Garloff @ 2005-10-19  9:35 UTC (permalink / raw)
  To: Xen development list


[-- Attachment #1.1: Type: text/plain, Size: 634 bytes --]

Hi,

I hacked on the network-bridge script.

It now works much better for me:
* we got rid of ifconfig
* it works for netdev != eth0
* arp on and off are symmetric as are ifdown and ifup
* ifup will be passed the ifcfg config file name if needed
  (the ifup may otherwise figure that the veth0 hardware is 
   NOT the same as the original ${netdev} and not use the same
   config -- this happens on SUSE. Charles Coffing tracked this
   one down.)

Please merge.
Let me know if you prefer a patch vs. the new script.

Signed-off-by: Kurt Garloff <garloff@suse.de>
-- 
Kurt Garloff, Director SUSE Labs, Novell Inc.

[-- Attachment #1.2: Type: application/pgp-signature, Size: 189 bytes --]

[-- Attachment #2: Type: text/plain, Size: 138 bytes --]

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

^ permalink raw reply	[flat|nested] 19+ messages in thread
* RE: Re: network-bridge script reworked
@ 2005-10-19 18:07 Ian Pratt
  0 siblings, 0 replies; 19+ messages in thread
From: Ian Pratt @ 2005-10-19 18:07 UTC (permalink / raw)
  To: Charles Duffy, Kurt Garloff; +Cc: xen-devel

> Right, but if one wants to operate on veth1 and its match vif0.1 (or
> veth2 and vif0.2, etc) then some mechanism is needed to indicate this.
> 
> > Is it possible to create more than one veth0 in dom0?
> 
> Yes, by settings loopback.nloopbacks to a higher value.

Let's make the default larger (e.g. 4) after verifying that they only
get created in dom0, and don't consume significant memory unless
actually brought 'up'. Please can someone check.

Thanks,
Ian

^ permalink raw reply	[flat|nested] 19+ messages in thread
* RE: Re: network-bridge script reworked
@ 2005-10-21  8:18 Ian Pratt
  0 siblings, 0 replies; 19+ messages in thread
From: Ian Pratt @ 2005-10-21  8:18 UTC (permalink / raw)
  To: Ewan Mellor, xen-devel

 > > Just a reminder to fix this inconsistency. The default 
> should probably 
> > be yes (unless there is some reason why antispoof doesn't work?)
> 
> I have done (you haven't seen this on the public server yet, 
> of course).  To start with, I fixed it setting the default to 
> no, because antispoof does certainly seem to be broken, but 
> I'm fixing that now, and hopefully the default will be yes very soon.

We often don't know the domain's IP addr, so in general its not possible
to use antispoof.

There are also issues with antispoof breaking DHCP from domU's when used
with certain DHCP servers. 

I'd certainly keep the default as 'off' at this stage in proceedings.

Ian

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

end of thread, other threads:[~2005-10-21 14:44 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-10-19  9:35 network-bridge script reworked Kurt Garloff
2005-10-19 10:58 ` Ewan Mellor
2005-10-19 11:15 ` Charles Duffy
2005-10-19 11:58   ` Ewan Mellor
2005-10-19 12:22     ` Kurt Garloff
2005-10-20 16:56       ` David Hopwood
2005-10-20 17:10         ` Ewan Mellor
2005-10-20 17:36           ` Nivedita Singhvi
2005-10-20 17:59             ` Ewan Mellor
2005-10-19 11:59   ` Kurt Garloff
2005-10-19 13:37     ` Charles Duffy
2005-10-19 15:58       ` Ewan Mellor
2005-10-19 16:03         ` Charles Duffy
2005-10-20 10:41 ` Ewan Mellor
2005-10-20 18:22   ` Kurt Garloff
2005-10-21 13:48     ` Ewan Mellor
2005-10-21 14:44       ` Kurt Garloff
  -- strict thread matches above, loose matches on Subject: below --
2005-10-19 18:07 Ian Pratt
2005-10-21  8:18 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.