From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,97cb917204857e17,start X-Google-Attributes: gidfee84,public From: sthaug@nethelp.no (Steinar Haug) Subject: How can I delete a secondary IP address on an interface? Date: 1996/11/09 Message-ID: <5633eq$1em@verdi.nethelp.no>#1/1 X-Deja-AN: 195564296 organization: Nethelp Consulting, Trondheim, Norway newsgroups: comp.unix.osf.osf1 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 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 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