<?xml version="1.0" encoding="UTF-8" ?><!-- generator=Zoho Sites --><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><atom:link href="https://www.daihockhonggiay.com/blogs/tag/point-to-point/feed" rel="self" type="application/rss+xml"/><title>Đại học Không Giấy - Blog #Point-to-Point</title><description>Đại học Không Giấy - Blog #Point-to-Point</description><link>https://www.daihockhonggiay.com/blogs/tag/point-to-point</link><lastBuildDate>Wed, 10 Sep 2025 19:11:27 -0700</lastBuildDate><generator>http://zoho.com/sites/</generator><item><title><![CDATA[ Công nghệ PPP (Point-to-Point)]]></title><link>https://www.daihockhonggiay.com/blogs/post/ppp</link><description><![CDATA[<img align="left" hspace="5" src="https://www.daihockhonggiay.com/ppp.jpg"/>Bài viết này sẽ giúp các bạn có góc nhìn về công nghệ PPP]]></description><content:encoded><![CDATA[<div class="zpcontent-container blogpost-container "><div data-element-id="elm_wPFprLu3Tv-5ud66CYcSGQ" data-element-type="section" class="zpsection "><style type="text/css"></style><div class="zpcontainer-fluid zpcontainer"><div data-element-id="elm_0VNUS0rrQCKKh_zLDkNw2Q" data-element-type="row" class="zprow zprow-container zpalign-items- zpjustify-content- " data-equal-column=""><style type="text/css"></style><div data-element-id="elm_eRREn8keT7GMk-Qs4ictYQ" data-element-type="column" class="zpelem-col zpcol-12 zpcol-md-12 zpcol-sm-12 zpalign-self- "><style type="text/css"></style><div data-element-id="elm_KnXZ0U6gTtul_tlUVSMWBQ" data-element-type="text" class="zpelement zpelem-text "><style> [data-element-id="elm_KnXZ0U6gTtul_tlUVSMWBQ"].zpelem-text { border-style:none; } </style><div class="zptext zptext-align-center " data-editor="true"><p style="text-align:left;margin-bottom:20px;"><span style="font-size:14px;"><span style="font-weight:700;">I. Tổng quan</span></span></p><p style="text-align:left;margin-bottom:20px;"><span style="font-size:14px;"><span style="font-weight:700;">1. Giới thiệu về công nghệ đóng gói trên WAN</span></span></p><p style="margin-bottom:20px;"><img src="/Network/4/6.jpg" style="width:440.52px;height:249px;"><br></p><p style="text-align:left;margin-bottom:20px;"><span style="font-size:14px;"><span style="font-weight:700;">2. Giới thiệu về giao thức PPP</span></span></p><p style="text-align:left;margin-bottom:20px;"><span style="font-size:14px;">Giao thức PPP sử dụng kết nối điểm tới điểm từ Router này tới Router kia hoặc sử dụng trên một đường quay số, hoặc sử dụng trên một đường ADSL (ADSL sử dụng PPPoE: Point-to-Point Protocol over Ethernet).</span></p><p style="text-align:left;margin-bottom:20px;"><span style="font-size:14px;">PPP có thể mang nhiều giao thức khác nhau như TCP/IP, IPX, Apple talk... thông qua sử dụng bộ phận NCP (Network Control Protocol).</span></p><p style="text-align:left;margin-bottom:20px;"><span style="font-size:14px;">PPP có thể điều khiển việc thiết lập các đường Link và tùy chỉnh thiết lập đường Link bằng bộ phận LCP (Link Control Protocol).</span></p><p style="text-align:left;margin-bottom:20px;"><span style="font-size:14px;">Dữ liệu được đóng gói lớp 2 theo PPP.</span></p><p style="text-align:left;margin-bottom:20px;"><span style="font-size:14px;"><span style="font-weight:700;">3. Các bước thiết lập phiên PPP</span></span></p><p style="text-align:left;margin-bottom:20px;"><span style="font-size:14px;">Pha đầu tiên là thiết lập đường Link giữa 2 Router</span></p><p style="text-align:left;margin-bottom:20px;"><span style="font-size:14px;">Pha thứ 2 là xác thực lẫn nhau giữa 2 Router này thông qua giao thức xác thực PAP, CHAP.</span></p><p style="text-align:left;margin-bottom:20px;"><span style="font-size:14px;">Pha thứ 3 là triển khai giao thức PPP sau khi thiết lập</span></p><p style="text-align:left;margin-bottom:20px;"><span style="font-size:14px;"><span style="font-weight:700;">4. Tìm hiểu giao thức xác thực PAP, CHAP:</span></span></p><p style="text-align:left;margin-bottom:20px;"><span style="font-size:14px;"><span style="font-weight:700;">a. Giao thức xác thực PAP</span></span></p><p style="text-align:left;margin-bottom:20px;"><span style="font-size:14px;">Sử dụng bắt tay 2 bước</span></p><p style="margin-bottom:20px;"><img src="/Network/4/7.jpg" style="width:478.79px;height:151px;"><br></p><p style="text-align:left;margin-bottom:20px;"><span style="font-size:14px;">Bước 1: Router bên A muốn truy nhập sang Router bên B thì phải gửi thông tin là: User name, Pasword dưới dạng Clear text</span></p><p style="text-align:left;margin-bottom:20px;"><span style="font-size:14px;">Bước 2: Router B đồng ý và chấp nhận kết nối</span></p><p style="text-align:left;margin-bottom:20px;"><span style="font-size:14px;">Dạng gói tin gửi sang là Clear text nên không bảo mật về User name, Password</span></p><p style="text-align:left;margin-bottom:20px;"><span style="font-size:14px;"><span style="font-weight:700;">b. Giao thức xác thực CHAP</span></span></p><p style="text-align:left;margin-bottom:20px;"><span style="font-size:14px;">Sử dụng bắt tay 3 bước</span></p><p style="margin-bottom:20px;"><img src="/Network/4/8.jpg" style="width:521.08px;height:207px;"><br></p><p style="text-align:left;margin-bottom:20px;"><span style="font-size:14px;">Bước 1: Router A bên HQ (headquarter là trung tâm) gửi sang Router kia một mẫu tin Challenge</span></p><p style="text-align:left;margin-bottom:20px;"><span style="font-size:14px;">Bước 2: Router B sử dụng hàm băm để băm mẫu tin và User name, Password của mình kia rồi gửi lại thông tin là Response</span></p><p style="text-align:left;margin-bottom:20px;"><span style="font-size:14px;">Bước 3: Router HQ kiểm tra thông tin. Nếu thấy phù hợp nó sẽ gửi đáp trả là xác nhận.</span></p><p style="text-align:left;margin-bottom:20px;"><span style="font-size:14px;">Gói tin Response gửi sang đã được băm ra nên nó bảo mật được User name, Password.</span></p><p style="text-align:left;margin-bottom:20px;"><span style="font-size:14px;"><span style="font-weight:700;">5. Các bước cấu hình xác thực</span></span></p><p style="text-align:left;margin-bottom:20px;"><span style="font-size:14px;"><span style="font-weight:700;">a. Các bước cấu hình PAP</span></span></p><p style="text-align:left;margin-bottom:20px;"><span style="font-size:14px;">Cấu hình trên R1</span></p><p style="text-align:left;margin-bottom:20px;"><span style="font-size:14px;">R1 (config)# username R2 password&nbsp;<span style="font-weight:700;">cisco</span>&nbsp;(password phải giống nhau)</span></p><p style="text-align:left;margin-bottom:20px;"><span style="font-size:14px;">Cấu hình xác thực:</span></p><p style="text-align:left;margin-bottom:20px;"><span style="font-size:14px;">R1 (config)# int S0/0</span></p><p style="text-align:left;margin-bottom:20px;"><span style="font-size:14px;">R1 (config-if)# encapsulation PPP</span></p><p style="text-align:left;margin-bottom:20px;"><span style="font-size:14px;">R1 (config-if)# ppp authentication pap</span></p><p style="text-align:left;margin-bottom:20px;"><span style="font-size:14px;">R1 (config-if)# ppp pap sent-username R1 password cisco</span></p><p style="text-align:left;margin-bottom:20px;"><span style="font-size:14px;">Cấu hình bên R2:</span></p><p style="text-align:left;margin-bottom:20px;"><span style="font-size:14px;">R2 (config)# username R1 password&nbsp;<span style="font-weight:700;">cisco&nbsp;</span>(password phải giống nhau)</span></p><p style="text-align:left;margin-bottom:20px;"><span style="font-size:14px;">Cấu hình xác thực:</span></p><p style="text-align:left;margin-bottom:20px;"><span style="font-size:14px;">R2 (config)# int S0/0</span></p><p style="text-align:left;margin-bottom:20px;"><span style="font-size:14px;">R2 (config-if)# encapsulation PPP</span></p><p style="text-align:left;margin-bottom:20px;"><span style="font-size:14px;">R2 (config-if)# ppp authentication pap</span></p><p style="text-align:left;margin-bottom:20px;"><span style="font-size:14px;">R2 (config-if)# ppp pap sent-username R2 password cisco</span></p><p style="text-align:left;margin-bottom:20px;"><span style="font-size:14px;"><span style="font-weight:700;">b. Các bước cấu hình CHAP</span></span></p><p style="text-align:left;margin-bottom:20px;"><span style="font-size:14px;">Cấu hình trên R1</span></p><p style="text-align:left;margin-bottom:20px;"><span style="font-size:14px;">R1 (config)# username&nbsp;<span style="font-weight:700;">cisco</span>&nbsp;pass&nbsp;<span style="font-weight:700;">123456a@</span>&nbsp;(password phải giống nhau)</span></p><p style="text-align:left;margin-bottom:20px;"><span style="font-size:14px;">Cấu hình xác thực:</span></p><p style="text-align:left;margin-bottom:20px;"><span style="font-size:14px;">R1 (config)# int S0/0</span></p><p style="text-align:left;margin-bottom:20px;"><span style="font-size:14px;">R1 (config-if)# encapsulation PPP</span></p><p style="text-align:left;margin-bottom:20px;"><span style="font-size:14px;">R1 (config-if)# ppp authentication chap</span></p><p style="text-align:left;margin-bottom:20px;"><span style="font-size:14px;">R1 (config-if)# ppp chap hostname&nbsp;<span style="font-weight:700;">dnu</span></span></p><p style="text-align:left;margin-bottom:20px;"><span style="font-size:14px;">R1 (config-if)# ppp chap password&nbsp;<span style="font-weight:700;">123456a@</span></span></p><p style="text-align:left;margin-bottom:20px;"><span style="font-size:14px;">Cấu hình bên R2:</span></p><p style="text-align:left;margin-bottom:20px;"><span style="font-size:14px;">R2 (config)# username&nbsp;<span style="font-weight:700;">dnu</span>&nbsp;password&nbsp;<span style="font-weight:700;">123456a@&nbsp;</span>(password phải giống nhau)</span></p><p style="text-align:left;margin-bottom:20px;"><span style="font-size:14px;">Cấu hình xác thực:</span></p><p style="text-align:left;margin-bottom:20px;"><span style="font-size:14px;">R1 (config-if)# encapsulation PPP</span></p><p style="text-align:left;margin-bottom:20px;"><span style="font-size:14px;">R1 (config-if)# ppp authentication chap</span></p><p style="text-align:left;margin-bottom:20px;"><span style="font-size:14px;">R1 (config-if)# ppp chap hostname&nbsp;<span style="font-weight:700;">cisco</span></span></p><p style="text-align:left;margin-bottom:20px;"><span style="font-size:14px;">R1 (config-if)# ppp chap password&nbsp;<span style="font-weight:700;">123456a@</span></span></p><p style="text-align:left;margin-bottom:20px;"><span style="font-size:14px;"><span style="font-weight:700;">c. Câu lệnh kiểm tra:</span></span></p><p style="text-align:left;margin-bottom:20px;"><span style="font-size:14px;">show interfaces serial</span></p><p style="text-align:left;margin-bottom:20px;"><span style="font-size:14px;">debug ppp authentication</span></p><p style="text-align:left;margin-bottom:20px;"><span style="font-size:14px;"><span style="font-weight:700;">d. Bổ sung:</span></span></p><p style="text-align:left;margin-bottom:20px;"><span style="font-size:14px;">Compression (nén dung lượng khi truyền: chỉ dùng trên Router thật):</span></p><p style="text-align:left;margin-bottom:20px;"><span style="font-size:14px;">&nbsp; &nbsp; &nbsp;Router(config-if)#compress [predictor | stac]</span></p><p style="text-align:left;margin-bottom:20px;"><span style="font-size:14px;">Link Quality Monitoring (giám sát và giới hạn băng thông truyền):</span></p><p style="text-align:left;margin-bottom:20px;"><span style="font-size:14px;">&nbsp; &nbsp; &nbsp;Router(config-if)#ppp quality percentage</span></p><p><span style="color:inherit;font-size:14px;"></span></p><p style="text-align:left;margin-bottom:20px;"><span style="font-weight:700;">II. Thực hành</span></p><p style="text-align:left;margin-bottom:20px;"><span style="font-weight:700;">1.&nbsp;</span><span style="font-size:14px;color:inherit;text-align:center;font-weight:bold;">Cấu hình PPP CHAP</span></p><p style="text-align:left;margin-bottom:20px;"><span style="font-weight:700;">a. Yêu cầu chuẩn bị</span></p><p style="text-align:left;margin-bottom:20px;">2 Router Cisco 2691</p><p style="text-align:left;margin-bottom:20px;">Dây cáp</p><p style="text-align:left;margin-bottom:20px;"><span style="font-weight:700;">b. Yêu cầu nội dung</span></p><p style="text-align:left;margin-bottom:20px;">Đấu nối thiết bị như sơ đồ</p><p style="text-align:left;margin-bottom:20px;">Cấu hình cơ bản cho Router</p><p style="text-align:left;margin-bottom:20px;">Cấu hình các Interface trên R1 và R2</p><p style="text-align:left;margin-bottom:20px;">Cấu hình PPP với xác thực CHAP</p><p style="text-align:left;margin-bottom:20px;">Kiểm tra kết nối giữa 2 Router</p><p style="text-align:center;"></p><p style="text-align:left;margin-bottom:20px;"><span style="color:inherit;"></span></p><p style="text-align:left;margin-bottom:20px;"><span style="font-weight:700;">c. Video hướng dẫn</span></p></div>
</div><div data-element-id="elm_pNCq7uX6qI2VM4-JEdO1TQ" data-element-type="video" class="zpelement zpelem-video "><style type="text/css"> [data-element-id="elm_pNCq7uX6qI2VM4-JEdO1TQ"].zpelem-video{ border-style:none; border-radius:1px; box-shadow:0px 0px 0px 0px #000000; } </style><div class="zpvideo-container zpiframe-align-center zpiframe-mobile-align- zpiframe-tablet-align-"><iframe class="zpvideo " width="560" height="315" src="//www.youtube.com/embed/58I_NHAVaDI" frameborder="0" allowfullscreen></iframe></div>
</div><div data-element-id="elm_U85Z_HflCDnTygSjG3osyQ" data-element-type="text" class="zpelement zpelem-text "><style> [data-element-id="elm_U85Z_HflCDnTygSjG3osyQ"].zpelem-text { text-transform:none; border-style:none; border-radius:1px; box-shadow:0px 0px 0px 0px #000000; } [data-element-id="elm_U85Z_HflCDnTygSjG3osyQ"].zpelem-text :is(h1,h2,h3,h4,h5,h6){ text-transform:none; } </style><div class="zptext zptext-align-left " data-editor="true"><p style="margin-bottom:20px;"><span style="font-weight:700;">2.&nbsp;</span><span style="font-size:24px;color:inherit;">&nbsp;<span style="font-size:14px;font-weight:bold;">Cấu hình PPP PAP</span></span></p><p style="margin-bottom:20px;"><span style="font-weight:700;">a. Yêu cầu chuẩn bị</span></p><p style="margin-bottom:20px;">2 Router Cisco 2621XM</p><p style="margin-bottom:20px;">Dây cáp Serial</p><p style="margin-bottom:20px;"><span style="font-weight:700;">b. Yêu cầu nội dung</span></p><p style="margin-bottom:20px;">Đấu nối thiết bị như sơ đồ</p><p style="margin-bottom:20px;">Cấu hình cơ bản cho Router</p><p style="margin-bottom:20px;">Cấu hình địa chỉ IPv4</p><p style="margin-bottom:20px;">Cấu hình PPP với xác thực PAP trên R1 và R2</p><p style="margin-bottom:20px;">Cấu hình Default Route trên R2</p><p style="margin-bottom:20px;">Kiểm tra kết nối giữa 2 Router</p><p><span style="color:inherit;"></span></p><p style="margin-bottom:20px;"><span><span style="font-weight:700;">c. Video hướng dẫn</span></span></p></div>
</div><div data-element-id="elm_V5ClHMDPoIjhET8LKYu51A" data-element-type="video" class="zpelement zpelem-video "><style type="text/css"> [data-element-id="elm_V5ClHMDPoIjhET8LKYu51A"].zpelem-video{ border-style:none; border-radius:1px; box-shadow:0px 0px 0px 0px #000000; } </style><div class="zpvideo-container zpiframe-align-center zpiframe-mobile-align- zpiframe-tablet-align-"><iframe class="zpvideo " width="560" height="315" src="//www.youtube.com/embed/EfpJbppVPQU" frameborder="0" allowfullscreen></iframe></div>
</div><div data-element-id="elm_fx6Ne_p_HxFCv0h8Ax5SuA" data-element-type="text" class="zpelement zpelem-text "><style> [data-element-id="elm_fx6Ne_p_HxFCv0h8Ax5SuA"].zpelem-text { text-transform:none; border-style:none; border-radius:1px; box-shadow:0px 0px 0px 0px #000000; } [data-element-id="elm_fx6Ne_p_HxFCv0h8Ax5SuA"].zpelem-text :is(h1,h2,h3,h4,h5,h6){ text-transform:none; } </style><div class="zptext zptext-align-left " data-editor="true"><p style="margin-bottom:20px;"><span style="font-weight:700;">3.&nbsp;</span><span style="font-size:14px;color:inherit;font-weight:bold;">Cấu hình PPPoE</span></p><p style="margin-bottom:20px;"><span style="font-weight:700;">a. Yêu cầu chuẩn bị</span></p><p style="margin-bottom:20px;">2 Router Cisco 2961</p><p style="margin-bottom:20px;">2 Cisco Catalyst Switch 2960</p><p style="margin-bottom:20px;">Dây cáp Serial</p><p style="margin-bottom:20px;"><span style="font-weight:700;">b. Yêu cầu nội dung</span></p><p style="margin-bottom:20px;">Đấu nối thiết bị như sơ đồ</p><p style="margin-bottom:20px;">Cấu hình cơ bản cho Router</p><p style="margin-bottom:20px;">Cấu hình địa chỉ IPv4</p><p style="margin-bottom:20px;">Cấu hình PPPoe lần lượt trên Router ISP và R1</p><p style="margin-bottom:20px;">Kiểm tra kết nối giữa 2 Router</p><p><span style="color:inherit;"></span></p><p style="margin-bottom:20px;"><span style="font-weight:700;">c. Video hướng dẫn</span></p></div>
</div><div data-element-id="elm_jLiuM7Ope9RMyK_nqNGvnQ" data-element-type="video" class="zpelement zpelem-video "><style type="text/css"> [data-element-id="elm_jLiuM7Ope9RMyK_nqNGvnQ"].zpelem-video{ border-style:none; border-radius:1px; box-shadow:0px 0px 0px 0px #000000; } </style><div class="zpvideo-container zpiframe-align-center zpiframe-mobile-align- zpiframe-tablet-align-"><iframe class="zpvideo " width="560" height="315" src="//www.youtube.com/embed/TM4mkCuX1Wc" frameborder="0" allowfullscreen></iframe></div>
</div><div data-element-id="elm_jZhfQ99MiVLCp3WvER2EPg" data-element-type="text" class="zpelement zpelem-text "><style> [data-element-id="elm_jZhfQ99MiVLCp3WvER2EPg"].zpelem-text { text-transform:none; border-style:none; border-radius:1px; box-shadow:0px 0px 0px 0px #000000; } [data-element-id="elm_jZhfQ99MiVLCp3WvER2EPg"].zpelem-text :is(h1,h2,h3,h4,h5,h6){ text-transform:none; } </style><div class="zptext zptext-align-left " data-editor="true"><p><span><br></span></p><p><span>-----&amp;-----&amp;-----</span><br></p><p><span style="font-weight:bold;">Để quay về danh sách các bài phần Network các bạn chọn link sau</span></p><p><span style="color:inherit;"></span></p><p><a href="https://www.quantrimangdn.com/blogs/post/tong-hop-cac-bai-phan-network" style="color:rgb(74, 43, 212);">https://www.quantrimangdn.com/blogs/post/tong-hop-cac-bai-phan-network</a></p></div>
</div></div></div></div></div></div> ]]></content:encoded><pubDate>Fri, 03 May 2019 01:56:58 +0700</pubDate></item></channel></rss>