Public bug reported: When I want to use a static IP-address for a temporary need I disable networking i NetworkManager and run ifconfig manually from console.
First run with ifconfig I get a error. $ ifconfig eth0 eth0 Link encap:Ethernet HWaddr 00:17:08:3E:AF:12 inet6 addr: fe80::217:8ff:fe3e:af12/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:199 errors:0 dropped:0 overruns:0 frame:0 TX packets:4 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:13616 (13.2 KB) TX bytes:324 (324.0 b) Interrupt:16 $ sudo ifconfig eth0 inet 33.33.33.33/24 SIOCSIFNETMASK: Cannot assign requested address $ ifconfig eth0 eth0 Link encap:Ethernet HWaddr 00:17:08:3E:AF:12 inet addr:33.33.33.33 Bcast:33.33.33.255 Mask:255.255.255.0 inet6 addr: fe80::217:8ff:fe3e:af12/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:347 errors:0 dropped:0 overruns:0 frame:0 TX packets:4 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:23528 (22.9 KB) TX bytes:324 (324.0 b) Interrupt:16 $ ping 33.33.33.254 PING 33.33.33.254 (33.33.33.254) 56(84) bytes of data. 64 bytes from 33.33.33.254: icmp_seq=1 ttl=255 time=3.04 ms 64 bytes from 33.33.33.254: icmp_seq=2 ttl=255 time=0.642 ms $ sudo ifconfig eth0 inet 33.33.33.33/24 $ Question is; Why do I get this error when in fact it indeed can assign the address? ** Affects: ubuntu Importance: Undecided Status: New -- SIOCSIFNETMASK: Cannot assign requested address https://bugs.launchpad.net/bugs/159460 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs