国产午夜福利在线播放,亚洲色拍拍噜噜噜最新网站,免费av在线,精品国产成人高清在线

 

電話(huà):010-62220424

傳真:010-62220448

郵箱:sunny@lethbr.com

怎么樣設置PPPoE server ?

怎么樣設置PPPoE server

設置PPPoE server

建立PPPoE server的最低配置為:

1)定義地址池

2)定義接口偵聽(tīng)

3)選擇認證模式(本地用戶(hù)或RADIUS

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


設置步驟:

定義地址池:

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

定義接口偵聽(tīng):

ubnt@rtr1# set interface eth0

 

選擇認證模式:

ubnt@rtr1# set authentication mode local

 

 

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

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客戶(hù)端:

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

 

 

踢掉用戶(hù)"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客戶(hù)端

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

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

為了驗證,我們有一個(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ù)器斷開(kāi)連接:

ubnt@rtr2:~$ disconnect interface pppoe0

Bringing interface pppoe0 down...

重新連接:

ubnt@rtr2:~$ connect interface pppoe0

Bringing interface pppoe0 up...

ubnt@rtr2:~$

電話(huà):010-62220424

傳真:010-62220448

郵箱:sales@lethbr.com

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

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

微信公眾號
操我嘛插插我逼逼一起爽啊视频| 999久久久91| AV片在线观看免费| 国产AV一区二区三区丝袜| www.九色| 亚洲 欧美 日韩 图片| 久久中文字幕人妻丝袜| 欧美色综合网| 超碰香蕉| 亚洲天堂性av| 精品国产免费无码久久久| 亚洲色av| 吉首市| 亚洲成人免费播放| 久久久久久无码精品人妻一区二区| SWAG国产精品一区二区| 欧美激情 - 右手影院| 亚洲一区二区| 国语精品一区二区三区| 黄色在线免费| 婷婷久草视频| 黑人巨大三根一起进| 少妇无码日韩| 欧美一级黄片| 天天综合色丁香五月| 国产A级毛片久久久…| 日韩国产另类| 区一区二区三| 久久男人的天堂| 呦呦视频精品一区二区三区| 欧美久久夜色| 亚洲国产精品成人精品无码区| 久久久久久国产毛片| 人人妻人人爱| 国产精品白浆| 九九超碰| 色哟哟中文字幕| 太白县| 91重口| 国产性70yerg老太| 水果视频黄片|