From owner-freebsd-isp@FreeBSD.ORG Tue Oct 5 00:19:31 2004 Return-Path: Delivered-To: freebsd-isp@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C0DF416A4CE for ; Tue, 5 Oct 2004 00:19:31 +0000 (GMT) Received: from sfverio-131.cisdata.net (sfverio-131.cisdata.net [130.94.248.131]) by mx1.FreeBSD.org (Postfix) with ESMTP id B0F1243D2F for ; Tue, 5 Oct 2004 00:19:31 +0000 (GMT) (envelope-from dguerrero@cisdata.net) Received: from adsl-69-106-78-180.dsl.scrm01.pacbell.net ([69.106.78.180] helo=[192.168.43.179]) by sfverio-131.cisdata.net with esmtp (Exim 3.36 #5) id 1CEdDq-0001po-00 for freebsd-isp@freebsd.org; Mon, 04 Oct 2004 17:30:30 -0700 Mime-Version: 1.0 (Apple Message framework v619) Content-Transfer-Encoding: 7bit Message-Id: <2F80375A-1664-11D9-A480-000A95B49708@cisdata.net> Content-Type: text/plain; charset=US-ASCII; format=flowed To: freebsd-isp@freebsd.org From: Denis Guerrero Date: Mon, 4 Oct 2004 17:19:13 -0700 X-Mailer: Apple Mail (2.619) Subject: Netgraph Fast Ether-Channel kernel module X-BeenThere: freebsd-isp@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Internet Services Providers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Oct 2004 00:19:31 -0000 I recently came across the documentation provided at http://www.bsd-dk.dk/archives/2001/Mar/0027.html for implementing the Netgraph Fast-Channel kernel module on FreeBSD systems it works great. One thing that I have not been able to figure out is how to change the mtu on the pseudo device to anything greater than 1500(I want mtu 9000). If I do #ifconfig fec0 mtu 1000 (this works if its any value less than 1500) but, if I do #ifconfig fec0 mtu 9000 (I get the following: " ifconfig: ioctl (set mtu): Invalid argument ") I also tried changing the "NG_FEC_MTU_Default 1500" line in the ng_fec.h file to NG_FEC_MTU_Default 9000 and then do a build/install new kernel and build/install world. Still have no success. I you have any suggestions I would greatly appreciate it. HERE IS MY ENTIRE SCRIPT: #! /bin/sh echo "load module"; cd /usr/src/sys/modules/netgraph/fec/ kldload /usr/src/sys/modules/netgraph/fec/ng_fec.ko echo "kldstat results"; kldstat echo "create psuedo fec interfaces"; ngctl mkpeer fec dummy fec echo "bind physical interfaces to pseudo devices"; ngctl msg fec0: add_iface '"em0"' ngctl msg fec0: add_iface '"em1"' echo "set capture mode for each pseudo interface"; ngctl msg fec0: set_mode_inet echo "set all physical and pseudo interfaces to promiscuous mode"; ifconfig fec0 promisc ifconfig em0 promisc ifconfig em1 promisc echo "bring up pseudos"; ifconfig fec0 up Regards, Denis