The macosxhints Forums

The macosxhints Forums (http://hintsforums.macworld.com/index.php)
-   Networking (http://hintsforums.macworld.com/forumdisplay.php?f=14)
-   -   Network wierdness (http://hintsforums.macworld.com/showthread.php?t=13068)

jimhoyt 06-28-2003 04:59 PM

Quote:

Originally posted by yellow
And this has happened on and off since you got the Mac, or installed OS X, or some other identifiable action/event/time?
This has been going on for the past couple of months. I've been on Cable, DSL, dialup, whatever and never seen this before. There was nothing in particular that I can remember going on that might have caused this. By the way, I can ping and ftp from CLI currently as well as from GUI Network Utility, Transmit and Thoth (newsreader.)

#@$$@!!

yellow 06-28-2003 05:04 PM

BTW, I agree with you mT, that DNS should have a name associated with it's IP. Weird. Wonder where those addys are coming from.

Jim, lets get back to basics.
In IE you can go to http://www.yahoo.com
In Safari, you get a time out?
But you can ping www.yahoo.com?

jimhoyt 06-28-2003 05:08 PM

Quote:

Originally posted by yellow
In IE you can go to http://www.yahoo.com
In Safari, you get a time out?
But you can ping www.yahoo.com?
Correct on all counts. I usually don't wait for Safari to time out, though. It just stalls "Contacting."

yellow 06-28-2003 05:13 PM

Can we associate an attempt to get to yahoo in Safari & some entries in your system.log?

jimhoyt 06-28-2003 05:16 PM

Quote:

Originally posted by yellow
Can we associate an attempt to get to yahoo in Safari & some entries in your system.log?
No entries show up for either in the past few minutes.

yellow 06-28-2003 05:19 PM

Sorry, I'm stumped. There are a lot of ways to go from here. Reboot and trying another user, reinstalling the 10.2.6 combo patch, ad naseum.

Seems odd to me that your machine thinks it's hostname is localhost and you can still get out on the net.

jimhoyt 06-28-2003 05:22 PM

Quote:

Originally posted by yellow
Sorry, I'm stumped. There are a lot of ways to go from here. Reboot and trying another user, reinstalling the 10.2.6 combo patch, ad naseum.
I was afraid of that. Thanks for your help. I've got a growing suspicion that the dreaded clean install is looming in the near future! :(

JavaOSX 06-28-2003 06:16 PM

do you have tcpdump installed? If not, you can install it via fink. Then run:

Code:

sudo tcpdump -i en0
Then fire up safari and watch the output. That way you can at least see if any attempts are being made by safari.

Also, have you tried bypassing DNS entirely in safari and using
http://216.109.125.69/ directly?

J

hayne 06-28-2003 06:21 PM

isolate the DNS issue
 
Quote:

Originally posted by jimhoyt
Quote:

Originally posted by yellow
In IE you can go to http://www.yahoo.com
In Safari, you get a time out?
But you can ping www.yahoo.com?
Correct on all counts. I usually don't wait for Safari to time out, though. It just stalls "Contacting."
Find out what the IP address is for www.yahoo.com (e.g. from the ping) and then try using that IP address instead of the name in Safari. This will cut out the DNS issue.

[edit] I see that JavaOSX has just suggested the same thing. But I note that when I do 'ping www.yahoo.com', I get:
Code:

PING www.yahoo.akadns.net (216.109.125.78): 56 data bytes
64 bytes from 216.109.125.78: icmp_seq=0 ttl=243 time=81.77 ms

which shows us that yahoo is using Akamai and so doesn't have the same IP address for everyone. And I note that there have been some forum postings in the past about troubles accessing Akamai-hosted sites - to do with certain router's not handling very long DNS queries or something I recall.[/edit]

JavaOSX 06-28-2003 06:32 PM

Re: isolate the DNS issue
 
Code:

$ nslookup www.yahoo.com

Non-authoritative answer:
Name:    www.yahoo.akadns.net
Addresses:  66.218.71.84, 66.218.71.88, 66.218.71.90, 66.218.71.91
          66.218.71.93, 66.218.70.48, 66.218.70.49, 66.218.71.81
Aliases:  www.yahoo.com

Here's a list of IP's for yahoo, take your pick ;)

jimhoyt 06-29-2003 11:21 AM

Thanks to all for your help. I'll keep the comments and try tcpdump next time this problem occurs. As for now, I restarted and the problem went away. But, like Arnold, it'll be back...

Jim

mervTormel 07-02-2003 07:44 PM

hmm, can we see your mtu? and any proxy definitions?
Code:

$ ifconfig | grep mtu
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
gif0: flags=8010<POINTOPOINT,MULTICAST> mtu 1280
stf0: flags=0<> mtu 1280
en0: flags=8863<UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST> mtu 1500


jimhoyt 07-03-2003 10:28 AM

Quote:

Originally posted by mervTormel
can we see your mtu? and any proxy definitions?
Here's what I got:
Code:

% ifconfig | grep mtu
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
gif0: flags=8010<POINTOPOINT,MULTICAST> mtu 1280
stf0: flags=0<> mtu 1280
en1: flags=8863<UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST> mtu 1500
en0: flags=8863<UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST> mtu 1500

I don't think I've got any proxy definitions. Where do I look?

mervTormel 07-05-2003 05:09 PM

jim, [i] re-read the thread. you mentioned DMZ.

could you map your entire network architecture for us? ISP to your LAN and each device/host and the config'd roles of each.

dgovoni 07-06-2003 04:56 PM

It looks to me like from your ifconfig you have two ethernet interfaces up and running. what does ifconfig -a show for the addressess? two interfaces on the same logical network but on different physical networks would cause the sporadic problems you see. It woould be hellpful to also see;

"netstat -rn" because this tells you the default route to take if the destination address is not on the local network.

so do:

ifconfig -a and netstat -rn

on my system it looks like this:

estination Gateway Flags Refs Use Netif Expire
default 192.168.1.1 UGSc 22 6 en0

the 192.168.1.1 is the router and I only have 1 interface running.

jimhoyt 07-06-2003 07:16 PM

Quote:

Originally posted by dgovoni
ifconfig -a and netstat -rn
Here's the full listing of what I get:
Code:

[localhost:~] jim% ifconfig -a
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
        inet6 ::1 prefixlen 128
        inet6 fe80::1%lo0 prefixlen 64 scopeid 0x1
        inet 127.0.0.1 netmask 0xff000000
gif0: flags=8010<POINTOPOINT,MULTICAST> mtu 1280
stf0: flags=0<> mtu 1280
en1: flags=8863<UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        inet6 fe80::230:65ff:fe05:6437%en1 prefixlen 64 scopeid 0x4
        ether 00:30:65:05:64:37
        media: autoselect (<unknown type>) status: inactive
        supported media: autoselect
en0: flags=8863<UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        inet6 fe80::230:65ff:feda:3164%en0 prefixlen 64 scopeid 0x5
        inet 192.168.2.99 netmask 0xffffff00 broadcast 192.168.2.255
        ether 00:30:65:da:31:64
        media: autoselect (100baseTX <full-duplex>) status: active
        supported media: none autoselect 10baseT/UTP <half-duplex>
        10baseT/UTP <half-duplex,hw-loopback> 10baseT/UTP <full-duplex>
        10baseT/UTP <full-duplex,hw-loopback> 100baseTX <half-duplex>
        100baseTX <half-duplex,hw-loopback> 100baseTX <full-duplex>
        100baseTX <full-duplex,hw-loopback> 1000baseTX <full-duplex>
        1000baseTX <full-duplex,hw-loopback> 1000baseTX <full-duplex,flow-control>
        1000baseTX <full-duplex,flow-control,hw-loopback>
[localhost:~] jim% netstat -rn
Routing tables

Internet:
Destination        Gateway            Flags    Refs      Use  Netif Expire
default            192.168.2.1        UGSc      34      218    en0
127.0.0.1          127.0.0.1          UH        10    35270    lo0
169.254            link#5            UCS        0        0    en0
192.168.2          link#5            UCS        3        0    en0
192.168.2.1        0:4:e2:7b:fe:6c    UHLW      34      594    en0  1122
192.168.2.2        0:3:93:87:cf:ec    UHLW        3  676869    en0    371
192.168.2.99      127.0.0.1          UHS        0      308    lo0
192.168.2.255      link#5            UHLWb      2      822    en0

Internet6:
Destination                      Gateway                      Flags      Netif Expire
                                                                UH          lo0
fe80::%lo0/64                                                  Uc          lo0
                                  link#1                        UHL        lo0
fe80::%en1/64                    link#4                        UC          en1
                                  0:30:65:5:64:37              UHL        lo0
fe80::%en0/64                    link#5                        UC          en0
                                  0:30:65:da:31:64              UHL        lo0
ff01::/32                                                      U          lo0
ff02::%lo0/32                                                  UC          lo0
ff02::%en1/32                    link#4                        UC          en1
ff02::%en0/32                    link#5                        UC          en0

There are currently three additional systems on the local network with me.

dgovoni 07-06-2003 09:51 PM

your interface and routing table looks fine, so u will need to look elsewhere.

Please be sure anothe rmachine hasn't "captured" your IP address; i.e. another machine has the same address or DHCP is serving this up to another machine. It would do this only if the DHCP server had the address in its range to serve up and someone also hardcoded it, too (granted, a long shot). No two machines can have the same IP address on the same LAN.

So when it happens, again, check the other machines. normally, you can "look" from your machine via arp -a to see if another ethernet address also has your IP address.

once the local lan is "cleared" then the issue is routing and NAT or the firewall.

I don't know what router u have, but since you are on the "inside" the router must be told to forward incoming packets to you (there is usually a DMZ setting).

I haven't used the firewall, but it's possible to deactivate some rules but the FW may still filter and you must totally unload the firewall module.

If the other machines are fine then it's unlikely the router and must be local to your machine (or dup IP) and I would lean towards the firewall if you have been using it.

see man ipfw.

network problems are tough to debug via email... ;)

jimhoyt 07-06-2003 11:17 PM

Quote:

Originally posted by dgovoni
I don't know what router u have, but since you are on the "inside" the router must be told to forward incoming packets to you (there is usually a DMZ setting).

I haven't used the firewall, but it's possible to deactivate some rules but the FW may still filter and you must totally unload the firewall module.
Thanks for the help. I'll check when this happens again.

I've disabled the local firewall for now and am depending on the router's firewall for protection. Merve suggested that as well. (Thanks)

The IP addresses are, for the most part, pre-assigned with a specific range served dynamically for "guests."

Now I wait... :)

Apple][Forever 07-09-2003 11:43 PM

I have been having this SAME PROBLEM, pretty much. Safari, after a while, stops connecting to web sites. IE still works. I can ping, tracert, etc, from Terminal, and I can see other machines on the network. FTP, mail are AOK.

Safari CAN access my router's webpage.

Apple][Forever 07-10-2003 12:06 AM

Jim-

I realized you and I have similar routers (I have the SMC 7004VWBR wireless). I downloaded and installed the firware upgrade, then did a hard reset and reentered my data. Now Safari works without rebooting! I'm crossing my fingers, but in the meantime you might want to give it a try.


All times are GMT -5. The time now is 09:31 PM.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.
Site design © IDG Consumer & SMB; individuals retain copyright of their postings
but consent to the possible use of their material in other areas of IDG Consumer & SMB.