Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I have FC5 installed in the Laptop and I could surf to the internet without any issue till this morning. I had no problem last night, however, this morning, as I tried to open one of the website, I could not open the web. Then, I tried another web, still had same problem. So, I logged out and logged in my WinXP, my laptop has dual OS, I still could not access to the internet. Then, I made a call to the front desk, satying in a hotel, and they said the internet had some issue.
After the breakfast, tried to connect to the website, it worked. So, I switched to my FC5, but I could not access to the website. I wondered if my ethernet did not work and took some action to check the settings.
1.Run ifconfig
eth0 Link encap:Ethernet HWaddr 00:0C:6E:BD:32:A9
inet addr:192.168.1.26 Bcast:192.168.1.255 Mask:255.255.255.0
The result looks fine, I think, please correct me if it wrong.
5. ifcfg-eth0
#Silicon Integrated Systems [SiS] SiS900 PCI Fast Ethernet
Device=eth0
Bootprotp=dhcp
Hwaddr=00:0C:6E:BD:32:A9
Onboot=yes
After the above steps, I still can not figure out the trouble. Then, thinking about what did I do for the FC5 last night? Only onething I did for my FC5 is
put the following command in /etc/fstab
/dev/hda1 /mnt/WinXP vfat defaults 0 0
But, I don't think it the root cause since I restated the system and I could surf to the internet with no issue.
Ping 216.239.37.99
From 192.168.1.1 icmp_seq=1 Destination Host Unreachable
I only can ping myself.
3. Route
Kernel IP routing table
Destination Gatwway Genmask Flags Metric Ref Use Iface
192.168.1.0 * 255.255.255.0 U 0 0 0 eth0
169.254.0.0 * 255.255.0.0 U 0 0 0 eth0
default 192.168.1.1 0.0.0.0 UG 0 0 0 eth0
I have no idea about the result.
==>> Seems your default route has some problem.
From the ping it shows that your ip address is 192.168.1.1,
but defaut route's gateway is also 192.168.1.1
Try to set the default route properly and check if it works
Pronoy , please try to quote things using the quote button , to make things clearer.
DevLinX
It looks like your default gateway is not able to send packets beyond it.
The ping response says that from the gateway the host is unreachable , which means the issue is a routing problem at the gateway .
The default route seems to be set properly .
So I would suggest troubleshooting it at the gateway level.You can try pinging to the gateway first to make sure of this.Its also possible that the firewall at the gateway has blocked icmp. So you can try telnet to any Web server public ip port 80.
Ping 216.239.37.99
From 192.168.1.1 icmp_seq=1 Destination Host Unreachable
I only can ping myself.
3. Route
Kernel IP routing table
Destination Gatwway Genmask Flags Metric Ref Use Iface
192.168.1.0 * 255.255.255.0 U 0 0 0 eth0
169.254.0.0 * 255.255.0.0 U 0 0 0 eth0
default 192.168.1.1 0.0.0.0 UG 0 0 0 eth0
I have no idea about the result.
==>> Seems your default route has some problem.
From the ping it shows that your ip address is 192.168.1.1,
but defaut route's gateway is also 192.168.1.1
Try to set the default route properly and check if it works
Hi, Pronoy
Thank you for your reply.
I re-installed FC5 again and I could access to the internet properly till last night. It happened again and I am quite sure that I did not change the system. So, can you instruct me how to find out the problem? Since I am staying in a hotel and I have no idea how to check the default route properly.
Pronoy , please try to quote things using the quote button , to make things clearer.
DevLinX
It looks like your default gateway is not able to send packets beyond it.
The ping response says that from the gateway the host is unreachable , which means the issue is a routing problem at the gateway .
The default route seems to be set properly .
So I would suggest troubleshooting it at the gateway level.You can try pinging to the gateway first to make sure of this.Its also possible that the firewall at the gateway has blocked icmp. So you can try telnet to any Web server public ip port 80.
Hi nabeelmoidu,
I ping the gateway and I think it works. Can you help me how to telnet to any web server public ip port 80? Is the following command correct?
telnet gmail.com:80
Thanks
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.