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] cmdline_ip

To: victor <victor@xxxxxxxx>
Subject: Re: [Xen-devel] cmdline_ip
From: Ian Pratt <Ian.Pratt@xxxxxxxxxxxx>
Date: Thu, 18 Mar 2004 08:44:33 +0000
Cc: xen-devel@xxxxxxxxxxxxxxxxxxxxx, Ian.Pratt@xxxxxxxxxxxx
Delivery-date: Thu, 18 Mar 2004 08:49:53 +0000
Envelope-to: steven.hand@xxxxxxxxxxxx
In-reply-to: Your message of "Thu, 18 Mar 2032 09:35:12 EST." <75049020.3070702@xxxxxxxx>
List-archive: <http://sourceforge.net/mailarchive/forum.php?forum=xen-devel>
List-help: <mailto:xen-devel-request@lists.sourceforge.net?subject=help>
List-id: List for Xen developers <xen-devel.lists.sourceforge.net>
List-post: <mailto:xen-devel@lists.sourceforge.net>
List-subscribe: <https://lists.sourceforge.net/lists/listinfo/xen-devel>, <mailto:xen-devel-request@lists.sourceforge.net?subject=subscribe>
List-unsubscribe: <https://lists.sourceforge.net/lists/listinfo/xen-devel>, <mailto:xen-devel-request@lists.sourceforge.net?subject=unsubscribe>
Sender: xen-devel-admin@xxxxxxxxxxxxxxxxxxxxx
> I want to add many ip addresses from the config file.
> I tried this:
> 
> cmdline_ip = 
> "ip="+vfr_ipaddr[0]+":"+nfsserv+":"+gateway+":"+netmask+"::eth0"+vfr_ipaddr[1]+":"+nfsserv+":"+gateway+":"+netmask+"::eth0:60"
> 
> But I get the following error:
> IP-Config: Device `eth0192.168.250' not found.

I'm afraid this is a standard Linux limitation : it's only
possible to configure one IP address on the kernel command line.

Further addresses have to be configured manually, or by the
/etc/rc scripts. Under RH9, the normal way of doing this would be
to create an /etc/sysconfig/network-scripts/ifcfg-eth0:60 file
something like:

DEVICE=eth0:60
IPADDR=192.168.250.60



Ian


-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/xen-devel

<Prev in Thread] Current Thread [Next in Thread>
  • Re: [Xen-devel] cmdline_ip, Ian Pratt <=