From owner-freebsd-questions@FreeBSD.ORG Mon Oct 31 20:37:26 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EC13E16A420 for ; Mon, 31 Oct 2005 20:37:26 +0000 (GMT) (envelope-from bohra@cs.rutgers.edu) Received: from mail.nec-labs.com (mail.nec-labs.com [138.15.200.209]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7834343D48 for ; Mon, 31 Oct 2005 20:37:25 +0000 (GMT) (envelope-from bohra@cs.rutgers.edu) Received: from mail.nec-labs.com (mail [138.15.200.209]) by mail.nec-labs.com (8.13.0/8.13.0) with ESMTP id j9VKbPLf024964 for ; Mon, 31 Oct 2005 15:37:25 -0500 Received: from mailer.nec-labs.com (mailer.nec-labs.com [138.15.108.3]) by mail.nec-labs.com (8.13.0/8.13.0) with ESMTP id j9VKbO89024958 for ; Mon, 31 Oct 2005 15:37:24 -0500 Received: from [138.15.104.242] ([138.15.104.242] unverified) by mailer.nec-labs.com with Microsoft SMTPSVC(5.0.2195.6713); Mon, 31 Oct 2005 15:38:05 -0500 Message-ID: <436681DD.2070001@cs.rutgers.edu> Date: Mon, 31 Oct 2005 15:43:09 -0500 From: Aniruddha Bohra User-Agent: Mozilla Thunderbird 1.0.2 (X11/20050426) X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 31 Oct 2005 20:38:05.0230 (UTC) FILETIME=[FEBF4CE0:01C5DE5A] Subject: Writing raw PPP packets X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 31 Oct 2005 20:37:27 -0000 Hello all, From the bpf(4) manpage : A packet can be sent out on the network by writing to a bpf file descrip- tor. The writes are unbuffered, meaning only one packet can be processed per write. Currently, only writes to Ethernets and SLIP links are sup- ported. Is it possible to direct IP packets to the PPP interface without the kernel routing the packets? This is for a case where the default address to a host is over another interface and I want to force some packets through the PPP interface. Thanks Aniruddha