Carb, Brian A
2007-Jul-02 19:40 UTC
[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@lists.xensource.com http://lists.xensource.com/xen-devel
Krysan, Susan
2007-Aug-07 20:54 UTC
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@lists.xensource.com [mailto:xen-devel-bounces@lists.xensource.com] On Behalf Of Carb, Brian A Sent: Monday, July 02, 2007 3:41 PM To: xen-devel@lists.xensource.com 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@lists.xensource.com http://lists.xensource.com/xen-devel
Keir Fraser
2007-Aug-08 07:11 UTC
Re: [Xen-devel] Is a gateway necessary for Xen networking? (c/s 15203)
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@unisys.com> 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@lists.xensource.com > [mailto:xen-devel-bounces@lists.xensource.com] On Behalf Of Carb, Brian A > Sent: Monday, July 02, 2007 3:41 PM > To: xen-devel@lists.xensource.com > 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@lists.xensource.com > http://lists.xensource.com/xen-devel_______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Szymanski, Lukasz K
2007-Sep-21 14:56 UTC
RE: [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/exa mples/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@cl.cam.ac.uk] Sent: Wednesday, August 08, 2007 3:11 AM To: Krysan, Susan; xen-devel@lists.xensource.com <mailto:xen-devel@lists.xensource.com> 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@lists.xensource.com [mailto:xen-devel-bounces@lists.xensource.com] On Behalf Of Krysan, Susan Sent: Tuesday, August 07, 2007 4:55 PM To: xen-devel@lists.xensource.com 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@lists.xensource.com [mailto:xen-devel-bounces@lists.xensource.com] On Behalf Of Carb, Brian A Sent: Monday, July 02, 2007 3:41 PM To: xen-devel@lists.xensource.com 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@lists.xensource.com http://lists.xensource.com/xen-devel