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: <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: RE: [Xen-devel] Is a gateway necessary for Xen networking? (c/s 15203)
From: "Szymanski, Lukasz K" <Lukasz.Szymanski@xxxxxxxxxx>
Date: Fri, 21 Sep 2007 09:56:46 -0500
Delivery-date: Fri, 21 Sep 2007 07:58:39 -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: Ace84N2u13qFCP4ASaS1EjOzMkSMCAcUxFggCMqyyNA=
Thread-topic: [Xen-devel] Is a gateway necessary for Xen networking? (c/s 15203)
The default gateway issue was initially reported in May 2006 http://lists.xensource.com/archives/html/xen-devel/2006-05/msg01485.html and fixed in c/s 10239 http://xenbits.xensource.com/xen-unstable.hg?diff/275955c6df9d/tools/examples/network-bridge.   Three months ago c/s 15203 removed all references to the variable vifnum and in the process reintroduced the default gateway issue.
 
This patch essentially replicates the one from c/s 10239, defaulting to eth0 if there is no default route specified.
 
Luke Szymanski
Linux Systems Group
Unisys Corp.
 

 
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
 
From: Keir Fraser [mailto:Keir.Fraser@xxxxxxxxxxxx]
Sent: Wednesday, August 08, 2007 3:11 AM
To: Krysan, Susan; xen-devel@xxxxxxxxxxxxxxxxxxx
Cc: Carb, Brian A
Subject: Re: [Xen-devel] Is a gateway necessary for Xen networking? (c/s15203)
 
 
 
I think most people will have a default gateway, but we’d take a patch to remove that assumption from the scripts.
 
 -- Keir
 

From: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx [mailto:xen-devel-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of Krysan, Susan
Sent: Tuesday, August 07, 2007 4:55 PM
To: xen-devel@xxxxxxxxxxxxxxxxxxx
Cc: Carb, Brian A
Subject: RE: [Xen-devel] Is a gateway necessary for Xen networking? (c/s 15203)

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

 

 

Attachment: default_gateway.patch
Description: default_gateway.patch

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>
  • RE: [Xen-devel] Is a gateway necessary for Xen networking? (c/s 15203), Szymanski, Lukasz K <=