Discussion Locked

Red Hat Linux

0 helpful
5 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
What directory in linux do I go to in order to remove my virtual ip addresses.

5 replies

by joe prochazka

If you goto the following directory:
/etc/sysconfig/network-scripts/
You will see a couple files in there that go like this:
ifcfg-eth0
ifcfg-eth0:0
ifcfg-eth0:1
and so on...
this is where your system holds your virtul ip configurations.
just remove the one for the ip you wish to remove.
Make sure not to delete the ifcfg-eth0 that is the config file for the network cards main ip address. The rest are the aliased IP addresses (such as ifcfg-eth0:0...). also make sure if you remove one the numbering still stays in squence from 0 to whatever.

This discussion is closed to new replies.