ifup: "SIOCSIFFLAGS: Cannot assign requested address"

Linux howto's, compile information, information on whatever we learned on working with linux, MACOs and - of course - Products of the big evil....
Post Reply
User avatar
^rooker
Site Admin
Posts: 1481
Joined: Fri Aug 29, 2003 8:39 pm

ifup: "SIOCSIFFLAGS: Cannot assign requested address"

Post 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:
Jumping out of an airplane is not a basic instinct. Neither is breathing underwater. But put the two together and you're traveling through space!
gilthanaz
Site Admin
Posts: 444
Joined: Fri Aug 29, 2003 9:29 pm
Contact:

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

Post 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/
Post Reply