Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 1 Feb 2008 16:30:21 +0300
From:      Yuri Pankov <yuri.pankov@gmail.com>
To:        freebsd-sparc64@freebsd.org
Subject:   Confusing `netstat -rn` output on 7.0-RC1
Message-ID:  <20080201133020.GA83907@sparkie.irbis.net.ru>

next in thread | raw e-mail | index | archive | help
Hi,

`netstat -rn` on 7.0-RC1/sparc64 shows 0.0.0.0 instead of actual network
numbers, while those networks are accessible.

> ifconfig
dc0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
        options=8<VLAN_MTU>
        ether 00:03:ba:14:e8:65
        inet 192.168.0.252 netmask 0xffffff00 broadcast 192.168.0.255
        media: Ethernet autoselect (100baseTX <full-duplex>)
        status: active
dc1: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
        options=8<VLAN_MTU>
        ether 00:03:ba:14:e8:65
        inet 10.106.0.3 netmask 0xffffff00 broadcast 10.106.0.255
        media: Ethernet autoselect (100baseTX <full-duplex>)
        status: active
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384
        inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3
        inet6 ::1 prefixlen 128
        inet 127.0.0.1 netmask 0xff000000
vlan0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
        ether 00:03:ba:14:e8:65
        inet 10.7.12.254 netmask 0xffffff00 broadcast 10.7.12.255
        media: Ethernet autoselect (100baseTX <full-duplex>)
        status: active
        vlan: 301 parent interface: dc1

> netstat -rn
Routing tables

Internet:
Destination        Gateway            Flags    Refs      Use  Netif Expire
0.0.0.0/24         link#4             UC          0        0  vlan0
0.0.0.0/24         link#2             UC          0        0    dc1
127.0.0.1          127.0.0.1          UH          0        0    lo0
0.0.0.0/24         link#1             UC          0        0    dc0
192.168.0.7        00:16:e0:25:c5:e1  UHLW        1        0    dc0 878


Is it a known problem (or, may be, PEBKAC case)?


TIA,
Yuri



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