Hehe yes I have guessed so... Thanks again it worked like a charm!
----- Original Message ----- From: Alexander Hall <ha...@openbsd.org> To: ML mail <mlnos...@yahoo.com> Cc: "misc@openbsd.org" <misc@openbsd.org> Sent: Friday, October 21, 2011 12:18 AM Subject: Re: Delete just one alias from an interface On 10/20/11 21:48, Alexander Hall wrote: > On 10/20/11 18:43, ML mail wrote: >> Hi, >> >> I have an interface with a few IP aliases and I would like to remove >> just one single alias IP without affecting any other aliases. Which >> command would I use for that? >> >> ifconfig delete <IP_OF_ALIAS> >> >> Would this be correct? > > It would work. ifconfig <IP> delete would be even more 'correct'. > > You could create a fake interface and test this yourself, as in > > # ifconfig lo1 create > # ifconfig lo1 172.29.0.1 > # ifconfig lo1 172.29.0.2 > # ifconfig lo1 172.29.0.3 ...and obviously that testing would reveal that I forgot^Wdeliberately left out the "alias" on the two lines above... :-P > # ifconfig lo1 172.29.0.2 delete > # ifconfig lo1 > ... > # ifconfig lo1 destroy > >> >> Regards, >> ML