Fwd: best way to force a single packet to be sent via a specific interface

Aryeh Friedman aryeh.friedman at gmail.com
Thu Jul 21 08:10:22 UTC 2011


---------- Forwarded message ----------
From: Aryeh Friedman <aryeh.friedman at gmail.com>
Date: Thu, Jul 21, 2011 at 4:00 AM
Subject: best way to force a single packet to be sent via a specific interface
To: FreeBSD Mailing List <freebsd-questions at freebsd.org>


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)


More information about the freebsd-questions mailing list