Ubuntu: eth0 NO-CARRIER, ifconfig shows no IP address



Question:

I left Ubuntu and came back after a while so I don't remember much. Now I'm trying to get my IP address. All I'm getting from running ifconfig is

eth0      Link encap:Ethernet  HWaddr 3c:97:0e:11:22:0d              UP BROADCAST 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:1000             RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)            Interrupt:20 Memory:f2500000-f2520000   

(BTW, I don't really understand what UP BROADCAST MULTICAST means.)

 $ sudo ifdown eth0    ifdown: interface eth0 not configured   

Then

$ sudo ifup eth0  Ignoring unknown interface eth0=eth0  

And finally 2:

$ ip addr show eth0  eth0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast state DOWN     group default qlen 1000 link/ether 3c:97:0e:11:22:0d brd ff:ff:ff:ff:ff:ff  


Solution:1

Try :

ifdown eth0  ifup eth0  ip addr show eth0      **UP BROADCAST MULTICAST**    UP  device is functioning    BROADCAST   device can send traffic to all hosts on the link    MULTICAST   device can perform and receive multicast packets  

More about mulicast visit Site


Solution:2

You might just try setting your IP address to something on your subnet. Assuming you're on a 192.168.1.255 network, try this:

ifconfig address 192.168.1.50 netmask 255.255.255.0 gateway 192.168.1.1  

Replace 192.168.1.50 with the IP you want to get, and replace 192.168.1.1 with the IP address of your router/gateway.

I have had a similar problem, and this solved it for me.


Note:If u also have question or solution just comment us below or mail us on toontricks1994@gmail.com
Previous
Next Post »