Linux - Networking This 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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
 |
03-04-2004, 02:16 PM
|
#1
|
LQ Newbie
Registered: Mar 2004
Location: Oklahoma City
Distribution: Fedora
Posts: 10
Rep:
|
eth0 works but not with google.com and web server is slow to access
I've put together another web server on an asus p4c800/p4p800 motherboard with an Intel P4 3GHZ, 2 gigs of Ram, and 2 180gig hard drives. I used an alsa driver 3c2000.o to enable the ethernet connection via dhcp. I'm able to access the internet, however, I'm not able to access google.com and when I bring up the webserver, it works fine with localhost or via it's intranet ip from another workstation. However; when I change the router to enable the web server to be accessiable via the internet, it slower than molassis. I've used the same configuration as another web server I'm running. I'm using apache 1.3.29 and redhat linux 9.0. Does anyone know why I'm having a connectivity issue with just google.com and why accessing the webserver is so slow. With this machine it should be really fast. my other server is a much slower amd, and it's working just fine. same software configuration.
Help
Erik
|
|
|
03-04-2004, 02:37 PM
|
#2
|
Moderator
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047
Rep:
|
Welcome to LQ.
It sounds like your DNS settings are wrong - try adding them to /etc/resolv.conf:
nameserver ip.of.isps.dns1
nameserver ip.of.isps.dns2
|
|
|
03-04-2004, 03:00 PM
|
#3
|
LQ Newbie
Registered: Mar 2004
Location: Oklahoma City
Distribution: Fedora
Posts: 10
Original Poster
Rep:
|
I checked the /etc/resolv.conf file and the nameserver and dns enties are there. the same as other machine that works.
|
|
|
03-04-2004, 03:08 PM
|
#4
|
Moderator
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047
Rep:
|
What does your routing table look like?
route -n
|
|
|
03-04-2004, 03:24 PM
|
#5
|
LQ Newbie
Registered: Mar 2004
Location: Oklahoma City
Distribution: Fedora
Posts: 10
Original Poster
Rep:
|
The route table is the same as working machine:
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.0.0 0.0.0.0 255.255.255.0 U 0 0 eth0
169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 eth0
127.0.0.0 0.0.0.0 0.0.0.0 UG 0 0 eth0
0.0.0.0 192.168.0.1 0.0.0.0 UG 0 0 eth0
Erik
|
|
|
03-04-2004, 03:37 PM
|
#6
|
Moderator
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047
Rep:
|
Well it isn't right. Your loopback address is using eth0 and not the lo device. IS the loopback device active?
ifconfig lo
|
|
|
03-04-2004, 03:44 PM
|
#7
|
LQ Newbie
Registered: Mar 2004
Location: Oklahoma City
Distribution: Fedora
Posts: 10
Original Poster
Rep:
|
yes I've checked that. ifconfig shows both eth0 and lo loopback are active
|
|
|
03-04-2004, 03:47 PM
|
#8
|
Moderator
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047
Rep:
|
I would try deleting that route. Then adding it again with:
route add -net 127.0.0.0 netmask 255.0.0.0 dev lo
|
|
|
03-04-2004, 04:27 PM
|
#9
|
LQ Newbie
Registered: Mar 2004
Location: Oklahoma City
Distribution: Fedora
Posts: 10
Original Poster
Rep:
|
I deleted the old route and created a new one. still no effect on problem
|
|
|
All times are GMT -5. The time now is 02:50 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|