Forcing a packet through an interface (OT?)
Nate Nielsen
nielsen-list at memberwebs.com
Tue Jul 12 15:44:45 GMT 2005
Mario Lobo wrote:
> Forgive me if this is off-topic.
>
> How could I force a packet to go out through an interface,
> despite the default route?
What I do for testing is:
1. Assign additional local IP aliases.
2. Use IPFW or pf to forward packets that from those IPs
through the different NICs.
3. Ping an IP online using the '-S' argument to specify
the source as one of the IP aliases.
Cheers,
Nate
More information about the freebsd-questions
mailing list