Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 25 Oct 2000 15:02:46 -0700
From:      Julian Elischer <julian@elischer.org>
To:        Greg Fausak <lgfausak@august.net>
Cc:        freebsd-net@FreeBSD.ORG
Subject:   Re: BPF usage questions
Message-ID:  <39F75886.A6EBD94@elischer.org>
References:  <m13oUfP-002H0RC@gomer.august.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Greg Fausak wrote:
> 

> >What is netgraph?
> 
> whoops...  Foot in mouth.  I have done some research now and see this
> is great!  Is there somewhere I can look at examples of
> ng implemented nodes?  Specifically, I'd like to experiment with
> frame relay (DSL), multi-link (node multiplexing-demultiplexing) and
> vpn.

welllll, start with the netgraph(4) manpage (not netgraph(3))
then you'll find MOST of the implemented nodes in /sys/netgraph,
though there are a couple of others (sync cards)

the mpd-netgraph port (under ports/net) can use netgraph to run pptp
vpns
and the ppp daemon (ppp(8)) can use netgraph to connect to 
pppoe sessions running through DSL. (though it needs a 
ethernet attached DSL modem.)

there is also an article on netgraph on Daemonnews
in the "blueprints (?)" section that is illuminating..

also check out /usr/share/examples/netgraph 
for examples of how you might set up some configurations.

For a very conoluted example you may write yur own setup and control C
program
using the netgraph(3) library to control it. (that's what mpd and ppp
do)

> 
> Thanks,
> 
> ---greg

-- 
      __--_|\  Julian Elischer
     /       \ julian@elischer.org
    (   OZ    ) World tour 2000
---> X_.---._/  presently in:  Budapest
            v
'


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




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