Want to add second IP to NIC
I have a very frustrating distro I'm working with called "Linux from Scratch".
It wasn't my choice, I inherited these boxes.
The documentation on this distro is somewhat sketchy.
Basically, what I'd like to do is permanently (ie. survive a reboot) add a
second IP to a NIC. (eg. eth0:0)
Now, using "ipconfig eth0:0 192.168.50.50 netmask 255.255.255.0 up" works.
However, it doesn't preserve this once I reboot.
As well, adding /etc/sysconfig/network-devices/ifconfig.eth0:0/ doesn't work.
There is no network-scripts directory off of sysconfig.
There is no rc.local. There is nothing in /etc/rc.d that says "Network" and
there are no conf files there.. just your standard init.d and rc1,2,3,4,etc.d
There are no files on the system that are called "ethcfg" or "ifcfg-eth0"
Would ifcfg work? Does it modify something somewhere?
I'm nearly at the point of ripping my hair out. Where else could it be? I know
that it works because there's another machine I've "Inherited" that already
has two IP's bound to one NIC, but I can't find where the config for it is for
the life of me.
Any ideas? I'm nearly at the end of my rope.
Your help is highly appreciated.