WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] Is a gateway necessary for Xen networking? (c/s 15203)

To: "Krysan, Susan" <KRYSANS@xxxxxxxxxx>, <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: Re: [Xen-devel] Is a gateway necessary for Xen networking? (c/s 15203)
From: Keir Fraser <Keir.Fraser@xxxxxxxxxxxx>
Date: Wed, 08 Aug 2007 08:11:24 +0100
Cc: "Carb, Brian A" <Brian.Carb@xxxxxxxxxx>
Delivery-date: Wed, 08 Aug 2007 00:05:11 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <EF8D308BE33AF54D8934DF26520252D3069BD5BA@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: Ace84N2u13qFCP4ASaS1EjOzMkSMCAcUxFggABXZSg8=
Thread-topic: [Xen-devel] Is a gateway necessary for Xen networking? (c/s 15203)
User-agent: Microsoft-Entourage/11.3.3.061214
I think most people will have a default gateway, but we’d take a patch to remove that assumption from the scripts.

 -- Keir

On 7/8/07 21:54, "Krysan, Susan" <KRYSANS@xxxxxxxxxx> wrote:

Posting this again, hoping for a response.
 
c/s 15203 removed netloop from network bridge init scripts and assumes a default gateway route is defined.  When one is not defined, networking does not work.  Is it truly the intention of this c/s to require a gateway for xen, even though one is not required when we boot the linux kernel?
 

Thanks,
Sue Krysan
Linux Systems Group
Unisys Corporation


From: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx [mailto:xen-devel-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of Carb, Brian A
Sent: Monday, July 02, 2007 3:41 PM
To: xen-devel@xxxxxxxxxxxxxxxxxxx
Cc: Carb, Brian A
Subject: [Xen-devel] Is a gateway necessary for Xen networking?


Using Xen unstable (changeset 15445) on X86_64 SLES10, we are no longer able to start networking without a default gateway.
 
After "xend" starts,
-  ifconfig shows eth0, lo, and tmpbridge, and xen networking is incomplete
-  "brctl show" reveals tmpbridge with no interfaces connected

If we modify the network-bridge script to show output:
       #!/bin/bash         
        exec 2>/tmp/log
        set -x
and restart xend, the log file shows that xen-network-common.sh fails in a call to getcfg:
        + preiftransfer
        ++ /sbin/getcfg -d /etc/sysconfig/network/ -f ifcfg- --
        Error in getcfg (get_config.c, 303):
        Give exactly one argument

If we create a default route, the script does not error and a peth0 is created.
Since a gateway is not required for linux, should it be required for Xen?

brian carb
unisys corporation - malvern, pa





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

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>