From owner-freebsd-questions@FreeBSD.ORG Thu Jul 21 08:00:22 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 748FE106566B for ; Thu, 21 Jul 2011 08:00:22 +0000 (UTC) (envelope-from aryeh.friedman@gmail.com) Received: from mail-wy0-f182.google.com (mail-wy0-f182.google.com [74.125.82.182]) by mx1.freebsd.org (Postfix) with ESMTP id 12EA58FC0A for ; Thu, 21 Jul 2011 08:00:21 +0000 (UTC) Received: by wyg24 with SMTP id 24so876182wyg.13 for ; Thu, 21 Jul 2011 01:00:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; bh=XqD/brCnjxNd9Rc8+pUNfifC/9W9LvAR5RPd1oN8SrM=; b=EZ5i+9zCg0JEzDaYO/LYOyQziC27OPa6p+1+cKqXrtbFmLwYulAwLxceGgnyAQDd5P rF1nPGVH/VljIazFTp4ZvmHHkldeMfEwBUjTOwHtafqHLzPksr2UnQhQ61XA3ghygKD/ F3LaY9befhPPsHtdeEjnEIxUidI8YRLjsnXyE= MIME-Version: 1.0 Received: by 10.216.136.202 with SMTP id w52mr491384wei.68.1311235220944; Thu, 21 Jul 2011 01:00:20 -0700 (PDT) Received: by 10.216.90.211 with HTTP; Thu, 21 Jul 2011 01:00:20 -0700 (PDT) Date: Thu, 21 Jul 2011 04:00:20 -0400 Message-ID: From: Aryeh Friedman To: FreeBSD Mailing List Content-Type: text/plain; charset=ISO-8859-1 Subject: best way to force a single packet to be sent via a specific interface 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: Thu, 21 Jul 2011 08:00:22 -0000 I have both ethernet (the default route and such) and ppp done via "ppp -ddial" the man page for ppp(8) says tun0 will not have an IP assigned until a single packet is sent on it... what is the best way to have one packet sent on it (ping only always ifaces on multicast, traceroute seems to have no way to say exit after the first hop and/or after one packet is sent, tcpdump refuses a "-c 0" arg saying it is illegal)