Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 13 Feb 2007 14:03:56 -0500
From:      Matthew Pope <mpope@teksavvy.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: Connection timed out
Message-ID:  <45D20B9C.8080602@teksavvy.com>
In-Reply-To: <448xf3hw0f.fsf@be-well.ilk.org>
References:  <45CF9010.7040905@teksavvy.com> <448xf3hw0f.fsf@be-well.ilk.org>

next in thread | previous in thread | raw e-mail | index | archive | help
I find that during the blocking behaviour, when I try and ping the 
windows box, a tcpdump shows that each second ping attempt is followed 
by a response (it appears) from an IPv6 address (10.1.1.99 is the 
freebsd host):
Virtual terminal 1:   $ tcpdump > tcpdump.out
Virtual terminal 2:   $ ping 10.1.1.173     [my win2K box, named 
mpworkstation]
Virtual terminal 1:   $ CTRL-C
Virtual terminal 1:   $ cat tcpdump.out
13:30:51.066625 802.1d config 8000.00:30:19:53:05:00.8011 root 
8000.00:30:19:53:05:00 pathcost 0 age 0 max 20 hello 2 fdelay 15
13:30:53.069431 802.1d config 8000.00:30:19:53:05:00.8011 root 
8000.00:30:19:53:05:00 pathcost 0 age 0 max 20 hello 2 fdelay 15
13:30:53.778918 IP 10.1.1.99 > mpworkstation: ICMP echo request, id 
25361, seq 0, length 64
13:30:54.712093 IP 10.1.1.99.domain > blackhole-1.iana.org.domain:  
39723 [1au] PTR? 99.1.1.10.in-addr.arpa. (51)
13:30:54.779708 IP 10.1.1.99 > mpworkstation: ICMP echo request, id 
25361, seq 1, length 64
13:30:54.803586 arp who-has 10.1.1.2 tell 10.1.1.119
13:30:54.840818 IP blackhole-1.iana.org.domain > 10.1.1.99.domain:  
39723 NXDomain* 0/1/1 (128)
13:30:55.072256 802.1d config 8000.00:30:19:53:05:00.8011 root 
8000.00:30:19:53:05:00 pathcost 0 age 0 max 20 hello 2 fdelay 15
13:30:55.780687 IP 10.1.1.99 > mpworkstation: ICMP echo request, id 
25361, seq 2, length 64
13:30:55.841542 IP 10.1.1.99.domain > blackhole-2.iana.org.domain:  1862 
[1au] PTR? 2.1.1.10.in-addr.arpa. (50)
13:30:55.970699 IP blackhole-2.iana.org.domain > 10.1.1.99.domain:  1862 
NXDomain* 0/1/1 (127)
13:30:55.971365 IP 10.1.1.99.domain > blackhole-1.iana.org.domain:  
16894 [1au] PTR? 119.1.1.10.in-addr.arpa. (52)
13:30:56.099288 IP blackhole-1.iana.org.domain > 10.1.1.99.domain:  
16894 NXDomain* 0/1/1 (129)
13:30:56.781666 IP 10.1.1.99 > mpworkstation: ICMP echo request, id 
25361, seq 3, length 64
13:30:57.075128 802.1d config 8000.00:30:19:53:05:00.8011 root 
8000.00:30:19:53:05:00 pathcost 0 age 0 max 20 hello 2 fdelay 15
13:30:57.778934 IP 192.168.1.108.netbios-dgm > 
192.168.1.255.netbios-dgm: NBT UDP PACKET(138)
13:30:57.779300 IP 10.1.1.108.netbios-dgm > 10.1.1.255.netbios-dgm: NBT 
UDP PACKET(138)
13:30:57.782640 IP 10.1.1.99 > mpworkstation: ICMP echo request, id 
25361, seq 4, length 64
13:30:58.099166 IP 10.1.1.99.domain > epazote.arin.net.domain:  41215 
[1au] PTR? 255.1.168.192.in-addr.arpa. (55)
13:30:58.783615 IP 10.1.1.99 > mpworkstation: ICMP echo request, id 
25361, seq 5, length 64
13:30:59.077884 802.1d config 8000.00:30:19:53:05:00.8011 root 
8000.00:30:19:53:05:00 pathcost 0 age 0 max 20 hello 2 fdelay 15
13:30:59.784593 IP 10.1.1.99 > mpworkstation: ICMP echo request, id 
25361, seq 6, length 64
13:31:00.099647 IP 10.1.1.99.domain > c3.NSTLD.COM.domain:  18950 [1au] 
PTR? 255.1.168.192.in-addr.arpa. (55)
13:31:00.174654 IP c3.NSTLD.COM.domain > 10.1.1.99.domain:  18950- 0/2/1 
(115)
13:31:00.174865 IP 10.1.1.99.domain > blackhole-2.iana.org.domain:  
21147 [1au] PTR? 255.1.168.192.in-addr.arpa. (55)
13:31:00.302542 IP blackhole-2.iana.org.domain > 10.1.1.99.domain:  
21147 NXDomain* 0/1/1 (132)
13:31:00.303203 IP 10.1.1.99.domain > blackhole-1.iana.org.domain:  
15742 [1au] PTR? 108.1.168.192.in-addr.arpa. (55)
13:31:00.424762 IP blackhole-1.iana.org.domain > 10.1.1.99.domain:  
15742 NXDomain* 0/1/1 (132)
13:31:00.425485 IP 10.1.1.99.domain > blackhole-2.iana.org.domain:  
36677 [1au] PTR? 255.1.1.10.in-addr.arpa. (52)
13:31:00.539310 IP blackhole-2.iana.org.domain > 10.1.1.99.domain:  
36677 NXDomain* 0/1/1 (129)
13:31:00.539955 IP 10.1.1.99.domain > blackhole-1.iana.org.domain:  
34458 [1au] PTR? 108.1.1.10.in-addr.arpa. (52)
13:31:00.653398 IP blackhole-1.iana.org.domain > 10.1.1.99.domain:  
34458 NXDomain* 0/1/1 (129)
13:31:00.785569 IP 10.1.1.99 > mpworkstation: ICMP echo request, id 
25361, seq 7, length 64
13:31:01.081370 802.1d config 8000.00:30:19:53:05:00.8011 root 
8000.00:30:19:53:05:00 pathcost 0 age 0 max 20 hello 2 fdelay 15
Lowell Gilbert wrote:

>Matthew Pope <mpope@teksavvy.com> writes:
>
>  
>
>>I am trying to resolve a connection timed out problem.  The problem
>>occurs when I attempt to ssh, or http to my freebsd host from my
>>windows (2K) box.  About 3/4 of the time I get a "Connection timed
>>out" when I attempt to ssh into the freebsd host.
>>Coincident with this behaviour, I can not ping my windows box from the
>>freebsd host, and when I try I get no packets returned.
>>
>>Meanwhile, the freebsd box at no time has any problems pinging google,
>>only the local network. I recall having a sockets timeout variable or
>>something that needed tuning when I ran freebsd as a http / ssh server
>>before .  Can someone provide a hint as to how I can resolve this?
>>Thanks,
>>Matthew
>>
>>-bash-2.05b$ uname -a
>>FreeBSD ns.mbpesecurity.com 6.1-RELEASE-p10 FreeBSD 6.1-RELEASE-p10
>>#0: Mon Oct 23 00:47:22 EDT 2006     root@ns.mbpesec
>>urity.com:/usr/obj/usr/src/sys/MPKERNEL  i386
>>    
>>
>
>Does the FreeBSD box access the Internet through the same link as it
>reaches the Windows machine?  [I'm guessing not, but you didn't say.]
>
>  
>
Yes, both are plugged into the same router/switch, a Cisco Catalyst 2900.

>Is there anything in the logs or on the console?  
>
The logs do not show anything related, however a tcpdump during the ping 
does show something, see above.

>Does the link light
>stay on for the FreeBSD machine?
>  
>
The network adaptor link light appears broken as it is always off.

>_______________________________________________
>freebsd-questions@freebsd.org mailing list
>http://lists.freebsd.org/mailman/listinfo/freebsd-questions
>To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"
>
>  
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?45D20B9C.8080602>