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'm finding I'm having a strange problem, and let me start by explaining what I've already done:
The machine in question is a Rebel.com Netwinder OfficeServer (Armv41) which I just want to turn into basically a development machine. It had a very old version of Redhat ARM on there which I think was 7.2, and I recently upgraded it to I beleive 9. (2.4.2? kernel)
Anyways, as far as networking was concerned it was working just fine before I did the upgrade, however now I have a very bizarre problem.
It seems that while I am able to ping machines outside my network (ie google.com) and receive a response, I am not able to connect to them using http, ftp, ssh or anything else that I've tried. The connection simply times out.
I am however able to connect to my webserver locally just fine, and am able to SSH to it and all that. All my other machines are able to access the internet fine, just not this one.
Currently I'm going to be going through the routing configurations and all that to see if I can find what might be going on, and I've searched through the archives here and haven't really found much along these lines.
When you ping www.google.com, did you use their IP or www.google.com. If you used IP for pinging, then this looks like a DNS settings problem (you computer doesn't know the DNS server to which it should ask for DNS resolving). Give more details about your distribution and DNS settings if you pinged using IP. Otherwise, I'm not sure what is going on here.
Originally posted by saravkrish When you ping www.google.com, did you use their IP or www.google.com. If you used IP for pinging, then this looks like a DNS settings problem (you computer doesn't know the DNS server to which it should ask for DNS resolving). Give more details about your distribution and DNS settings if you pinged using IP. Otherwise, I'm not sure what is going on here.
~Sarav
No the DNS is working fine, I pinged google.com and not the IP.
Is your firewall dropping the packets? It might be letting ICMP through but blocking or dropping HTTP, FTP, etc. Try shutting off iptables to see if that's the culprit.
Turning off iptables didn't seem to work, but I'll look further into this since I suspect you're probably right in that it's some kind of firewall configuration problem preventing me from accessing outside networks.
does it have shorewall? type "shorewall stop" at the command prompt to see what happens. This seems like a firewall issue to me as well. It's possible that what is happening is your requests are getting OUT, but the replies from the external Internet aren't able to get back IN. Set some IPTABLES rules to "allow all" rather than shutting it off.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.