Patton electronic SmartNode 4110 Series ユーザーズマニュアル

ページ / 664
Sample configurations
329
SmartWare Software Configuration Guide 
30 • PPP configuration
    Service:                  
    Access-Concentrator:      
    State:                    Opened
    Sent Initiations:         1
    Sent Requests:            1
    Peer Session-ID:          3786
    Peer MAC-Address:         00:01:02:B8:4E:E4
Sample configurations
PPP over Ethernet (PPPoE)
Without authentication, encapsulation multi, with NAPT
profile napt WAN
context ip router
  interface normal_ip_interface
    ipaddress 172.16.1.1 255.255.0.0
  interface ppp_interface
    ipaddress unnumbered
    point-to-point
    tcp adjust-mss rx mtu
    tcp adjust-mss tx mtu
    use profile napt WAN
context ip router
  route 0.0.0.0 0.0.0.0 ppp_interface 0
port ethernet 0 0
  encapsulation multi
  bind interface normal_ip_interface
  no shutdown 
  pppoe
    session green
      bind interface ppp_interface
      no shutdown
With authentication, encapsulation PPPoE
context ip router
  interface ppp_interface
    ipaddress unnumbered
    point-to-point
    tcp adjust-mss rx mtu
    tcp adjust-mss tx mtu
subscriber ppp joe_example
  dial out
  authentication pap