Operating System - HP-UX
1833777 Members
2134 Online
110063 Solutions
New Discussion

eliminate the virtual IP..?

 
SOLVED
Go to solution
mw_4
Frequent Advisor

eliminate the virtual IP..?

my hp box has 4 virtual IP
then I should remove the 4 IPs..
How..?
Step by step
9 REPLIES 9
Michael Tully
Honored Contributor

Re: eliminate the virtual IP..?

Please post the output of /etc/rc.config.d/netconf file so it can be cleaned up also.
Anyone for a Mutiny ?
Andreas Voss
Honored Contributor
Solution

Re: eliminate the virtual IP..?

Hi,

if you are on HP-UX 10.20 then you could delete with:

ifalias lan3 del 212.239.50.41
ifalias lan3 del 212.239.50.47

Regards
mw_4
Frequent Advisor

Re: eliminate the virtual IP..?

issues netconf
see attached file
Step by step
Michael Tully
Honored Contributor

Re: eliminate the virtual IP..?

Hi,

This should remove the extra IP's

# ifconfig lan3 delete 212.239.50.41
# ifconfig lan3 delete 212.239.50.47
Anyone for a Mutiny ?
mw_4
Frequent Advisor

Re: eliminate the virtual IP..?

Michael..?
what if i will not what your saying ..? what's the difference after ifconfig lan3 delete.. and before ifconfig lan3 delete..
Step by step
Michael Tully
Honored Contributor

Re: eliminate the virtual IP..?

No changes need to be made to you /etc/rc.config.d/netconf file.

If you are using HPUX 10.20 the 'ifalias' command(s) will work. On HPUX 11 'ifconig' should do the job. Let us know how go.

Michael
Anyone for a Mutiny ?
Jim Keeble
Trusted Contributor

Re: eliminate the virtual IP..?


If you are running hp-ux 11.0, to remove the IP from, for example, lan3:1 use:

ifconfig lan3:1 0.0.0.0

If the need arises to remove the primary IP from lan3, use:

ifconfig lan3 unplumb



Tim D Fulford
Honored Contributor

Re: eliminate the virtual IP..?

MW is running 10.20 as the attached netstat -in shows collisions, (11.00 does not show this info!!!!)

ifalias lanx del x.x.x.x above will work (from memory)

Tim
-
Jim Keeble
Trusted Contributor

Re: eliminate the virtual IP..?

My mistake, mw. Please disregard ...