From owner-freebsd-questions Tue Aug 26 04:52:57 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id EAA05622 for questions-outgoing; Tue, 26 Aug 1997 04:52:57 -0700 (PDT) Received: from pluto.cpe.ku.ac.th (pluto.cpe.ku.ac.th [158.108.32.69]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id EAA05617 for ; Tue, 26 Aug 1997 04:52:50 -0700 (PDT) Received: from localhost (stt@localhost) by pluto.cpe.ku.ac.th (8.8.5/8.8.5) with SMTP id TAA01165 for ; Tue, 26 Aug 1997 19:01:51 +0700 (ICT) Date: Tue, 26 Aug 1997 19:01:51 +0700 (ICT) From: Sunthiti Patchararungruang To: freebsd-questions@FreeBSD.org Subject: How can I send a complete IP packet to a specified interface. Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.org X-Loop: FreeBSD.org Precedence: bulk Dear Sir, I make my thesis on the FreeBSD2.2.2. It is used to route packets by interpreting packets higher than IP. I need to send a complete IP packet-included IP header, option, and data-to a specified interface obtained from my routing algorithm. I don't know how to do it. Do I need to manage all ARP handling and send the packets as frames of datalink layer? If yes, how could I do. Thank you for reading my mail. I am looking forward to hearing from you soon. Best Regards, Sunthiti Patchararungruang