From: Kok Fock seng <fskok@silicon.net.my>
Subject: Re: How can I delete a secondary IP address on an interface?
Date: 1996/11/12 [thread overview]
Message-ID: <32892363.37AF@silicon.net.my> (raw)
In-Reply-To: 5633eq$1em@verdi.nethelp.no
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
prev parent reply other threads:[~1996-11-12 5:00 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
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 message]
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox