Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 20 Mar 2004 00:16:58 -0800 (PST)
From:      Julian Elischer <julian@elischer.org>
To:        =?iso-8859-1?q?manish=20gautam?= <manish_6983@yahoo.co.in>
Cc:        freebsd-net@freebsd.org
Subject:   Re: how to compile kernel with options NETGRAPH ?
Message-ID:  <Pine.BSF.4.21.0403200014470.5587-100000@InterJet.elischer.org>
In-Reply-To: <20040320080904.87592.qmail@web8201.mail.in.yahoo.com>

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

On Sat, 20 Mar 2004, [iso-8859-1] manish gautam wrote:

> how can i compile my kernel with netgraph 
> 
> Actually i want to attach my own created node to the
> existed ether node. so for that i need ether node.
> 
> For that i need to compile my kernel with optins
> NETGRAPH.
> 
> plz explain elaborately. Reply asap

Add some of the following options to your kernel config file:
julian@jules:grep NETG /sys/conf/options
# Netgraph(4). Use option NETGRAPH to enable the base netgraph code.
NETGRAPH
NETGRAPH_ASYNC          opt_netgraph.h
NETGRAPH_ATMLLC         opt_netgraph.h
NETGRAPH_BPF            opt_netgraph.h
NETGRAPH_BRIDGE         opt_netgraph.h
NETGRAPH_CISCO          opt_netgraph.h
NETGRAPH_ECHO           opt_netgraph.h
NETGRAPH_ETHER          opt_netgraph.h
NETGRAPH_FRAME_RELAY    opt_netgraph.h
NETGRAPH_GIF            opt_netgraph.h
NETGRAPH_GIF_DEMUX      opt_netgraph.h
NETGRAPH_HOLE           opt_netgraph.h
NETGRAPH_IFACE          opt_netgraph.h
NETGRAPH_IP_INPUT       opt_netgraph.h
NETGRAPH_KSOCKET        opt_netgraph.h
NETGRAPH_L2TP           opt_netgraph.h
NETGRAPH_LMI            opt_netgraph.h
NETGRAPH_MPPC_COMPRESSION       opt_netgraph.h
NETGRAPH_MPPC_ENCRYPTION        opt_netgraph.h
NETGRAPH_ONE2MANY       opt_netgraph.h
NETGRAPH_PPP            opt_netgraph.h
NETGRAPH_PPPOE          opt_netgraph.h
NETGRAPH_PPTPGRE        opt_netgraph.h
NETGRAPH_RFC1490        opt_netgraph.h
NETGRAPH_SOCKET         opt_netgraph.h
NETGRAPH_SPLIT          opt_netgraph.h
NETGRAPH_TEE            opt_netgraph.h
NETGRAPH_TTY            opt_netgraph.h
NETGRAPH_UI             opt_netgraph.h
NETGRAPH_VJC            opt_netgraph.h
NETGRAPH_ATM_ATMPIF     opt_netgraph.h

or  
kldload netgraph
kldload ng_ether
kldload "mymodule"


> 
> Best regards
> Manish Gautam
> 
> ________________________________________________________________________
> Yahoo! India Insurance Special: Be informed on the best policies, services, tools and more. 
> Go to: http://in.insurance.yahoo.com/licspecial/index.html
> _______________________________________________
> freebsd-net@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-net
> To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org"
> 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0403200014470.5587-100000>