hujun-open / zouppp

zouppp is a set of GO modules implements PPPoE, PPP and related protocols:
GNU General Public License v3.0
27 stars 8 forks source link

Set desired access concentrator name #6

Open voilet opened 1 year ago

voilet commented 1 year ago

How to set the desired access concentrator name

How to specify the two PPPOE Servers in the LAN

example pppoe -c

pppoe -h Usage: pppoe [options] Options: -I if_name -- Specify interface (default eth0.) -D filename -- Log debugging information in filename. -T timeout -- Specify inactivity timeout in seconds. -t timeout -- Initial timeout for discovery packets in seconds -V -- Print version and exit. -A -- Print access concentrator names and exit. -S name -- Set desired service name. -C name -- Set desired access concentrator name. -U -- Use Host-Unique to allow multiple PPPoE sessions. -s -- Use synchronous PPP encapsulation. -m MSS -- Clamp incoming and outgoing MSS options. -p pidfile -- Write process-ID to pidfile. -e sess:mac -- Skip discovery phase; use existing session. -n -- Do not open discovery socket. -k -- Kill a session with PADT (requires -e) -d -- Perform discovery, print session info and exit. -f disc:sess -- Set Ethernet frame types (hex). -F numfloods -- Set the discovery flood, only used for stress-testing. -h -- Print usage information.

hujun-open commented 1 year ago

currently zouppp client doesn't support multiple PPPoE servers, it picks first PADO it receives