On Wed, 05 Oct 2005 00:58:19 +0200 Carl-Daniel Hailfinger
<[EMAIL PROTECTED]> 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

Reply via email to