* How can I delete a secondary IP address on an interface?
@ 1996-11-09 5:00 Steinar Haug
1996-11-12 5:00 ` Kok Fock seng
0 siblings, 1 reply; 2+ messages in thread
From: Steinar Haug @ 1996-11-09 5:00 UTC (permalink / raw)
Scenario: Alpha 4/100 system running 3.2G. I added a secondary address
(on the same subnet) to the Ethernet interface by doing:
ifconfig tu0 <new IP address> netmask 0xffffff00 alias
This worked just fine, I could access the new address from the machine
itself and from the outside.
However, having tested my software, I attempted to delete the secondary
address again with
ifconfig tu0 <new IP address> delete
To my horror, the secondary address I had added *and* the primary IP
address were deleted. This was reported by ifconfig, and then I lost
contact with the machine (of course), since I was logged in over the
net :-(
So my question is: How can I delete *only* the secondary address?
Steinar Haug, Nethelp consulting, sthaug@nethelp.no
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: How can I delete a secondary IP address on an interface?
1996-11-09 5:00 How can I delete a secondary IP address on an interface? Steinar Haug
@ 1996-11-12 5:00 ` Kok Fock seng
0 siblings, 0 replies; 2+ messages in thread
From: Kok Fock seng @ 1996-11-12 5:00 UTC (permalink / raw)
Steinar Haug wrote:
>
> Scenario: Alpha 4/100 system running 3.2G. I added a secondary address
> (on the same subnet) to the Ethernet interface by doing:
>
> ifconfig tu0 <new IP address> netmask 0xffffff00 alias
>
> This worked just fine, I could access the new address from the machine
> itself and from the outside.
>
> However, having tested my software, I attempted to delete the secondary
> address again with
>
> ifconfig tu0 <new IP address> delete
>
> To my horror, the secondary address I had added *and* the primary IP
> address were deleted. This was reported by ifconfig, and then I lost
> contact with the machine (of course), since I was logged in over the
> net :-(
>
> So my question is: How can I delete *only* the secondary address?
You should use :
ifconfig tu0 -alias <new IP address>
^
>
> Steinar Haug, Nethelp consulting, sthaug@nethelp.no
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~1996-11-12 5:00 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1996-11-09 5:00 How can I delete a secondary IP address on an interface? Steinar Haug
1996-11-12 5:00 ` Kok Fock seng
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox