List Info

Thread: Re: Confusing `netstat -rn` output on 7.0-RC1




Re: Confusing `netstat -rn` output on 7.0-RC1
country flaguser name
Russian Federation
2008-02-07 04:50:41
(sorry for cross-posting)

On Fri, Feb 01, 2008 at 04:30:21PM +0300, Yuri Pankov
wrote:
> 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

Attached patch fixes the problem for me.


Yuri

_______________________________________________
freebsd-sparc64freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-sparc
64
To unsubscribe, send any mail to
"freebsd-sparc64-unsubscribefreebsd.org"

  
[1]

about | contact  Other archives ( Real Estate discussion Medical topics )