lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20150518182429.GA894@angus-think.lan>
Date:	Mon, 18 May 2015 21:24:29 +0300
From:	Vadim Kochan <vadim4j@...il.com>
To:	Cong Wang <cwang@...pensource.com>
Cc:	Michael Tokarev <mjt@....msk.ru>,
	Network Development <netdev@...r.kernel.org>
Subject: Re: iproute equivalent of replacing address with ifconfig?

On Mon, May 18, 2015 at 10:46:58AM -0700, Cong Wang wrote:
> On Mon, May 18, 2015 at 7:03 AM, Michael Tokarev <mjt@....msk.ru> wrote:
> >
> > ip addr command however does not have the ability to "replace"
> > an address, there are two commands for that, del and add.
> > So in order to change address, one have to delete and add,
> > a two-step process.  Adding an address before deleting might
> > not work as the new address should not conflict with old
> > address in any way, or else addition fails.
> 
> Are you sure?
> 
> $ ip addr help
> Usage: ip addr {add|change|replace} IFADDR dev STRING [ LIFETIME ]
>                                                       [ CONFFLAG-LIST ]
Ha, but man page does not have it :)
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ