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....

ifup: "SIOCSIFFLAGS: Cannot assign requested address"

Postby ^rooker » Thu Jun 01, 2017 11:35 am

[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:
  • 0

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!
User avatar
^rooker
Site Admin
 
Posts: 1444
Joined: Fri Aug 29, 2003 8:39 pm
Reputation: 0

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

Postby gilthanaz » Thu Jun 15, 2017 3:44 pm

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/
  • 0

User avatar
gilthanaz
Site Admin
 
Posts: 443
Joined: Fri Aug 29, 2003 9:29 pm
Reputation: 0


Return to Knowledge Base

Who is online

Users browsing this forum: No registered users and 3 guests

Who is online over last 24 hours

Users browsed this forum in the last 24 hours: Bing [Bot] and 14 guests

cron
Reputation System ©'