IP aliasing (lo:* to eth0:*)

Eric

Verified User
Joined
Mar 25, 2004
Messages
110
I currently have 9 Internet IP addresses on lo:* (excluding 127.0.0.1)
How do I change them to eth0:* instead?
Do I need to do anything with route or ifconfig afterwards?


Thanks
Eric
 
Do addip & removeip save whatever changes I make, or changes are lost after reboot?
 
Hello,

DA loads whatever is setup in the /usr/local/directadmin/data/admin/ips/* directory.

If you are adding the IPs yourself via the:

/etc/sysconfig/network-scripts/

directory, then they'll be loaded before DA loads them, do when DA does it, they'll probably fail. So what you'll want to do is remove the IPs from being loaded before DA, most likely from that directory (network-scripts).

John
 
Yeah I've noticed that, it says:
IP x.x.x.x already exists on eth0
Which DA script(s) bring up the IPs?

Can I stop the DA script(s) from binding the IPs on boot since I've already manually edited these files to have the system bring up the IPs:
ifcfg-eth0
ifcfg-lo
ifcfg-lo:1
ifcfg-lo:2
ifcfg-lo:3
ifcfg-lo:4
ifcfg-lo:5
ifcfg-lo:6
ifcfg-lo:7
ifcfg-lo:8
ifcfg-lo:9
 
Back
Top