cmdline_ip
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
Quoted 7 lines
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