-Iinterface
The -I option specifies the Ethernet interface to use. Under Linux, it is typically eth0 or eth1.
The interface should be "up" before you start pppoe, but should not be configured to have an IP
address.
-Ttimeout
The -T option causes pppoe to exit if no session traffic is detected for timeout seconds. I
recommend that you use this option as an extra safety measure, but if you do, you should make sure
that PPP generates enough traffic so the timeout will normally not be triggered. The best way to
do this is to use the lcp-echo-interval option to pppd. You should set the PPPoE timeout to be
about four times the LCP echo interval.
-Dfile_name
The -D option causes every packet to be dumped to the specified file_name. This is intended for
debugging only; it produces huge amounts of output and greatly reduces performance.
-V The -V option causes pppoe to print its version number and exit.
-A The -A option causes pppoe to send a PADI packet and then print the names of access concentrators
in each PADO packet it receives. Do not use this option in conjunction with pppd; the -A option
is meant to be used interactively to give interesting information about the access concentrator.
-Sservice_name
Specifies the desired service name. pppoe will only initiate sessions with access concentrators
which can provide the specified service. In most cases, you should not specify this option. Use
it only if you know that there are multiple access concentrators or know that you need a specific
service name.
-Cac_name
Specifies the desired access concentrator name. pppoe will only initiate sessions with the
specified access concentrator. In most cases, you should not specify this option. Use it only if
you know that there are multiple access concentrators. If both the -S and -C options are
specified, they must both match for pppoe to initiate a session.
-U Causes pppoe to use the Host-Uniq tag in its discovery packets. This lets you run multiple pppoe
daemons without having their discovery packets interfere with one another. You must supply this
option to allpppoe daemons if you intend to run multiple daemons simultaneously. The specific
Host-Uniq value used is the hexadecimal representation of the pppoe process's PID.
-Wvalue
Causes pppoe to use the Host-Uniq tag in its discovery packets, and furthermore to set the value
of Host-Uniq to value. Use with caution. Note that -W and -U are mutually-incompatible.
-s Causes pppoe to use synchronous PPP encapsulation. If you use this option, then you must use the
sync option with pppd. You are encouraged to use this option if it works, because it greatly
reduces the CPU overhead of pppoe. However, it MAY be unreliable on slow machines -- there is a
race condition between pppd writing data and pppoe reading it. For this reason, the default
setting is asynchronous. If you encounter bugs or crashes with Synchronous PPP, turn it off --
don't e-mail me for support!
-mMSS Causes pppoe to clamp the TCP maximum segment size at the specified value. Because of PPPoE
overhead, the maximum segment size for PPPoE is smaller than for normal Ethernet encapsulation.
This could cause problems for machines on a LAN behind a gateway using PPPoE. If you have a LAN
behind a gateway, and the gateway connects to the Internet using PPPoE, you are strongly
recommended to use a -m1412 option. This avoids having to set the MTU on all the hosts on the
LAN.
-HMAC Causes pppoe to use the indicated Ethernet MAC address as the source address for sending packets.
MAC must be specified in the AA:BB:CC:DD:EE:FF syntax. If this option is specified, pppoe puts
the interface into promiscuous mode.
-pfile
Causes pppoe to write its process-ID to the specified file. This can be used to locate and kill
pppoe processes.
-esess:mac
Causes pppoe to skip the discovery phase and move directly to the session phase. The session is
given by sess and the MAC address of the peer by mac. This mode is not meant for normal use; it
is designed only for pppoe-server(8).
-n Causes pppoe not to open a discovery socket. This mode is not meant for normal use; it is
designed only for pppoe-server(8).
-k Causes pppoe to terminate an existing session by sending a PADT frame, and then exit. You must
use the -e option in conjunction with this option to specify the session to kill. This may be
useful for killing sessions when a buggy peer does not realize the session has ended.
-d Causes pppoe to perform discovery and then exit, after printing session information to standard
output. The session information is printed in exactly the format expected by the -e option. This
option lets you initiate a PPPoE discovery, perform some other work, and then start the actual PPP
session. Becareful; if you use this option in a loop, you can create many sessions, which may
annoy your peer.
-fdisc:sess
The -f option sets the Ethernet frame types for PPPoE discovery and session frames. The types are
specified as hexadecimal numbers separated by a colon. Standard PPPoE uses frame types 8863:8864.
Youshouldnotusethisoption unless you are absolutely sure the peer you are dealing with uses
non-standard frame types. If your ISP uses non-standard frame types, complain!
-h The -h option causes pppoe to print usage information and exit.