• If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.
Xin chào ! Nếu đây là lần đầu tiên bạn đến với diễn đàn, xin vui lòng danh ra một phút bấm vào đây để đăng kí và tham gia thảo luận cùng VnPro.

Announcement

Collapse
No announcement yet.

Cách bắt gói tin PPPoE trên GNS3

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Cách bắt gói tin PPPoE trên GNS3

    Chào mọi người!
    Em đang cấu hình PPPoE trên GN3 với mô hình như sau:

    PC(LAN)----->PPPoE_Client-------->BRAS(PPPoE _Server)------->ISP(Internet)
    Nhưng khi capture trên GNS3 thì e chỉ bắt được gói PPP LCP với Information là PPP Request,PPP Echo,PPP ACK chứ không bắt được gói tin PPPoE.Mọi người có thể hướng dẫn dùm e bắt gói tin PPPoE có information gồm các trường :Configuration Request,Configuration ACK...như file này 89.rar

    Đây là cấu hình của em:
    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-bba-group)#session per-mac limit 3

    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)# ip mtu 1492
    PPPoE_Server(config-if)# ip unnumbered f0/0
    PPPoE_Server(config-if)# peer default ip address pool CLIENT
    PPPoE_Server(config-if)# ppp authentication pap chap

    PPPoE_Server(config)# ip local pool CLIENT 172.16.0.10 172.16.0.100

    PPPoE_SERVER(config)#in f0/1
    PPPoE_SERVER(config-if)#no sh
    PPPoE_SERVER(config-if)#ip address dhcp

    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

    PPPoE_Client(config)#in f0/1
    PPPoE_Client(config-if)#no sh
    PPPoE_Client(config-if)#ip address 192.168.100.254 255.255.255.0
    PPPoE_Client(config-if)#exit
    PPPoE_Client(config)#ip dhcp pool LAN
    PPPoE_Client(dhcp-config)#network 192.168.100.0 255.255.255.0
    PPPoE_Client(dhcp-config)#def 192.168.100.254
    PPPoE_Client(dhcp-config)#dns 8.8.8.8
    PPPoE_Client(dhcp-config)#import all
    PPPoE_Client(config)#ip dhcp excluded-address 192.168.100.1 192.168.100.18

    PPPoE_Client (conf)# access-list 1 permit 192.168.100.0 0.0.0.255
    PPPoE_Client (conf)#ipnat inside source list 1 interface Dialer1 overload
    PPPoE_Client (conf)#int f0/1
    PPPoE_Client (config-if)ip nat inside
    PPPoE_Client (conf)#int Dialer1
    PPPoE_Client (config-if)ip nat outside


    Xem tiến trình PPP
    PPPoE_Client #debug ppp authentication
    PPPoE_Client #debug ppp negotiation

    Xem session ,packet được truyền thông qua PPPoE

    PPPoE_Client #show pppoe session all
    PPPoE_Client #show pppoe packets


    mong mọi người giúp đỡ!thanks all.
Working...
X