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

 

電話: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è)連接,我們會做“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

微信公眾號
亚洲国产精品99| 在线观看日韩AV| 亚洲男人天堂最新| 亚洲av久久精品狠狠爱av | 99久久精品国产| 久久人一区区三区四区精品视频| 五月激情综合久久| 先锋77xfplay色资源网站 | 久久精品国产99国产| 国产超碰在线观看| 亚洲天堂不卡在线| 亚洲熟妇av一区二区三区漫画| 久久伊人国产精品| 五月丁香激| 安庆市| 亚洲12色吧| 亚洲一区二区热妻| 性生交大片免费看女人按摩| 关于未知的我们| 秋霞鲁丝片AV无码中文字幕| 99无码在线电影| 亚洲色图校园春色| 国产日韩一区| 尤物在线视频| 精品少妇一区二区三区在线播放| 国产一区二区在线观看swag| 人妖网站| 华人91av视频| 亚洲不卡一区二区三区| 精品视频一区二区三区| AV天堂东京热电影网| 91美女插美女| 亚洲色av| 欧美人禽色视频免费看| 日韩欧美国产综合| 中文字幕一区二区三区被窝| av亚洲| 丝袜综合社区| 久久亚洲一区二区三区四区五区| 内射网站| 视频一区二区中文字幕|