Operating System - HP-UX
1820882 Members
3603 Online
109628 Solutions
New Discussion юеВ

how to disable virtual ip address

 
Oede
New Member

how to disable virtual ip address

I like to assign/unassign an additional virtual ip address to my network card. I have created the virtual ip address with SAM. Now I try to enable/disable this address with ipconfig.
For this purpose I use "ipconfig lan0:1 up" and "ipconfig lan0:1 down".
I have the following problem. If I disable the address with "ipconfig lan0:1 down", the ip address is not accessable from outside the server but it is still possible to use the virtual ip address at the server itself.
Is there a way to disable the virtual ip address in that way that no ping to this ip address is possible from the server itself?

I'm using HP-UX 11.00.

All comments are welcome.

Dirk Oede
4 REPLIES 4
Rainer von Bongartz
Honored Contributor

Re: how to disable virtual ip address


Just do:

ipconfig lan0:1 0.0.0.0
He's a real UNIX Man, sitting in his UNIX LAN making all his UNIX plans for nobody ...
John Palmer
Honored Contributor

Re: how to disable virtual ip address

ifconfig lan0:1 0

will totally disable that IP address.
Satish Y
Trusted Contributor

Re: how to disable virtual ip address

ifconfig lan0 delete

will also work...

Cheers...
Satish.
Difference between good and the best is only a little effort
Magdi KAMAL
Respected Contributor

Re: how to disable virtual ip address

Hi,

ifconfig lan0:1 inet down