* cmdline_ip
@ 2004-03-18 7:28 victor
2004-03-18 8:44 ` cmdline_ip Ian Pratt
0 siblings, 1 reply; 2+ messages in thread
From: victor @ 2004-03-18 7:28 UTC (permalink / raw)
To: xen-devel
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.
-------------------------------------------------------
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
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: cmdline_ip
2004-03-18 7:28 cmdline_ip victor
@ 2004-03-18 8:44 ` Ian Pratt
0 siblings, 0 replies; 2+ messages in thread
From: Ian Pratt @ 2004-03-18 8:44 UTC (permalink / raw)
To: victor; +Cc: xen-devel, Ian.Pratt
> 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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2004-03-18 8:44 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-03-18 7:28 cmdline_ip victor
2004-03-18 8:44 ` cmdline_ip Ian Pratt
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.