Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Removing a virtual IP

Status
Not open for further replies.

ndog4ever

MIS
Feb 6, 2002
92
US
I am new to linux and I am curious on how to remove a virtual IP. I am pretty familiar with Solaris, but I don't see the same type of files in linux. Any help would be appreciated.

eth0:1 Link encap:Ethernet HWaddr 00:01:02:F9:F8:3D
inet addr:192.168.1.10 Bcast:192.168.1.255
Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1

 
Hello;

Depending on how your virtual interfaces were setup look in /etc/rc.d/rc.local or /etc/rc.d/rc/rc.inet1

* depending on your dist.. the names could also be local.rc and inet1.rc
 
temp removal

ifdown eth0:1

perm:
ifdown eth0:1
rm -f /etc/sysconfig/network-scripts/ifcfg-eth0:1

 
Easiest way is to type 'netcfg' at the command line which will open the network configurator window. From there click the Interfaces tab. Next double click the eth0 interface. A new window will open allowing you to Edit, Remove, or Deactivate the interface.

Don
 
The tool is ifconfig.
The rest of these apps are wrappers.
Don't depend on wrappers!!!!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top