:: Re: [DNG] ifconfig vs ip
Página Inicial
Delete this message
Reply to this message
Autor: Adam Borowski
Data:  
Para: dng
Assunto: Re: [DNG] ifconfig vs ip
On Fri, Jun 03, 2016 at 07:52:51PM +0900, Simon Walter wrote:
> On 06/03/2016 04:43 PM, Adam Borowski wrote:
> > On Fri, Jun 03, 2016 at 08:56:50AM +0900, Simon Walter wrote:
> >> I am working on some cdist scripts for setting up some network interfaces.
> >>
> >> So far I am modifying the /etc/network/interfaces and then bring down
> >> and up the interfaces. For a while now /etc/init.d/networking has a
> >> warning that it is deprecated.
> >
> > /etc/init.d/networking is not deprecated, only calling it with the argument
> > "restart" (="force-reload") is. There's no real way to do that reliably in
> > any non-static setup.
>
> OK. I see. So it's only with restart. Got it. By non-static is that only
> dhcp or are there other non-static setups? I would imagine a dhcp setup
> would restart fine, but maybe I am such a simple user.


I meant "non-static" as in "the interfaces themselves come and go". That
is, hotplug, complex bridges, virtual networks, etc. Mere dhcp works fine.

--
An imaginary friend squared is a real enemy.