Subject: Re: [RFC] ip / ifconfig redesign

From: Jeroen Massar <[email-masked]>
Date: Mon, 05 Dec 2005 15:20:36 +0100

John W. Linville wrote:

<SNIP>
> Of course, patches would be helpful...

/sbin/ipadd <address>
#!/bin/sh
ip addr add $1 dev lo

/sbin/ipdel <address>
#!/bin/sh
ip addr del $1 dev lo

/sbin/ipactivate <address> <device>
#!/bin/sh
ip addr add $1 dev $2

/sbin/ipdeactivate <address> <device>
#!/bin/sh
ip addr del $1 dev $2

There are your 'patches'. Add -6's to places for IPv6 versions.

Greets,
 Jeroen