Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 19 Apr 1998 19:35:31 -0400
From:      Mike Tancsa <mike@sentex.net>
To:        questions@FreeBSD.ORG
Subject:   routers, kernel parameters and bizarro netstat -m output
Message-ID:  <3.0.2.32.19980419193531.0251a100@sentex.net>

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

Can anyone reccomend any kernel parameter tweaks for a FreeBSD 2.2-STABLE
box that will act as a multi port router ? (3 fxp interfaces).  The machine
will only running gated with OSPF interally for now, and fairly soon BGP
when our second upstream comes online.

Is it better to manually increase some network related parameters, or just
do it by increasing MAXUSERS ?

The machine I am readying gives some numbers at initial bootup that are a
little confusing.  Why for example would a machine that has yet to do
anything really, come up with value like this 

temp-iolite# netstat -m
199 mbufs in use:
        194 mbufs allocated to data
        1 mbufs allocated to packet headers
        3 mbufs allocated to protocol control blocks
        1 mbufs allocated to socket names and addresses
192/206 mbuf clusters in use
436 Kbytes allocated to network (93% in use)
0 requests for memory denied
0 requests for memory delayed
0 calls to protocol drain routines


Also, when I reconfig the kernel for more max users, it doesnt seem to make
a difference in how many mbuf clusters are available.

temp-iolite# netstat -ni
Name  Mtu   Network       Address            Ipkts Ierrs    Opkts Oerrs  Coll
fxp0  1500  <Link>      00.a0.c9.4b.a5.f4      559     0      356     0   130
fxp0  1500  199.212.135.1 199.212.135.161      559     0      356     0   130
fxp1  1500  <Link>      00.a0.c9.8c.f1.53        0     0        1     0     0
fxp1  1500  192.168.201   192.168.201.1          0     0        1     0     0
fxp2  1500  <Link>      00.a0.c9.89.d9.7e        0     0        1     0     0
fxp2  1500  192.168.202   192.168.202.1          0     0        1     0     0
tun0* 1500  <Link>                               0     0        0     0     0
sl0*  552   <Link>                               0     0        0     0     0
ppp0* 1500  <Link>                               0     0        0     0     0
lo0   16384 <Link>                               0     0        0     0     0
lo0   16384 127           127.0.0.1              0     0        0     0     0



I did a search through some 400 postings in Dejanews for the terms kernel
and router and tried to search http://www.freebsd.org/search.html, but the
mail archives seem to be offline.


**********************************************************************
Mike Tancsa  (mike@sentex.net)           * To do is to be  -- Nietzsche
Sentex Communications Corp,              * To be is to do  -- Sartre 
Cambridge, Ontario                       * Do be do be do  -- Sinatra
(http://www.sentex.net/~mdtancsa)        *

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?3.0.2.32.19980419193531.0251a100>