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

Re: How to apply changes in /etc/network/interfaces w/o OS restart?



On Sat, Apr 18, 2009 at 11:51 PM, Sven Joachim <svenjoac@gmx.de> wrote:
> On 2009-04-18 20:04 +0200, Sthu Deus wrote:
>
>> I have changed my ip in /etc/network/interfaces. Then have
>> restarted /etc/init.d/networking, but saw no effect. How can apply my
>> changes to my network configuration without restarting whole OS?
>
> We just had this question recently, please read the thread starting at
> [1].  You may want to try "ifdown [interface]; ifup [interface]".
>
> Sven
>
>
> 1. http://lists.debian.org/debian-user/2009/04/msg00334.html
>


Or if you have
"auto eth0" line in /etc/network/interfaces, you do not need to do
"ifup / ifdown".

Please correct me if I am wrong.


-- 
With Regards
Abhishek Amberkar

Learn to appreciate a beauty within...


Reply to: