0

I cannot bring up my eth0, I tried to call udhcpc to get IP, but it showed as "Network is down, reopening socket" and "ifconfig: SIOCSIFFLAGS: Cannot assign requested address" Can someone please help?

Below are my current configuration and status

ifconfig -a

dummy0 Link encap:Ethernet HWaddr DA:55:25:A6:72:82 BROADCAST NOARP MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)

eth0
Link encap:Ethernet HWaddr 01:A6:A8:7D:A2:05 BROADCAST MULTICAST MTU:1500 Metric:1 RX packets:149 errors:0 dropped:89 overruns:0 frame:0 TX packets:5 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:17083 (16.6 KiB) TX bytes:0 (0.0 B) Interrupt:46

lo
Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 UP LOOPBACK RUNNING MTU:65536 Metric:1 RX packets:5759 errors:0 dropped:0 overruns:0 frame:0 TX packets:5759 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:432157 (422.0 KiB) TX bytes:432157 (422.0 KiB)

lxcbr0
Link encap:Ethernet HWaddr D2:A0:ED:7A:A7:F7 inet addr:10.0.3.1 Bcast:0.0.0.0 Mask:255.255.255.0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)

ifconfig eth0 up

ifconfig: SIOCSIFFLAGS: Cannot assign requested address

ifup eth0

ifup: interface eth0 already configured

udhcpc -i eth0

udhcpc: started, v1.25.1

ifconfig: SIOCSIFFLAGS: Cannot assign requested address ifconfig: SIOCSIFFLAGS: Cannot assign requested address udhcpc: sending discover udhcpc: sendto: Network is down udhcpc: read error: Network is down, reopening socket udhcpc: sending discover udhcpc: sendto: Network is down udhcpc: read error: Network is down, reopening socket

vi interfaces

'# Configure Loopback

auto lo iface lo inet loopback

auto eth0 iface eth0 inet dhcp

    udhcpc_opts -t 3 -T 3 -A 0 -b

iface dummy0 inet manual

  • What's the lxcbr0 network interface? Does brctl show list the eth0 interface as being under control of the lxcbr0 bridge? – telcoM Jun 10 at 6:42

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.