LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 03-04-2004, 01:16 PM   #1
ecarlsonlinux
LQ Newbie
 
Registered: Mar 2004
Location: Oklahoma City
Distribution: Fedora
Posts: 10

Rep: Reputation: 0
Question 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
 
Old 03-04-2004, 01:37 PM   #2
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 64
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
 
Old 03-04-2004, 02:00 PM   #3
ecarlsonlinux
LQ Newbie
 
Registered: Mar 2004
Location: Oklahoma City
Distribution: Fedora
Posts: 10

Original Poster
Rep: Reputation: 0
I checked the /etc/resolv.conf file and the nameserver and dns enties are there. the same as other machine that works.
 
Old 03-04-2004, 02:08 PM   #4
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 64
What does your routing table look like?
route -n
 
Old 03-04-2004, 02:24 PM   #5
ecarlsonlinux
LQ Newbie
 
Registered: Mar 2004
Location: Oklahoma City
Distribution: Fedora
Posts: 10

Original Poster
Rep: Reputation: 0
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
 
Old 03-04-2004, 02:37 PM   #6
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 64
Well it isn't right. Your loopback address is using eth0 and not the lo device. IS the loopback device active?
ifconfig lo
 
Old 03-04-2004, 02:44 PM   #7
ecarlsonlinux
LQ Newbie
 
Registered: Mar 2004
Location: Oklahoma City
Distribution: Fedora
Posts: 10

Original Poster
Rep: Reputation: 0
yes I've checked that. ifconfig shows both eth0 and lo loopback are active
 
Old 03-04-2004, 02:47 PM   #8
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 64
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
 
Old 03-04-2004, 03:27 PM   #9
ecarlsonlinux
LQ Newbie
 
Registered: Mar 2004
Location: Oklahoma City
Distribution: Fedora
Posts: 10

Original Poster
Rep: Reputation: 0
I deleted the old route and created a new one. still no effect on problem
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Unable to get full internet access : only Google works !! samael26 Mandriva 15 11-11-2004 11:54 AM
web access VERY slow gchandler Fedora 0 08-18-2004 01:46 AM
Unable to access my ssh server and ftp server from the Internet, but smtp works foxone Linux - Networking 1 05-28-2004 05:17 PM
Can't access Linux web server web pages from LAN client jaydave Linux - Networking 4 03-16-2003 02:38 AM
I can not access mu sip web pages. Everything else works. dnw Linux - Networking 2 04-28-2002 01:41 AM


All times are GMT -5. The time now is 02:21 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration