Page 1 of 1

ifup: "SIOCSIFFLAGS: Cannot assign requested address"

Posted: Thu Jun 01, 2017 11:35 am
by ^rooker
[PROBLEM]
On Debian 6 (Squeeze), I have network aliases on one network card.
When I try to bring them up I get an error:

Code: Select all

$ ifconfig eth0:1 up
SIOCSIFFLAGS: Cannot assign requested address
The configuration looked like this

Code: Select all

iface eth0:1 inet static
    address ad-converter1.dva-profession.local
    netmask 255.255.255.0

[SOLUTION]
It works when I use "ifup":

Code: Select all

$ ifup eth0:1
...although something is still not 100% clean, as these message follow:
Unable to find suitable address.
Hm... :? :cry:

Re: ifup: "SIOCSIFFLAGS: Cannot assign requested address"

Posted: Thu Jun 15, 2017 3:44 pm
by gilthanaz
I recently learned that ifconfig is considered deprecated and replaced by 'ip' in the near-middle future, so try to use that instead :)

https://serverfault.com/questions/45862 ... 639#458639

http://andys.org.uk/bits/2010/02/24/ipr ... -ifconfig/