Help - Search - Members - Calendar
Full Version: Ip Aliasing (lo:* To Eth0:*)
Linuxhelp > Support > Technical Support
Eric
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
hughesjr
What is your distro?
Eric
RH9.0
hughesjr
You should have (in the directory /etc/sysconfig/network-scripts/) several files named:

ifcfg-lo:1
ifcfg-lo:2


If you want to keep the same IPs on them that they have now, just rename them to:

ifcfg-eth0:1
ifcfg-eth0:2
Eric
After renaming them, I can't access the server anymore (it's a remote machine)... sad.gif
hughesjr
I didn't know it was a remote server ....

There might be a problem with iptables .... is it a NAT or FIREWALL server. If not, you might be able to get someone to turn off iptables and get in ...

After you get in post the results of ifconfig and iptables. If you don't want to post the full IP addresses, just post enough so we can see about fixing the problem:

for example:

24.122.34.34
24.122.34.35
24.122.34.36

could be:

x.x.x.34
x.x.x.35
x.x.x.36
Eric
All iptables policies were removed before I did all this.
Problem has been solved, I manually edited the files in /etc/sysconfig/network-scripts/


Thanks.
Eric
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2017 Invision Power Services, Inc.