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-users

[Xen-users] /etc/sysconfig/network-scripts, are they executed in xen sta

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] /etc/sysconfig/network-scripts, are they executed in xen startup
From: Steven Timm <timm@xxxxxxxx>
Date: Wed, 03 Sep 2008 12:07:43 -0500 (CDT)
Delivery-date: Wed, 03 Sep 2008 10:12:38 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx

I have a few Xen domu's that run multiple ip's on the same bridge.


For example

root@fg4x2 network-scripts]# cat ifcfg-eth0
# Intel Corporation 82541GI Gigabit Ethernet Controller
DEVICE=eth0
BOOTPROTO=static
BROADCAST=131.225.107.255
HWADDR=00:16:3E:05:04:02
IPADDR=131.225.107.112
NETMASK=255.255.255.0
NETWORK=131.225.107.0
ONBOOT=yes


root@fg4x2 network-scripts]# cat ifcfg-eth0:160
DEVICE=eth0:160
BOOTPROTO=static
BROADCAST=131.225.107.255
IPADDR=131.225.107.160
NETMASK=255.255.255.0
NETWORK=131.225.107.0
ONBOOT=yes
TYPE=Ethernet


On this particular domU, the 131.225.107.160 ip is not
activated at boot, even though onboot=yes.
(This domU is based on Sci. Linux 5.1 which is like redhat and centos).

On another different domU, I have a case where an
extra ip is activated at boot, even though I specify onboot=no.
That domU is based on Sci. Linux 4.x which is like redhat and centos).


My questions:
1) What is it in the startup of a domU xen OS that determines which
parts of /etc/sysconfig/network-scripts are executed and which are not?
Obviously the machine has some ip from the beginning well before
you get to the /etc/rc.d/rc3.d scriptgs.


2) What is it within the xen startup which causes the files
ifcfg-eth0 and ifcfg-eth1 to be renamed to ifcfg-eth0.bak and
ifcfg-eth1.bak sometimes?

Any help is appreciated.

Thanks

Steve Timm

--
------------------------------------------------------------------
Steven C. Timm, Ph.D  (630) 840-8525
timm@xxxxxxxx  http://home.fnal.gov/~timm/
Fermilab Computing Division, Scientific Computing Facilities,
Grid Facilities Department, FermiGrid Services Group, Assistant Group Leader.

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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-users] /etc/sysconfig/network-scripts, are they executed in xen startup, Steven Timm <=