精品无码久久久久久国产,扒开双腿吃奶呻吟做受视频,久久久无码人妻精品无码,亚洲va久久久噜噜噜久久天堂

 

電話:010-62220424

傳真:010-62220448

郵箱:sunny@lethbr.com

怎么樣設(shè)置PPPoE server ?

怎么樣設(shè)置PPPoE server

設(shè)置PPPoE server

建立PPPoE server的最低配置為:

1)定義地址池

2)定義接口偵聽

3)選擇認(rèn)證模式(本地用戶或RADIUS

4)如果選擇本地認(rèn)證模式,定義用戶名/密碼


設(shè)置步驟:

定義地址池:

ubnt@rtr1:~$ configure

 

ubnt@rtr1# edit service pppoe-server

 

ubnt@rtr1# set client-ip-pool start 100.0.0.10

 

ubnt@rtr1# set client-ip-pool stop 100.0.0.100

定義接口偵聽:

ubnt@rtr1# set interface eth0

 

選擇認(rèn)證模式:

ubnt@rtr1# set authentication mode local

 

 

如果選擇本地認(rèn)證模式,定義用戶名/密碼:

ubnt@rtr1# set authentication local-users username bob password secret

                                                     

ubnt@rtr1# set authentication local-users username joe password secret2

 

ubnt@rtr1# commit

 

Starting pppoe-server: pppoe-server.

                                                                               

 

ubnt@rtr1# top

 

 

ubnt@rtr1# show service pppoe-server

 authentication {

     local-users {

         username bob {

             password secret

         }

         username joe {

             password secret2

         }

     }

     mode local

 }

 client-ip-pool {

     start 100.0.0.10

     stop 100.0.0.100

 }

 interface eth0

 

ubnt@rtr1# save

Saving configuration to '/config/config.boot'...

Done

 

ubnt@rtr1# exit

Exit

或者可以選擇添加DNS服務(wù)器:

ubnt@rtr1:~$ configure

 

ubnt@rtr1# set service pppoe-server dns-servers server-1 8.8.8.8

 

ubnt@rtr1# commit

 

Restarting pppoe-server: pppoe-server.

 

ubnt@rtr1# save ; exit

Saving configuration to '/config/config.boot'...

Done

exit

ubnt@rtr1:~$

查看是否有連接的PPPoE客戶端:

ubnt@rtr1:~$ show pppoe-server

Active PPPoE server sessions:

 

User       Time      Iface    Remote IP       TX pkt/byte   RX pkt/byte

---------- --------- -------- --------------- ------ ------ ------ ------      

joe        00h35m02s pppoes0  100.0.0.11         178  14.1K    178  13.3K

bob        00h00m19s pppoes1  100.0.0.12          28   2.3K     29   1.9K

 

 

踢掉用戶"joe":

ubnt@rtr1:~$ clear pppoe-server user joe

ubnt@rtr1:~$ show pppoe-server

Active PPPoE server sessions:

 

User       Time      Iface    Remote IP       TX pkt/byte   RX pkt/byte

---------- --------- -------- --------------- ------ ------ ------ ------

bob        00h01m02s pppoes1  100.0.0.12          29   2.4K     30   2.0K

配置PPPoE客戶端

在另一臺路由器,我們將配置PPPoE客戶端。對于客戶端,最低配置出口的用戶名和密碼。例如:

ubnt@rtr2:~$ configure

 

ubnt@rtr2# set interfaces ethernet eth1 pppoe 0 user-id joe

 

ubnt@rtr2# set interfaces ethernet eth1 pppoe 0 password secret2

 

ubnt@rtr2# commit

 

ubnt@rtr2# show interfaces ethernet eth1 pppoe

 pppoe 0 {

     password secret2

     user-id joe

 }

ubnt@rtr2# save ; exit

Saving configuration to '/config/config.boot'...

Done

 

ubnt@rtr2# exit

Exit

為了驗(yàn)證,我們有一個(gè)連接,我們會(huì)做“show interfaces”:

ubnt@rtr2:~$ show interfaces

Codes: S - State, L - Link, u - Up, D - Down, A - Admin Down

Interface    IP Address                        S/L  Description

---------    ----------                        ---  -----------

eth0         -                                 u/D

eth1         -                                 u/u

eth2         -                                 u/D

lo           127.0.0.1/8                       u/u

             ::1/128

pppoe0       100.0.0.10                        u/u

我們可以看到pppoe0被分配100.0.0.10。

如果你想從PPPoE服務(wù)器斷開連接:

ubnt@rtr2:~$ disconnect interface pppoe0

Bringing interface pppoe0 down...

重新連接:

ubnt@rtr2:~$ connect interface pppoe0

Bringing interface pppoe0 up...

ubnt@rtr2:~$

電話:010-62220424

傳真:010-62220448

郵箱:sales@lethbr.com

服務(wù)時(shí)間:9:00—18:00

地址:北京市海淀區(qū)中關(guān)村南大街9號理工科技大廈903

微信公眾號