lkml.org 
[lkml]   [1996]   [Jun]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Class B, Name lookups? BUG
-----BEGIN PGP SIGNED MESSAGE-----


On Mon, 24 Jun 1996, Alan Cox wrote:

alan} > Script started on Mon Jun 24 11:59:46 1996
alan} > eth0 Link encap:10Mbps Ethernet HWaddr 00:A0:24:56:CC:5C
alan} > inet addr:10.2.3.245 Bcast:10.2.255.255 Mask:255.255.0.0
alan}
alan} OK. Thats your private network.
Yes. "They" made us move inside a firewall. We're ok with that, except for this problem.
I do admit that this is my first time using a Class B broadcast address, but I think I'm
right so far with netmasks, etc..

alan} > [root@junk /root]# netstat -rn
alan} > Kernel routing table
alan} > Destination Gateway Genmask Flags Metric Ref Use Iface
alan} > 10.2.0.0 0.0.0.0 255.255.0.0 U 0 0 4 eth0
alan} > 127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 14 lo
alan} > 0.0.0.0 10.2.1.254 0.0.0.0 UG 0 0 46 eth0
alan}
alan} Ok this is right, and 10.2.1.254 is reachable in theory.
Yeah, I can ping it ok. Packets get out and back again.

alan}
alan} Are you running NIS/YP ?
No.

alan}
alan} > ftp sunsite.unc.edu: Host name lookup failure.
alan}
alan} How long does it take to fail. If it takes a minute or two then its failing
alan} to talk. If its instantaneous then something system side didnt like it.
alan}
It takes forever 3 minutes at least. Do you want to see the strace?

it chokes here:

cket(PF_INET, SOCK_DGRAM, IPPROTO_IP) = 3
connect(3, {sin_family=AF_INET, sin_port=htons(53), sin_addr=inet_addr("204.58.152.2")}, 16) = 0
send(3, "\233\356\1\0\0\1\0\0\0\0\0\0\7su"..., 33, 0) = 33
select(4, [3], NULL, NULL, {10, 0}) = 0 (Timeout)
after trying the select() with timeout = 5, 10,20,40 ...


alan} BTW: A config matching your network and RedHat 3.0.3 with the addresses
alan} quoted works on my home test net. That of course doesnt help you.
Really... I'm not sure what our redhat box is. It's "old" (built on ELF 1.2.13)
Do you think we're looking at a libc bug? I'm running libc.so.5.3.12, others have
libc.so.5.2.18; same problem.


alan} Do both the listed name servers work ? [eg dig @secondserver www.my.net]
Yes, they are public, if you want to see for yourself:

204.58.152.2, 204.58.152.3

Thank you for reading and responding to my mail.
I really appreciate it.

- --
g-r-a-t-e-f-u-l-l-y---[ email:<fishbowl@conservatory.com> ]---l-i-v-i-n-g
d-e-a-d-i-c-a-t-e-d---[ http://www.conservatory.com/~fishbowl ]-----l-i-g-h-t
-----BEGIN PGP SIGNATURE-----
Version: 2.6.2i
iQBVAwUBMc8KGcPTedxmOfz5AQH0pQH+LbpiOg6E1jSeqCLpqmnyI9lMV+hgfn0g
nWarur/hoWCERbRLBwXIa5jJPjvw17488jy0iMZDoMfYOkfHS1+Xxg==
=vS8J
-----END PGP SIGNATURE-----


\
 
 \ /
  Last update: 2005-03-22 13:37    [from the cache]
©2003-2011 Jasper Spaans