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.
On a corporate network, I boot into Windows XP and I can browse the Internet. WHen I PING from Windows it shows me the site's IP address, but no replies come back. Yet Windows IE still works fine.
I copied down the default gateway( 10.0.0.1 ) and DNS info before booting into RH9.
RH9 boots up normally, gets the same DNS and default gateway address as Windows, but I cannot browse the Internet. The PING behaves the same as in Windows (ie, no reply packets coming back).
1) Why does Windows work but not RH9 eve though the gateway and DNS is the same? I tried to search forums but there was nothing similar to this.
You mentioned you were in a corp. network. I find a lot of companies (as a security precaution) will allow port 80 to go through but not the port that ping works on (I can't remember which one ping uses right now... too early).
A reason you may not be able to browse the internet in Linux is there may be a proxy server address you need to give. Windows will probably pick it up automatically, however I think you may need to give linux the address.
Again these are assumptions, based on many corporate networks I've seen.
use this cmd to see if NIC is up and running ifconfig this should show u the ip addr which u setup. try using traceroute www.linuxquestions.org and see if it replys or not. Doing this will check if your nic under linux is configured and working properly.
u may edit this manually or just type the cmd netconfig or setup or redhat-config-network place settings wanted then service network restart to take effect. To check that it has been changed can take a look at /etc/sysconfig/network.
Originally posted by Tap-Out You mentioned you were in a corp. network. I find a lot of companies (as a security precaution) will allow port 80 to go through but not the port that ping works on (I can't remember which one ping uses right now... too early).
ping doesn't use a port, it's an ICMP packet. Often, though, ICMP is quenched in corporate nets... provents DoS attacks I suppose.
I didnīt remember about the part that mentioned the coporate network. It might be true what nowonmai mentioned.
Getting back to your internet problem check your /etc/resolv.conf file. Place the following entries in this file, u have to place nameserver/dns entries as well as domain name in the following manner for it work.
Boot into WinXp and then from I.E. check your Tools - Internet Options - Connections - LAN Settings (I think) to see if there is a proxy server listed. I suspect you have one setup by default on your corporate LAN.
Lets start out with some basic trouble shooting...
1. Can your linux box ping localhost
2. Can your linux box ping your other ip address (are you using DHCP or do you have a static one? You may be on the wrong network if your card says 192.168.0.2 and your gateway is 10.0.0.1)
3. Do you have a paranoid firewall running? What does iptables -L say?
4. What is the output of route?
5. What is the output of ifconfig?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.