[mdlug] /sbin/route sending dns request for numeric addresses
Dr. Robert Meier
list1c30fe42 at bellsouth.net
Thu Aug 26 02:07:26 EDT 2010
Netters,
I recently installed openSuSE-11.2 on a laptop,
and would appreciate any help with a few problems.
1. /sbin/route takes ~75 seconds to report a 4-line routing table.
Kernel IP routing table <- immediate
Destination Gateway Genmask ... <- immediate
192.168.xxx.0 * 255.255.255.0 ... <- 15SEC
link-local * 255.255.0.0 ... <- immediate
loopback * 255.0.0.0 ... <- immediate
default 192.168.1.254 0.0.0.0 ... <- 25SEC
immediate is less than 1sec
15SEC and 25SEC seem excessive to me for these two lines
No new lines appear in /var/log/message, /var/log/*, nor dmesg output
2. If ipv6 support is enabled
yast2> [Networks Devices] [Network Settings] [Global Options]
Enable IPv6: [<checked>]
The network devices (only eth0 so far) never come up,
and the route table contains only link-local and loopback lines.
3. software repositories fail to refresh
yast2> [Software] [Software Repositories]
[openSuSE-11.2-Oss] [Refresh/Refresh Now]
reports fails to donwload
http;//download.opensuse.org/
distribution/11.2/repo/oss/media.1/media
likewise for all (tds, utexas, ...) mirrors tried
bash> curl -v <same uri>
successfully retrieves apparently correct data.
/var/log/messages only reiterates download failure.
To workaround problem 1,
I added localdomain[192.168.xxx.0] and default[0.0.0.0]
to /etc/networks
and gateway[192.168.xxx.254] to /etc/hosts.
Why is this necessary?
strace /sbin/route reported a socket openned to 192.168.xxx.254:53
and write 192.168.xxx.0 attempted twice.
Why does /sbin/route ask the dns server for an ip
address for 192.168.xxx.0 which is already an
ip address (as xxx is actually an integer)?
TIA,
--
Bob
More information about the mdlug
mailing list