Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 30 Apr 2001 10:33:53 +1200
From:      Jonathan Chen <jonathan.chen@itouch.co.nz>
To:        freebsd-questions@freebsd.org
Subject:   4.3 netstat -r output
Message-ID:  <20010430103352.A97925@itouchnz.itouch>

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

I've got a couple of 4.3 machines running on a 192.168.2.0 network,
and I've noticed that the output of `netstat -r' is somewhat shorter
that what it usually is:

    0:jonc-~,10:21am> ping 192.168.2.10
    PING 192.168.2.10 (192.168.2.10): 56 data bytes
    64 bytes from 192.168.2.10: icmp_seq=0 ttl=255 time=0.616 ms
    ^C
    --- 192.168.2.10 ping statistics ---
    2 packets transmitted, 2 packets received, 0% packet loss
    round-trip min/avg/max/stddev = 0.616/0.788/0.961/0.172 ms
    0:jonc-~,10:21am> netstat -rn
    Routing tables

    Internet:
    Destination        Gateway            Flags     Refs     Use     Netif Expire
    default            192.168.2.1        UGSc        0        0      xl0
    127.0.0.1          127.0.0.1          UH          1        2      lo0
    192.168.2          link#1             UC          0        0      xl0 =>

    Internet6:
    [...]

On a 4.2-STABLE machine, I get:

    pikachu-~,10:26am> netstat -rn 
    Routing tables

    Internet:
    Destination        Gateway            Flags     Refs     Use     Netif Expire
    default            XXX.XXX.XXX.XX     UGSc       48  4631786     fxp0
    192.168.2          link#6             UC          0        0      xl4 =>
    192.168.2.10       0:d0:b7:89:95:b6   UHLW        1    37061      xl4    698
    192.168.2.11       0:d0:b7:a9:56:3    UHLW        1     1685      xl4    811
    [...]

So, what happened to all the MAC addresses and the other hosts that
should be in the routing table? Is it a new feature, did I miss an
option, or should I send-pr?

Cheers.
-- 
Jonathan Chen <jonathan.chen@itouch.co.nz>
----------------------------------------------------------------------
             "A person should be able to do a small bit of everything,
                                        specialisation is for insects"

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




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