Solved

ping ubuntu 'block'

Posted on 2010-08-21
8
575 Views
Last Modified: 2012-05-10
I have a pc running ubuntu. I checked the network connection using ping and it is unable to connect to the internet. I've checked the same internet connection with another identical pc running ubuntu and the connection is working. Any suggestions?
0
Comment
Question by:gerrymac1943
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
  • 2
  • +1
8 Comments
 
LVL 4

Accepted Solution

by:
slushm earned 0 total points
ID: 33493529
Is dhcp enabled? What does ifconfig show?
0
 

Author Comment

by:gerrymac1943
ID: 33494280
ifconfig command:

eth0      Link encap:Ethernet  HWaddr 00:43:50:01:4a:ae  
          inet6 addr: fe80::260:43ff:fe01:4aae/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:47 errors:0 dropped:0 overruns:0 frame:0
          TX packets:11 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:3379 (3.3 KB)  TX bytes:2178 (2.1 KB)
          Interrupt:11

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  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)
0
 
LVL 7

Expert Comment

by:diepes
ID: 33495222
hi gerrymac1943:
please also show the ifconfig  and ip route  from the pc that do work.

Looking at the ifconfig above, i don't see a IPv4 address on eth0.
To try and diagnose you could try and force a dhcp update.

$ sudo dhclient eth0
0
NFR key for Veeam Backup for Microsoft Office 365

Veeam is happy to provide a free NFR license (for 1 year, up to 10 users). This license allows for the non‑production use of Veeam Backup for Microsoft Office 365 in your home lab without any feature limitations.

 

Author Comment

by:gerrymac1943
ID: 33495346
dhclient eth0 output from command

Listening on LPF/eth0/00:43:50:01:4a:ae
Sending on   LPF/eth0/00:43:50:01:4a:ae
Sending on   Socket/fallback
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 8
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 9
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 9
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 10
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 11
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 11
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 3
No DHCPOFFERS received.
No working leases in persistent database - sleeping.
0
 
LVL 4

Expert Comment

by:slushm
ID: 33497865
will this device work if you add a static ip address to eth0?  
0
 
LVL 7

Expert Comment

by:diepes
ID: 33498699
gerrymac1943:

Ok so you are not getting any response to your DHCP requests.

Possible causes.
1. No DHCP server for the subnet or not connected
2. Wrong eth port on linux box ?  Are there more than one eth ?  # ifconfig
3. FW - Unlikely with default config

I agree with slushm: try to configure a static IP and proof that the linux box is not at fault, then try and fix the dhcp issue.
0
 

Author Comment

by:gerrymac1943
ID: 33535417
how do i configure a static IP?
0
 
LVL 3

Expert Comment

by:stranger9002
ID: 33540371
ifconfig eth0 192.xxx.xxx..xxx netmask 255.xxx.xxx.xxx - you have to know the addresses
ifconfig eht0 up
0

Featured Post

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I have seen several blogs and forum entries elsewhere state that because NTFS volumes do not support linux ownership or permissions, they cannot be used for anonymous ftp upload through the vsftpd program.   IT can be done and here's how to get i…
Note: for this to work properly you need to use a Cross-Over network cable. 1. Connect both servers S1 and S2 on the second network slots respectively. Note that you can use the 1st slots but usually these would be occupied by the Service Provide…
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an antispam), the admini…

739 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question