From mboxrd@z Thu Jan 1 00:00:00 1970 From: Peter Surda Date: Tue, 04 Oct 2005 23:20:08 +0000 Subject: Re: [LARTC] ip address delete bug? Message-Id: <20059512087124@mail.routehat.org> List-Id: References: <4341707D.90206@gmx.net> In-Reply-To: <4341707D.90206@gmx.net> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: lartc@vger.kernel.org On Wed, 05 Oct 2005 00:58:19 +0200 Carl-Daniel Hailfinger wrote: via ssh on eth0. You delete the ip >address of eth0. How are you going to add the new address to eth0 now >that your connection is gone? Go to the server room and use the console? (btw exactly the thing that happened to me) but the solution is easy, put everything into one line: ip addr del blah1 dev eth0;ip addr add blah2 dev eth0;ip link set eth0 up ;-) >Regards, >Carl-Daniel Yours sincerely, Peter -- http://www.shurdix.org - Linux distribution for routers and firewalls _______________________________________________ LARTC mailing list LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc