From: Peter Surda <surda@shurdix.com>
To: lartc@vger.kernel.org
Subject: Re: [LARTC] ip address delete bug?
Date: Tue, 04 Oct 2005 23:20:08 +0000 [thread overview]
Message-ID: <20059512087124@mail.routehat.org> (raw)
In-Reply-To: <4341707D.90206@gmx.net>
On Wed, 05 Oct 2005 00:58:19 +0200 Carl-Daniel Hailfinger
<c-d.hailfinger.devel.2005@gmx.net> 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
next prev parent reply other threads:[~2005-10-04 23:20 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-10-03 17:55 [LARTC] ip address delete bug? Carl-Daniel Hailfinger
2005-10-03 18:00 ` Peter Surda
2005-10-04 19:11 ` Carl-Daniel Hailfinger
2005-10-04 21:23 ` Alexey Toptygin
2005-10-04 21:23 ` Alexey Toptygin
2005-10-04 22:58 ` [LARTC] " Carl-Daniel Hailfinger
2005-10-04 22:58 ` Carl-Daniel Hailfinger
2005-10-04 23:08 ` [LARTC] " Alexey Toptygin
2005-10-04 23:08 ` Alexey Toptygin
[not found] ` <1128474946.6224.8.camel@localhost.localdomain>
2005-10-05 15:32 ` [LARTC] " Carl-Daniel Hailfinger
2005-10-05 15:32 ` Carl-Daniel Hailfinger
2005-10-04 23:20 ` Peter Surda [this message]
2005-10-04 23:23 ` [LARTC] " Stephen Hemminger
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20059512087124@mail.routehat.org \
--to=surda@shurdix.com \
--cc=lartc@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.