CẤU HÌNH PPPoE SERVER & PPPoE CLIENT
Page 1 of 1 • Share •
CẤU HÌNH PPPoE SERVER & PPPoE CLIENT
Trong bài LAB này chúng ta giả lập cấu hình hệ thống DSL của ISP (Cấu hình PPPoE Server và PPPoE Client)
Mô hình thật để cấu hình trong thực tế:

Mô hình giả lập trên GNS3:

Trong ví dụ này chúng ta sử dụng 2 router kết nối với nhau qua cổng fastethernet 0/0
Cấu hình trên PPPoE_Server:
PPPoE_Server(config)# username cisco password cisco
PPPoE_Server(config)# bba-group pppoe global
PPPoE_Server(config-bba-group)# virtual-template 1
PPPoE_Server(config)# interface f0/0
PPPoE_Server(config-if)# ip address 193.168.1.1 255.255.255.240
PPPoE_Server(config-if)# pppoe enable group global
PPPoE_Server(config-if)# no shutdown
PPPoE_Server(config)# interface virtual-template 1
PPPoE_Server(config-if)# mtu 1492
PPPoE_Server(config-if)# ip unnumbered f0/0
PPPoE_Server(config-if)# peer default ip address pool PPPoE_Pool
PPPoE_Server(config-if)# ppp authentication pap chap
PPPoE_Server(config)# ip local pool PPPoE_Pool 172.16.0.10 172.16.0.100
Cấu hình trên PPPoE_Client:
PPPoE_Client(config)# interface f0/0
PPPoE_Client(config-if)# no ip address
PPPoE_Client(config-if)# ip tcp adjust-mss 1452
PPPoE_Client(config-if)# pppoe enable
PPPoE_Client(config-if)# pppoe-client dialer-pool-number 1
PPPoE_Client(config-if)# no shutdown
PPPoE_Client(config)# interface dialer 1
PPPoE_Client(config-if)# ip address negotiated
PPPoE_Client(config-if)# encapsulation ppp
PPPoE_Client(config-if)# dialer pool 1
PPPoE_Client(config-if)# dialer-group 1
PPPoE_Client(config-if)# no cdp enable
PPPoE_Client(config-if)# ppp authentication pap chap callin
PPPoE_Client(config-if)# ppp pap sent-username cisco password cisco
PPPoE_Client(config-if)# ppp chap hostname cisco
PPPoE_Client(config-if)# ppp chap password cisco
PPPoE_Client(config)# ip route 0.0.0.0 0.0.0.0 dialer 1
Bây giờ chúng ta kiểm tra cấu hình đã thành công, giao tiếp được giữa PPPoE_Client và PPPoE_Server:

Mô hình thật để cấu hình trong thực tế:

Mô hình giả lập trên GNS3:

Trong ví dụ này chúng ta sử dụng 2 router kết nối với nhau qua cổng fastethernet 0/0
Cấu hình trên PPPoE_Server:
PPPoE_Server(config)# username cisco password cisco
PPPoE_Server(config)# bba-group pppoe global
PPPoE_Server(config-bba-group)# virtual-template 1
PPPoE_Server(config)# interface f0/0
PPPoE_Server(config-if)# ip address 193.168.1.1 255.255.255.240
PPPoE_Server(config-if)# pppoe enable group global
PPPoE_Server(config-if)# no shutdown
PPPoE_Server(config)# interface virtual-template 1
PPPoE_Server(config-if)# mtu 1492
PPPoE_Server(config-if)# ip unnumbered f0/0
PPPoE_Server(config-if)# peer default ip address pool PPPoE_Pool
PPPoE_Server(config-if)# ppp authentication pap chap
PPPoE_Server(config)# ip local pool PPPoE_Pool 172.16.0.10 172.16.0.100
Cấu hình trên PPPoE_Client:
PPPoE_Client(config)# interface f0/0
PPPoE_Client(config-if)# no ip address
PPPoE_Client(config-if)# ip tcp adjust-mss 1452
PPPoE_Client(config-if)# pppoe enable
PPPoE_Client(config-if)# pppoe-client dialer-pool-number 1
PPPoE_Client(config-if)# no shutdown
PPPoE_Client(config)# interface dialer 1
PPPoE_Client(config-if)# ip address negotiated
PPPoE_Client(config-if)# encapsulation ppp
PPPoE_Client(config-if)# dialer pool 1
PPPoE_Client(config-if)# dialer-group 1
PPPoE_Client(config-if)# no cdp enable
PPPoE_Client(config-if)# ppp authentication pap chap callin
PPPoE_Client(config-if)# ppp pap sent-username cisco password cisco
PPPoE_Client(config-if)# ppp chap hostname cisco
PPPoE_Client(config-if)# ppp chap password cisco
PPPoE_Client(config)# ip route 0.0.0.0 0.0.0.0 dialer 1
Bây giờ chúng ta kiểm tra cấu hình đã thành công, giao tiếp được giữa PPPoE_Client và PPPoE_Server:


chantroitinhoc- Admin
- Posts: 126
Join date: 2008-01-16

Similar topics» Vote for server Gamemode
» CẤU HÌNH PPPoE SERVER & PPPoE CLIENT
» Fly For Victory Server
» Ikings Multiverse Server Status
» Full Editli Server Kurma DosyaLar? [Hamachili]
» CẤU HÌNH PPPoE SERVER & PPPoE CLIENT
» Fly For Victory Server
» Ikings Multiverse Server Status
» Full Editli Server Kurma DosyaLar? [Hamachili]
Page 1 of 1
Permissions in this forum:
You can reply to topics in this forum

