Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 84136 - netstat typo in netstat -ar
Summary: netstat typo in netstat -ar
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: x86 Linux
: High trivial
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-03-04 16:39 UTC by Peter Moore
Modified: 2005-03-09 04:17 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Peter Moore 2005-03-04 16:39:04 UTC
Gateway is spelled gatweway in netstat -ar



Reproducible: Always
Steps to Reproduce:
1.netstat -ar
2.
3.

Actual Results:  
netstat -ar
Kernel IP routing table
Destination     Gateway         Genmask         Flags   MSS Window  irtt Iface
192.168.1.0     *               255.255.255.0   U         0 0          0 eth0
loopback        localhost       255.0.0.0       UG        0 0          0 lo
default         gatweway        0.0.0.0         UG        0 0          0 eth0

Expected Results:  
netstat -ar
Kernel IP routing table
Destination     Gateway         Genmask         Flags   MSS Window  irtt Iface
192.168.1.0     *               255.255.255.0   U         0 0          0 eth0
loopback        localhost       255.0.0.0       UG        0 0          0 lo
default         gateway        0.0.0.0         UG        0 0          0 eth0

Portage 2.0.51.19 (default-linux/x86/2004.3, gcc-3.3.5, glibc-2.3.4.20040808-r1,
2.6.10-gentoo-r6 i686)
=================================================================
System uname: 2.6.10-gentoo-r6 i686 AMD Athlon(tm) XP 3200+
Gentoo Base System version 1.4.16
Python:              dev-lang/python-2.3.4-r1 [2.3.4 (#1, Feb 26 2005, 01:44:46)]
distcc 2.16 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632)
[disabled]dev-lang/python:     2.3.4-r1
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.7.9-r1, 1.5, 1.9.4, 1.6.3, 1.4_p6, 1.8.5-r3
sys-devel/binutils:  2.15.92.0.2-r1
sys-devel/libtool:   1.5.10-r4
virtual/os-headers:  2.4.22-r1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env
/usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms"
GENTOO_MIRRORS="http://mirror.internode.on.net/pub/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X alsa apm arts avi berkdb bitmap-fonts cdr crypt cups curl dvd emboss
encode esd f77 fam font-server foomaticdb fortran gd gdbm gif gnome gpm
gstreamer gtk gtk2 imlib ipv6 java jpeg junit kde libg++ libwww mad mikmod motif
mozilla mpeg ncurses nls oggvorbis opengl oss pam pdflib perl png postgres
python qt quicktime readline sdl spell ssl svga tcpd tiff truetype
truetype-fonts type1-fonts xml2 xmms xv zlib"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, PORTDIR_OVERLAY
Comment 1 Elfyn McBratney (beu) (RETIRED) gentoo-dev 2005-03-04 22:25:54 UTC
What version of sys-apps/net-tools does this apply to?
Comment 2 Peter Moore 2005-03-05 01:33:32 UTC
i'm on sys-apps/net-tools 1.60-r9
Comment 3 SpanKY gentoo-dev 2005-03-08 16:12:17 UTC
that string doesnt come from net-stat ... chances are you typoed your /etc/hosts and/or dns server somewhere
Comment 4 Peter Moore 2005-03-09 04:02:31 UTC
this has nothing to do with /etc/hosts
i have Mandrake 10.1 on the same computer and actually with the same hosts file  and Mandrake is fine.
DNS?
come on...DNS has nothing to do with netstat -ar either.
peter
Comment 5 Peter Moore 2005-03-09 04:02:46 UTC
this has nothing to do with /etc/hosts
i have Mandrake 10.1 on the same computer and actually with the same hosts file  and Mandrake is fine.
DNS?
come on...DNS has nothing to do with netstat -ar either.
peter
Comment 6 Peter Moore 2005-03-09 04:12:56 UTC
ok.further investigation.It definately has nothing to do with /etc/hosts.
netstat doesnt use it or LDAP or anything to resolve the addresses.

However...it DOES happen on my Mandrake 10.1
my bad, apologies there.

The only thing i could think of is that i use DHCP.

Given that it happens on both Gentoo and Mandrake, and my DHCP server is my Billion 5100 ADSL Modem/Router....i'd assume it's probably that yes?

So maybe i need to send Billion a bug report for their firmware.
Let me know if you agree, and we can close this one.
Thanks for taking the time to look at it.
peter
Comment 7 rob holland (RETIRED) gentoo-dev 2005-03-09 04:16:32 UTC
closing the bug. this is a DNS/dhcpd misconfiguration or buglet, not a problem with netstat.
Comment 8 rob holland (RETIRED) gentoo-dev 2005-03-09 04:17:12 UTC
jumping through hoops because of annoying lack of ability to change a resolved bug back to invalid directly without reopening.