Writing raw PPP packets

Aniruddha Bohra bohra at cs.rutgers.edu
Mon Oct 31 12:37:27 PST 2005


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



More information about the freebsd-questions mailing list