Web lists-archives.com

Re: Re: DHCP to static without reboot?





On Sat, 25 Aug 2018, Mark Pavlichuk wrote:

> ifdown doesn't seem to work.  It seems to complete successfully with messages
> about a released DHCP address, but ifconfig shows the interface is still up, a
> ping will be returned etc...  Though if I try another ifdown it will say the
> interface is not configured.
> 
> If I then make configuration changes, then ifup, ifconfig will show no change.
> 
> -- 
> Mark Pavlichuk
> 
> 

Since man ifdown says the commands only work on "...network interfaces 
based on interface definitions in the file /etc/network/interfaces," my 
guess would be that you have used another method?  or altered the 
interfaces file while the iface is up?

good luck,
no need to cc: I am subscribed to the list