Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Network problem route or dns?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
Fungos Bauux
Tux's lil' helper
Tux's lil' helper


Joined: 09 Aug 2002
Posts: 98
Location: CWB

PostPosted: Thu Jun 02, 2005 12:16 am    Post subject: Network problem route or dns? Reply with quote

Im having some problem these last 2 weeks here...

When I try to load any page mozilla take about 1 minute to resolve the address.. once resolved, to browse anything inside that IP is fast. If I try to browse more than one page at same time, its delay is progressive... (its not a mozilla problem.. but between all my browsers, this was the worst response times).

So I think that can be one of the two: DNS problem or Route problem.
On windows my browsing is very fast.

Here is some configuration mine:
Code:

darkbrain fungos # ifconfig
eth0      Link encap:Ethernet  HWaddr 00:E0:7D:F4:4C:14
          inet addr:10.0.0.1  Bcast:10.0.0.255  Mask:255.255.255.0
          inet6 addr: fe80::2e0:7dff:fef4:4c14/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:82740 errors:0 dropped:0 overruns:0 frame:0
          TX packets:62891 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:82035635 (78.2 Mb)  TX bytes:5505986 (5.2 Mb)
          Interrupt:11 Base address:0x8000

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:5204 errors:0 dropped:0 overruns:0 frame:0
          TX packets:5204 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:2070472 (1.9 Mb)  TX bytes:2070472 (1.9 Mb)

darkbrain fungos # route
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
10.0.0.0        *               255.255.255.0   U     0      0        0 eth0
loopback        localhost       255.0.0.0       UG    0      0        0 lo
default         adsl            0.0.0.0         UG    0      0        0 eth0
darkbrain fungos #


when I execute route it takes about 10s-20s to show the first entry.
when I ping some site, like www.google.com it takes 10-20s too to show the first icmp response, and about 5s for each other, but giving ~175ms each response. If I ping IP direct it is very fast.

Im the only computer in my network turned on when doing these tests, and in windows my browsing is very fast (no changes made on adsl modem confs).

Thanks..
Back to top
View user's profile Send private message
wmgoree
Apprentice
Apprentice


Joined: 08 Aug 2003
Posts: 246
Location: Alexandria, VA

PostPosted: Thu Jun 02, 2005 3:02 am    Post subject: Reply with quote

Well, you mentioned wondering whether it was DNS or routing, so you should also include your DNS info from /etc/resolv.conf. It could just be that your DNS servers are slow... try emerging net-dns/bind-tools if you haven't already, and run some comparisons on various public nameservers:

Code:

dig gentoo.org any
dig @otherguy.gte.net gentoo.org any
dig @dns01.jdc01.pa.comcast.net gentoo.org any
dig @ns1.darpa.mil www.darpa.mil any


(the first one will be your nameservers from /etc/resolv.conf ; the last one is a known-insanely-fast nameserver. The middle two are in-between.)

If all four digs take a noticeable amount of time, it's a routing problem. If only the first dig takes a while, it's a DNS problem.

Incidentally, what is this "adsl" host in your routing tables? Do you have that set up in /etc/hosts?
_________________
vi? *snicker* it doesn't even include a mail reader...
Back to top
View user's profile Send private message
Fungos Bauux
Tux's lil' helper
Tux's lil' helper


Joined: 09 Aug 2002
Posts: 98
Location: CWB

PostPosted: Thu Jun 02, 2005 9:49 pm    Post subject: Reply with quote

Its a route problem!

All digs delayed about 10s-20s to reply, and the last dig (that fast) was the worst one lol .. about 30s!!!!!

Yes, that adsl is in my hosts... see:
Code:

darkbrain fungos # cat /etc/hosts
127.0.0.1       localhost
10.0.0.138      adsl


What is happening here? I cant see nothing wrong in that routes...

Any known problem that has this effects? Anything? :(

:roll:
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum