• Support Channels
    • Facebook Group
    • Youtube Channel
    • Github
    • Telegram
  • Events
  • Privacy
           
ITFORVN
  • Trang chủ
  • Training
  • Infrastructure
    • Hardware
    • Network
      • Cisco
      • HP
      • Low End
    • Clouds
      • Amazon
      • Google
      • Cloud App
      • VMWare
    • Virtualization
      • Hyper-V
      • Citrix
      • Azure
    • On-Premise
      • Linux
      • MAC
      • VoIP
      • Windows
  • Security
    • Application Security
    • APT
    • Client Security
      • Android
      • iOS
      • Linux OS
      • MAC
      • Windows OS
    • Database Security
    • End Point
    • Forensic
    • IDS/IPS
    • Proxy
    • SOC
    • Web Firewall
  • ITFORVN Docs
    • Series 802.1x
    • Series Backup Solution
    • Series MCSA
    • Series CCNA
    • Series MCAfee DLP
    • Series VMWare
  • IT Books & Tool
    • Free Tools
    • Paid Tools
  • About Us
  • Trang chủ
  • Training
  • Infrastructure
    • Hardware
    • Network
      • Cisco
      • HP
      • Low End
    • Clouds
      • Amazon
      • Google
      • Cloud App
      • VMWare
    • Virtualization
      • Hyper-V
      • Citrix
      • Azure
    • On-Premise
      • Linux
      • MAC
      • VoIP
      • Windows
  • Security
    • Application Security
    • APT
    • Client Security
      • Android
      • iOS
      • Linux OS
      • MAC
      • Windows OS
    • Database Security
    • End Point
    • Forensic
    • IDS/IPS
    • Proxy
    • SOC
    • Web Firewall
  • ITFORVN Docs
    • Series 802.1x
    • Series Backup Solution
    • Series MCSA
    • Series CCNA
    • Series MCAfee DLP
    • Series VMWare
  • IT Books & Tool
    • Free Tools
    • Paid Tools
  • About Us
           
ITFORVN
Trang chủ Infrastructure Network Cisco

Hướng Dẫn Cấu Hình Quay PPPoE Bằng Router Cisco

How to authentication pppoe using router cisco

Nguyễn Văn Long bởi Nguyễn Văn Long
09/06/2020
trong Cisco, Infrastructure, Network
0

Bài này mình sẽ nói tổng quan về cách thức quay xác thực PPPoE trên Router của Cisco

Topology:

ITFORVN.COM pppoe-router-cisco Hướng Dẫn Cấu Hình Quay PPPoE Bằng Router Cisco Router Config

  • Yêu cầu: sử dụng Router Cisco xác thực PPPoE, nhận IP cấp phát từ nhà mạng, các PC trong mạng LAN truy cập được Internet

Chuẩn Bị

  • Thông tin username/password của thuê bao được nhà mạng cung cấp (liên hệ nhà mạng hoặc xem trên hợp đồng)
  • Cắm Converter nếu hoặc cấu hình bridge trên modem của nhà mạng.
  • Xác định cổng WAN (như trên là G0/1) và LAN (G0/0), cắm dây mạng, đồng thời cấu hình Interface cho mạng LAN
  • Mỗi nhà mạng đều sẽ có đánh vlan tag cho cổng nên bạn cần phải set vlan cho cổng WAN, bạn có thể set vlan trong lúc bridge modem hoặc trên router cisco, vì mình muốn quản lý hoàn toàn trên router nên sẽ set trên router (để biết chính xác được nhà mạng mình đang gắn thuê bao của mình vào vlan nào các bạn có thể contact KTV khu vực hoặc gọi hotline, thường mạng Viettel là vlan 35 và VNPT là 11)

Tiến Hành Cấu Hình PPPoE Trên Router Cisco

  • Cấu hình Interface LAN
    interface GigabitEthernet0/0
    description LAN
    no shutdown
    ip nat inside
    ip address 192.168.1.1 255.255.255.0
  • Cấu hình Interface WAN
    interface GigabitEthernet0/2
    description WAN-VIETTEL
    no ip address
    no shut
  • Cấu hình subinterface trên cổng WAN theo vlan nhà mạng (ở đây mình dùng Viettel, vlan 35)
    interface GigabitEthernet0/2.35
    encapsulation dot1Q 35
    pppoe enable (Cho phép PPPoE trên interface)
    pppoe-client dial-pool-number 1 (Gắn interface dialer)
  • Tạo Dialer Interface dùng để quay PPPoE
    interface Dialer 1
    ip address negotiated

    ( Lấy IP từ PPP )

    ip nat outside

    (gán interface NAT ra bên ngoài)

    encapsulation ppp

    (Đóng gói PPP)

    dialer pool 1

    (gắn Dialer interface này vào Dialer pool)

    ppp authentication pap callin

    (Chọn kiểu chứng thực PAP/CHAP)

    ppp pap sent-username <username> password 0 <password>

    (thay <username>/<password> đã chuẩn bị để xác thực PPPoE

  • Cấu hình default route tới WAN
    ip route 0.0.0.0 0.0.0.0.0 Dialer 1
  • Tạo nat overload cho mạng LAN
    ip nat inside source list 1 interface Dialer1 overload

    access-list 100 permit ip any any

  • Nat cổng 80 của webserver 192.168.1.10 ra ngoài ip public thành cổng 8080 (tuỳ chọn)
ip nat inside source static tcp 192.168.1.10 80 interface Dialer 1 8080

Tác giả:  Nguyễn Văn Long – ITFORVN.COM

Bạn có thể tương tác và cập nhật thông tin mới nhất của Nhóm Facebook ITFORVN, Các khóa học mới do group tổ chức tại «Portal»

The: ConfigRouter
Bài trước

Sysmon và Event logs

Bài kế tiếp

Hướng Dẫn Cài Đặt Jitsi Meet Server – Meeting Server Miễn Phí

Nguyễn Văn Long

Nguyễn Văn Long

Mình viết blog này mục đích ban đầu là lưu trữ cá nhân, sau là chia sẻ những tài nguyên mình sưu tầm được cũng như kinh nghiệm, thủ thuật khắc phục các sự cố máy tính mà mình từng gặp phải

Bài viết liên quan

ITFORVN.COM BG99.2-350x250 Hướng Dẫn Cấu Hình Quay PPPoE Bằng Router Cisco Router Config
Khác

RANSOMWARE VÀ NHỮNG NGUY HẠI ĐỐI VỚI ESXi SERVER

09/12/2020
ITFORVN.COM RDP1-350x250 Hướng Dẫn Cấu Hình Quay PPPoE Bằng Router Cisco Router Config

Cấu hình cho phép nhiều User cùng Remote Desktop vào Windows Sever 2016

20/11/2020
ITFORVN.COM logo-cable-350x250 Hướng Dẫn Cấu Hình Quay PPPoE Bằng Router Cisco Router Config
Hardware

DÂY TRUYỀN TÍN HIỆU – Part 2

11/10/2020
Bài kế tiếp
ITFORVN.COM screenshot-21-75x75 Hướng Dẫn Cấu Hình Quay PPPoE Bằng Router Cisco Router Config

Hướng Dẫn Cài Đặt Jitsi Meet Server - Meeting Server Miễn Phí

0 0 vote
Article Rating
Bạn có thể đăng nhập để phải hồi dễ dàng hơn
Subscribe
Connect with
Login
I allow to create an account
When you login first time using a Social Login button, we collect your account public profile information shared by Social Login provider, based on your privacy settings. We also get your email address to automatically create an account for you in our website. Once your account is created, you'll be logged-in to this account.
DisagreeAgree
Notify of
guest
Connect with
I allow to create an account
When you login first time using a Social Login button, we collect your account public profile information shared by Social Login provider, based on your privacy settings. We also get your email address to automatically create an account for you in our website. Once your account is created, you'll be logged-in to this account.
DisagreeAgree
guest
0 Comments
Inline Feedbacks
View all comments

Connect US

Facebook
Youtube
Telegram
Skype

Get new post

  • About US
  • Contact US
  • ITFORVN vBlog
  • Our Team
  • Our Missions
Design by ITFORVN.COM ®

Nghiêm cấm sao chép vì mục đích thương mại. Mọi sao chép từ ITFORVN.COM phải ghi rõ nguồn gốc.
DMCA.com Protection Status
  • Trang chủ
  • Training
  • Infrastructure
    • Hardware
    • Network
      • Cisco
      • HP
      • Low End
    • Clouds
      • Amazon
      • Google
      • Cloud App
      • VMWare
    • Virtualization
      • Hyper-V
      • Citrix
      • Azure
    • On-Premise
      • Linux
      • MAC
      • VoIP
      • Windows
  • Security
    • Application Security
    • APT
    • Client Security
      • Android
      • iOS
      • Linux OS
      • MAC
      • Windows OS
    • Database Security
    • End Point
    • Forensic
    • IDS/IPS
    • Proxy
    • SOC
    • Web Firewall
  • ITFORVN Docs
    • Series 802.1x
    • Series Backup Solution
    • Series MCSA
    • Series CCNA
    • Series MCAfee DLP
    • Series VMWare
  • IT Books & Tool
    • Free Tools
    • Paid Tools
  • About Us

© 2021 JNews - Premium WordPress news & magazine theme by Jegtheme.

wpDiscuz
0
0
Would love your thoughts, please comment.x
()
x
| Reply