Re: ip address delete bug?

Linux Advanced Routing and Traffic Control

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 05 Oct 2005 00:58:19 +0200 Carl-Daniel Hailfinger
<c-d.hailfinger.devel.2005@xxxxxxx> 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@xxxxxxxxxxxxxxx
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

[Index of Archives]     [LARTC Home Page]     [Netfilter]     [Netfilter Development]     [Network Development]     [Bugtraq]     [GCC Help]     [Yosemite News]     [Linux Kernel]     [Fedora Users]
  Powered by Linux