<?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/tạo-group/feed" rel="self" type="application/rss+xml"/><title>Đại học Không Giấy - Blog #Tạo Group</title><description>Đại học Không Giấy - Blog #Tạo Group</description><link>https://www.daihockhonggiay.com/blogs/tag/tạo-group</link><lastBuildDate>Mon, 15 Sep 2025 00:49:35 -0700</lastBuildDate><generator>http://zoho.com/sites/</generator><item><title><![CDATA[Giới thiệu về ELK Stack]]></title><link>https://www.daihockhonggiay.com/blogs/post/gioi-thieu-ve-elk-stack</link><description><![CDATA[<img align="left" hspace="5" src="https://www.daihockhonggiay.com/ELK/7.jpg"/>ELK là viết tắt của tập hợp 3 phần mềm cốt lõi đi kèm với nhau, phục vụ cho công việc giám sát hệ thống. Ba phần mềm này lần lượt là Elasticsearch, Logstash và Kibana. ELK được phát triển từ đầu những năm 2000 và cho đến nay đã hơn 250 triệu lượt tải xuống và sử dụng.]]></description><content:encoded><![CDATA[<div class="zpcontent-container blogpost-container "><div data-element-id="elm_UJalNeL8TOGsiL2_4dlOsA" data-element-type="section" class="zpsection "><style type="text/css"></style><div class="zpcontainer-fluid zpcontainer"><div data-element-id="elm_6QVmvkeQQ36xm5ZhFBPM1g" 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_i6AkWcx-T7-KYU0RJtEvRg" 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_UONgmLlnScGl5MDzMy_Hdg" data-element-type="text" class="zpelement zpelem-text "><style> [data-element-id="elm_UONgmLlnScGl5MDzMy_Hdg"].zpelem-text { border-style:none; } </style><div class="zptext zptext-align-center " data-editor="true"><p style="text-align:left;"><span style="font-size:14px;color:rgb(11, 35, 45);font-weight:bold;">I. Tổng quan về ELK</span></p><p style="text-align:left;text-indent:0.5in;"><span style="font-size:14px;color:rgb(11, 35, 45);">ELK là viết tắt của tập hợp 3 phần mềm cốt lõi đi kèm với nhau, phục vụ cho công việc giám sát hệ thống. Ba phần mềm này lần lượt là Elasticsearch, Logstash và Kibana. ELK được phát triển từ đầu những năm 2000 và cho đến nay đã hơn 250 triệu lượt tải xuống và sử dụng. Hiện tại phiên bản mới nhất của ELK là 6.4. Đây là bộ công cụ giám sát tập trung mã nguồn mở rất mạnh, có thể xử lý rất nhiều bài toán quản lý hệ thống mạng nên rất được các công ty, tổ chức tin dùng.</span></p><p style="text-align:left;text-indent:0.5in;"><b><span style="font-size:14px;color:rgb(11, 35, 45);">Ưu điểm phần mềm ELK stack:</span></b></p><p style="text-align:left;text-indent:0.5in;"><span style="font-size:14px;color:rgb(11, 35, 45);">- ELK stack là phần mềm mã nguồn mở, không tốn nhiều chi phí khi triển khai.</span></p><p style="text-align:left;text-indent:0.5in;"><span style="font-size:14px;color:rgb(11, 35, 45);">- ELK mới được phát triển mạnh gần đây, nên cộng đồng hỗ trợ rất đông đúc và mạnh mẽ.</span></p><p style="text-align:left;text-indent:0.5in;"><span style="font-size:14px;color:rgb(11, 35, 45);">- Thu thập được log từ rất nhiều nguồn khác nhau: log hệ thống, log ứng dụng, log thiết bị mạng, log snmp, log từ các hệ thống API (Application Programming Interface)…</span></p><p style="text-align:left;text-indent:0.5in;"><span style="font-size:14px;color:rgb(11, 35, 45);">- Khả năng tương thích cao, dễ dàng tích hợp với các hệ thống khác mà không gặp khó khăn.</span></p><p style="text-align:left;text-indent:0.5in;"><span style="font-size:14px;color:rgb(11, 35, 45);">- Giao diện Kibana trực quan, sinh động.</span></p><p style="text-align:left;text-indent:0.5in;"><span style="font-size:14px;color:rgb(11, 35, 45);">- Phương tiện cảnh báo đa dạng, tích hợp với email, sms, slack, các ứng dụng OTP (One Time Password) như Telegram, Whatsapp,...</span></p><p style="text-align:left;text-indent:0.5in;"><span style="font-size:14px;color:rgb(11, 35, 45);">- Hiệu năng xử lý cao, có thể chịu tải được một lượng lớn dữ liệu (log) đẩy về mà không phải quá phụ thuộc vào khả năng xử lý của phần cứng.</span></p><p style="text-align:left;text-indent:0.5in;"><span style="font-size:14px;color:rgb(11, 35, 45);">- Giải quyết được hầu hết các bài toán trong giám sát hệ thống mạng: giám sát hạ tầng, giám sát dịch vụ, giám sát an ninh, giám sát người dùng,... Đây là đặc điểm chính giúp cho ELK trong tương lai sẽ được các công ty và tổ chức sử dụng để triển khai hệ thống giám sát tập trung bên trong hệ thống mạng của họ.</span></p><p style="text-align:left;text-indent:0.5in;"><b><span style="font-size:14px;color:rgb(11, 35, 45);">Các thành phần chính trong ELK stack gồm 4 thành phần:</span></b></p><p style="text-align:left;text-indent:0.5in;"><span style="color:rgb(11, 35, 45);"><b><span style="font-size:14px;">- Elasticsearch</span></b><b><span style="font-size:14px;">:</span></b><span style="font-size:14px;"> Dùng để tìm kiếm và query log</span></span></p><p style="text-align:left;text-indent:0.5in;"><span style="color:rgb(11, 35, 45);"><b><span style="font-size:14px;">- Logstash</span></b><b><span style="font-size:14px;">:</span></b><span style="font-size:14px;"> Tiếp nhận log từ nhiều nguồn, sau đó xử lý log và ghi vào cơ sở dữ liệu.</span></span></p><p style="text-align:left;text-indent:0.5in;"><span style="color:rgb(11, 35, 45);"><b><span style="font-size:14px;">- Kibana</span></b><b><span style="font-size:14px;">:</span></b><span style="font-size:14px;"> Giao diện để quản lý, thống kê log. Đọc thông tin từ Elasticsearch.</span></span></p><p style="text-align:left;text-indent:0.5in;"><span style="color:rgb(11, 35, 45);"><b><span style="font-size:14px;">- Beats:</span></b><span style="font-size:14px;"> Một tập các công cụ chuyên dùng để thu thập dữ liệu cực mạnh.</span></span></p><p align="center"></p><p style="text-align:left;"><span style="font-size:14px;color:rgb(11, 35, 45);"><b><br></b></span></p><p style="text-align:center;"><img src="/ELK/6.jpg"><span style="font-size:14px;color:rgb(11, 35, 45);"><b><br></b></span></p><p style="text-align:center;"><span style="font-size:14px;color:rgb(11, 35, 45);"><b>Các thành phần trong ELK stack</b><b></b><b></b></span></p><p style="text-align:center;"><span style="font-size:14px;color:rgb(11, 35, 45);"><b><br></b></span></p><p style="text-align:left;text-indent:0.5in;"><b><span style="font-size:14px;color:rgb(11, 35, 45);">Về nguyên lý hoạt động của ELK stack: </span></b></p><p style="text-align:left;text-indent:0.5in;"><span style="font-size:14px;color:rgb(11, 35, 45);">- Đầu tiên, thông tin cần giám sát sẽ được đưa đến máy chủ ELK thông qua nhiều con đường, ví dụ như server gửi UDP request chứa log tới URL của Logstash, hoặc Beats thu thập các thông tin từ các bộ công cụ chuyên dụng cài trên các server và gửi lên Logstash hoặc Elasticsearch.</span></p><p style="text-align:left;text-indent:0.5in;"><span style="font-size:14px;color:rgb(11, 35, 45);">- Logstash sẽ đọc những log này, thêm những thông tin như thời gian, IP, parse dữ liệu từ log (server nào, độ nghiêm trọng, nội dung log) ra, sau đó ghi xuống database là Elasticsearch.</span></p><p style="text-align:left;text-indent:0.5in;"><span style="font-size:14px;color:rgb(11, 35, 45);">- Khi muốn xem log, người dùng vào URL của Kibana. Kibana sẽ đọc thông tin log trong Elasticsearch, hiển thị lên giao diện cho người dùng query và xử lý. Kibana hiển thị thông tin từ log cho người dùng.</span></p><p style="text-align:left;text-indent:0.5in;"><span style="font-size:14px;color:rgb(11, 35, 45);"><br></span></p><p align="center"><b><span style="font-size:14px;color:rgb(11, 35, 45);"></span></b></p><h3 align="center" style="text-align:center;"><img src="/ELK/7.jpg" style="color:rgb(0, 0, 0);font-size:14px;"><span style="color:rgb(11, 35, 45);"><b><span style="font-size:14px;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;</span></b></span></h3><h3 align="center" style="text-align:center;"><span style="color:rgb(11, 35, 45);"><b><span style="font-size:14px;">Cấu trúc của ELK</span></b><b></b></span></h3><div><span style="color:rgb(11, 35, 45);"><b><span style="font-size:14px;"><br></span></b></span></div><p style="text-align:left;text-indent:0.5in;"><span style="font-size:14px;color:rgb(11, 35, 45);">Sau đây, luận văn sẽ tìm hiểu chi tiết về từng thành phần trong bộ công cụ ELK stack để lý giải về khả năng của bộ công cụ giám sát tập trung mã nguồn mở ELK stack.</span></p><p style="text-align:left;text-indent:0.5in;"><b><u><span style="font-size:14px;color:rgb(11, 35, 45);">Elasticsearch</span></u></b></p><p style="text-align:left;"><span style="color:rgb(11, 35, 45);"><i><span style="font-size:14px;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;</span></i><span style="font-size:14px;">Đầu tiên cần hiểu ElasticSearch là một công cụ tìm kiếm cấp doanh nghiệp (enterprise-level search engine). Mục tiêu của nó là tạo ra một công cụ, nền tảng hay kỹ thuật tìm kiếm và phân tích trong thời gian thực (ý nói ở đây là nhanh chóng và chính xác), cũng như cách để nó có thể áp dụng hay triển khai một cách dễ dàng vào nhiều nguồn dữ liệu (data sources) khác nhau. Nguồn dữ liệu nói ở trên trên bao gồm các cơ sở dữ liệu nổi tiếng như MS SQL, PostgreSQL, MySQL, ... </span></span></p><p align="center"></p><h3 align="center" style="text-align:center;"><span style="color:rgb(11, 35, 45);"><b><span style="font-size:14px;"><br></span></b></span></h3><h3 align="center" style="text-align:center;"><img src="/ELK/8.jpg"><span style="color:rgb(11, 35, 45);"><b><span style="font-size:14px;"><br></span></b></span></h3><h3 align="center" style="text-align:center;"><span style="color:rgb(11, 35, 45);"><b><span style="font-size:14px;">Công cụ Elasticsearch</span></b><b></b></span></h3><div><span style="color:rgb(11, 35, 45);"><b><span style="font-size:14px;"><br></span></b></span></div><p style="text-align:left;text-indent:0.5in;"><span style="font-size:14px;color:rgb(11, 35, 45);">Một số đặc điểm về ElasticSearch:</span></p><p style="text-align:left;text-indent:0.5in;"><span style="font-size:14px;color:rgb(11, 35, 45);">- Elasticsearch là một search engine.</span></p><p style="text-align:left;text-indent:0.5in;"><span style="font-size:14px;color:rgb(11, 35, 45);">- Elasticsearch được xây dựng để hoạt động như một server cloud</span></p><p style="text-align:left;text-indent:0.5in;"><span style="font-size:14px;color:rgb(11, 35, 45);">- Phát triển bằng ngôn ngữ Java.</span></p><p style="text-align:left;text-indent:0.5in;"><span style="font-size:14px;color:rgb(11, 35, 45);">- Là phần mềm open-source được phát hành theo giất phép của Apache License.</span></p><p style="text-align:left;text-indent:0.5in;"><span style="font-size:14px;color:rgb(11, 35, 45);">- Elasticsearch có thể tích hợp được với tất cả các ứng dụng sử dụng các loại ngôn ngữ: Java, JavaScript, Groovy, .NET, PHP, Perl, Python, Ruby</span></p><p style="text-align:left;text-indent:0.5in;"><span style="font-size:14px;color:rgb(11, 35, 45);">Cơ chế hoạt động của ElasticSearch:</span></p><p style="text-align:left;text-indent:0.5in;"><span style="font-size:14px;color:rgb(11, 35, 45);">- Sở dĩ Elasticsearch được gọi là &quot;search &amp; analyze in real time&quot; là vì nó có khả năng trả về kết quả tìm kiếm một cách nhanh chóng và chính xác trong một nguồn dữ liệu lớn (big data source).</span></p><p style="text-align:left;text-indent:0.5in;"><span style="font-size:14px;color:rgb(11, 35, 45);">- Elasticsearch không chỉ tìm kiếm được các nguồn cơ sở dữ liệu nổi tiếng như MySQL, MS SQL, PostgreSQL, mà nó có thể là văn bản (text), pdf, doc.</span></p><p style="text-align:left;"><span style="font-size:14px;color:rgb(11, 35, 45);">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Theo như cách thông thường tìm kiếm trong cơ sở dữ liệu database đều biết thì có hai cách là:</span></p><p style="text-align:left;"><span style="font-size:14px;color:rgb(11, 35, 45);">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; - Cách 1: Lật từng trang để tìm kiếm (No index).</span></p><p style="text-align:left;"><span style="font-size:14px;color:rgb(11, 35, 45);">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; - Cách 2: Lật tới phần mục lục để tìm kiếm.</span></p><p style="text-align:left;"><span style="font-size:14px;color:rgb(11, 35, 45);">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Về cơ bản thì ElasticSearch cũng áp dụng giải pháp giống Index. Tuy nhiên về mặt cơ chế xử lý và tìm kiếm thì có sự khác biệt, Index trong ElasticSearch được gọi là Inverted Index.kỹ thuật thay vì index theo từng đơn vị row (document) giống như mysql thì chúng ta sẽ biến thành Index theo đơn vị term. Cụ thể hơn, Inverted Index là một cấu trúc dữ liệu, nhằm mục đích map giữa term và các document chứa term đó, giúp gia tăng khả năng tìm kiếm.</span></p><p style="text-align:left;"><span style="font-size:14px;color:rgb(11, 35, 45);">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<b><u>Logstash</u></b></span></p><p style="text-align:left;"><span style="color:rgb(11, 35, 45);"><b><span style="font-size:14px;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;</span></b><span style="font-size:14px;">Logstash là một công cụ thu thập dữ liệu mã nguồn mở với khả năng pipelining thời gian thực. Logstash có thể tự động thu thập dữ liệu từ nhiều nguồn khác nhau và chuẩn hóa dữ liệu đó phụ thuộc vào đích đến của dữ liệu. <b><u></u></b></span></span></p><p style="text-align:left;"><span style="color:rgb(11, 35, 45);"><b><span style="font-size:14px;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;</span></b><span style="font-size:14px;">Ban đầu logstash chỉ đóng vai trò là một bộ thu thập log, nhưng khả năng của logstash hiện nay đã vượt qua cả vai trò đó. Bất kỳ một dạng sự kiện nào cũng đều có thể được logstash thu thập thông qua các plugins input và output, cùng với những code đã được đơn giản hóa giúp gia tăng khả năng nhập, xử lý và khai thác hiệu quả nhiều loại dữ liệu khác nhau.<b><u></u></b></span></span></p><p align="center"></p><p style="text-align:left;"><span style="font-size:14px;color:rgb(11, 35, 45);"><br></span></p><p style="text-align:center;"><img src="/ELK/9.jpg"><span style="font-size:14px;color:rgb(11, 35, 45);"><br></span></p><p style="text-align:center;"><span style="font-size:14px;color:rgb(11, 35, 45);font-weight:bold;">Công cụ Logstash và nguyên lý hoạt động</span></p><p style="text-align:left;"><span style="font-size:14px;color:rgb(11, 35, 45);"><br></span></p><p style="text-align:left;"><span style="font-size:14px;color:rgb(11, 35, 45);">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Logstash có một số lượng plugin đồ sộ (hơn 200) có thể đáp ứng bất kỳ dữ liệu nào được đưa đến đầu vào. Đơn giản nhất là log, metrics. Với web, logstash có thể biến các requests HTTP thành các sự kiện để phân tích. Hay có thể làm việc với NoSQL thông qua giao diện JDBC, cung cấp các cảm biến và IoT,…</span></p><p style="text-align:left;"><span style="font-size:14px;color:rgb(11, 35, 45);">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Logstash thường sử dụng giao thức Syslog hay SNMP để có thể thu thập log. Đây là 2 giao thức chính thường được sử dụng trong các hệ thống giám sát nhằm thu thập các thông tin và đẩy dữ liệu về máy chủ giám sát.</span></p><p style="text-align:left;"><span style="font-size:14px;color:rgb(11, 35, 45);">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Syslog là một giao thức client/server. Đây là giao thức dùng để chuyển log và thông điệp đến máy nhận log. Máy nhận log thường được gọi là syslogd, syslog daemon hoặc syslog server. Syslog có thể gửi qua UDP hoặc TCP. Các dữ liệu được gửi dạng cleartext. Syslog dùng cổng 514.</span></p><p style="text-align:left;"><span style="font-size:14px;color:rgb(11, 35, 45);">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Syslog được phát triển năm 1980 bởi Eric Allman, nó là một phần của dự án Sendmail, và ban đầu chỉ được sử dụng duy nhất cho Sendmail. Nhưng syslog hiện nay trở thành giải pháp khai thác log tiêu chuẩn trên Unix-Linux cũng như trên hàng loạt các hệ điều hành khác và thường được tìm thấy trong các thiết bị mạng như switch, router. </span></p><p style="text-align:left;"><span style="font-size:14px;color:rgb(11, 35, 45);">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Syslog ban đầu sử dụng UDP, điều này đương nhiên không đảm bảo cho việc truyền tin. Tuy nhiên sau đó IETF đã ban hành RFC 3195 Reliable Delivery cho syslog. Nó giúp đảm bảo tin cậy cho syslog và RFC 6587 Transmission of Syslog Messages over TCP giúp truyền tải thông báo syslog qua TCP. Điều này có nghĩa là ngoài UDP thì giờ đây syslog cũng đã sử dụng TCP để đảm bảo an toàn cho quá trình truyền tin.</span></p><p style="text-align:left;"><span style="font-size:14px;color:rgb(11, 35, 45);">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Trong chuẩn syslog, mỗi thông báo đều được dán nhãn và được gán các mức độ nghiêm trọng khác nhau. Các loại phần mềm sau có thể sinh ra thông báo: auth , authPriv , daemon , cron , ftp , dhcp , kern , mail, syslog, user, ... Với các mức độ nghiêm trọng từ cao nhất trở xuống Emergency, Alert, Critical, Error, Warning, Notice, Info, and Debug.</span></p><p style="text-align:left;"><span style="font-size:14px;color:rgb(11, 35, 45);">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;SNMP viết tắt của Simple Network Management Protocol, là một giao thức chuyên được sử dụng trong vấn đề quản lý, giám sát hệ thống mạng. SNMP có những quy định riêng, những thành phần riêng để các thành phần trong hệ thống mạng có thể tuân theo, từ đó thu thập được các log trong hệ thống mạng để quản lý, giám sát. SNMP sử dụng UDP, chạy trên cổng 161 hoặc 162.</span></p><p style="text-align:left;"><span style="font-size:14px;color:rgb(11, 35, 45);">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Một số các chức năng của các phần mềm sử dụng giao thức SNMP gồm:</span></p><p style="text-align:left;"><span style="font-size:14px;color:rgb(11, 35, 45);">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;- Theo dõi tốc độ đường truyền, lưu lượng truyền và nhận.</span></p><p style="text-align:left;"><span style="font-size:14px;color:rgb(11, 35, 45);">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;- Lấy thông tin về phần cứng của máy chủ (RAM, Chip, Ổ cứng,…).</span></p><p style="text-align:left;"><span style="font-size:14px;color:rgb(11, 35, 45);">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;- Tự động cảnh báo (gửi mail, sms) khi có sự cố.</span></p><p style="text-align:left;"><span style="font-size:14px;color:rgb(11, 35, 45);">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;SNMP được thiết kế chạy trên nền TCP/IP và quản lý các thiết bị có nối mạng TCP/IP. Nếu thiết bị cần giám sát có nối mạng, sử dụng IP và hỗ trợ SNMP thì hoàn toàn có thể giám sát, quản lý nó từ xa thông qua SNMP. </span></p><p style="text-align:left;"><span style="font-size:14px;color:rgb(11, 35, 45);">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Đặc điểm của giao thức SNMP:</span></p><p style="text-align:left;"><span style="font-size:14px;color:rgb(11, 35, 45);">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;- Thiết kế đơn giản hóa quá trình quản lý các thành phần trong mạng. Các phần mềm sử dụng SNMP có thể được phát triển nhanh và tốn ít chi phí.</span></p><p style="text-align:left;"><span style="font-size:14px;color:rgb(11, 35, 45);">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;- Có thể mở rộng các chức năng quản lý, giám sát.</span></p><p style="text-align:left;"><span style="font-size:14px;color:rgb(11, 35, 45);">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;- Có thể thiết kế để hoạt động độc lập với các kiến trúc và cơ chế của các thiết bị hỗ trợ SNMP.</span></p><p style="text-align:left;"><span style="font-size:14px;color:rgb(11, 35, 45);">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<b><u>Kibana</u></b></span></p><p style="text-align:left;"><span style="font-size:14px;color:rgb(11, 35, 45);">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Kibana là một nền tảng phân tích và trực quan mã nguồn mở được thiết kế để làm việc với Elasticsearch. Ta sử dụng Kibana để tìm kiếm, xem và tương tác với dữ liệu được lưu trữ trong Elasticsearch. Từ đó dễ dàng thực hiện phân tích dữ liệu và trực quan hóa dữ liệu của mình thông qua biểu đồ, bảng.</span></p><p align="center"></p><p style="text-align:left;"><span style="font-size:14px;color:rgb(11, 35, 45);"><br></span></p><p style="text-align:center;"><img src="/ELK/10.jpg"><span style="font-size:14px;color:rgb(11, 35, 45);"><br></span></p><p style="text-align:center;"><span style="font-size:14px;color:rgb(11, 35, 45);font-weight:bold;">Công cụ Kibana</span></p><p style="text-align:left;"><span style="font-size:14px;color:rgb(11, 35, 45);"><br></span></p><p style="text-align:left;"><span style="font-size:14px;color:rgb(11, 35, 45);">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Kibana giúp nắm bắt nhanh chóng các dữ liệu có khối lượng lớn. Giao diện đơn giản, dựa vào trình duyệt cho phép nhanh chóng hiển thị các thay đổi khi truy vấn Elasticsearch trong thời gian thực.</span></p><p style="text-align:left;"><span style="font-size:14px;color:rgb(11, 35, 45);">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<b><u>Beats</u></b></span></p><p style="text-align:left;"><span style="font-size:14px;color:rgb(11, 35, 45);">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Beats là một tập hợp các công cụ thu thập thông tin chuyên dụng, được biết đến như là các Shipper (người vận chuyển) giúp thu thập và gửi dữ liệu từ Client tới máy chủ ELK. Ngoài ra, các beat này có thể được gửi thẳng trực tiếp lên Elasticsearch do bản thân các công cụ đã được chuẩn hóa sẵn, việc kết nối các beat đến logstash thường mang ý nghĩa bảo mật đối với các hệ thống tầm lớn khi họ muốn bảo vệ dịch vụ elasticsearch.</span></p><p style="text-align:left;"><span style="font-size:14px;color:rgb(11, 35, 45);"><br></span></p><p align="center"></p><h3 align="center" style="text-align:center;"><img src="/ELK/11.jpg"><span style="color:rgb(11, 35, 45);"><b><i><span style="font-size:14px;"><br></span></i></b></span></h3><h3 align="center" style="text-align:center;"><b style="color:rgb(11, 35, 45);"><span style="font-size:14px;">Beats và nguyên lý hoạt động</span></b><br></h3><div><span style="color:rgb(11, 35, 45);"><b><i><span style="font-size:14px;"><br></span></i></b></span></div><p style="text-align:left;"><span style="font-size:14px;color:rgb(11, 35, 45);">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Trong Beats có rất nhiều các Beat “con”, cụ thể:</span></p><p style="text-align:left;"><span style="font-size:14px;color:rgb(11, 35, 45);">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; - Filebeat: đây là công cụ chuyên dùng để thu thập log và gửi log về cho hệ thống ELK. Filebeat có một điểm mạnh mà cách thu thập thông thường không thể có được, chính là khả năng theo dõi tình trạng của ELK và điều chỉnh lượng log đẩy về. Nếu hệ thống ELK đang gặp tình trạng quá tải về khối lượng cần xử lý, Filebeat sẽ quan sát và giảm lượng log đổ về bằng cách sử dụng hàng chờ.</span></p><p style="text-align:left;"><span style="font-size:14px;color:rgb(11, 35, 45);">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; - Metricbeat: đây là công cụ chuyên dùng để thu thập hiệu năng của máy chủ. Ngoài hiệu năng phần cứng máy chủ, Metricbeat có thể khai thác thông tin các dịch vụ web (Apache, Nginx) hay của database (MySQL, MongoDB).</span></p><p style="text-align:left;"><span style="font-size:14px;color:rgb(11, 35, 45);">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; - Packetbeat: công cụ này sử dụng để giám sát lưu lượng và băng thông trên các máy chủ. Packetbeat sẽ thu thập thông tin về lưu lượng gói tin vào và ra của máy chủ, từ đó tổng kết và gửi về cho hệ thống ELK.</span></p><p style="text-align:left;"><span style="font-size:14px;color:rgb(11, 35, 45);">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; - Winlogbeat: khác với các hệ điều hành mã nguồn mở Linux, Windows có một cấu trúc hoàn toàn khác, và khó can thiệp vào sâu trong hệ thống để thu thập thông tin. Winlogbeat ra đời nhằm thu thập những sự kiện xảy ra bên trong hệ điều hành Windows.</span></p><p style="text-align:left;"><span style="font-size:14px;color:rgb(11, 35, 45);">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; - Auditbeat: Winlogbeat dành cho hệ điều hành Windows, thì Auditbeat được dành riêng cho hệ điều hành linux. Auditbeat giúp quản lý các folder, các tập tin hệ thống trong hệ điều hành Linux.&nbsp; </span></p><p style="text-align:left;"><span style="font-size:14px;color:rgb(11, 35, 45);">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; - Heartbeat: công vụ Heartbeat được sử dụng nhằm giúp cho hệ thống giám sát có thể biết được trạng thái dịch vụ đó có còn hoạt động hay không.</span></p><p align="center"></p><p><span style="font-size:14px;color:rgb(11, 35, 45);"></span></p><h3 align="center"><div style="text-align:left;"></div></h3><h3 align="center"><div style="text-align:left;"></div></h3><h3 align="center"><div style="text-align:left;"></div></h3><h3 align="center"><div style="text-align:left;"><b><i><span style="font-size:14px;color:rgb(11, 35, 45);"><br></span></i></b></div><div><img src="/ELK/12.jpg"><b><i><span style="font-size:14px;color:rgb(11, 35, 45);"><br></span></i></b></div><div><b><i><span style="font-size:14px;color:rgb(11, 35, 45);">Beats Family</span></i></b></div><div style="text-align:left;"><b><i><span style="font-size:14px;color:rgb(11, 35, 45);"><br></span></i></b></div><p style="text-align:left;"><b><span style="font-size:14px;color:rgb(11, 35, 45);">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;<u>Tổng kết</u></span></b></p><span style="font-size:14px;"><p style="color:rgb(11, 35, 45);text-align:left;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Sử dụng các Beats, Logstash – thông qua giao thức Syslog và SNMP, để thu thập nhiều loại thông tin, Elasticsearch giúp việc tìm kiếm trở nên hiệu quả hơn cùng Kibana với khả năng phân tích mạnh mẽ và biểu diễn trực quan, ELK stack là một công cụ tuyệt vời trong giám sát hệ thống mạng nói chung và giám sát tập trung nói riêng.</p><p style="color:rgb(11, 35, 45);text-align:left;">&nbsp;</p><p style="color:rgb(11, 35, 45);text-align:left;"><span style="font-weight:bold;">II. Cài đăt ELK</span></p><p style="text-align:left;"><span style="color:rgb(0, 0, 0);font-weight:bold;">1. Yêu cầu chuẩn bị</span><br></p><p style="text-align:left;"><span style="color:rgb(0, 0, 0);"><span>Các file RPM của ELK</span><br></span></p><p style="text-align:left;"><span style="color:rgb(0, 0, 0);">&nbsp; &nbsp; &nbsp; &nbsp;<a href="https://sitebuilder-688732336.zohositescontent.com/blogs/post/elasticsearch-6.1.2.rpm">elasticsearch-6.1.2.rpm</a></span></p><p style="text-align:left;"><span style="color:rgb(0, 0, 0);">&nbsp; &nbsp; &nbsp; &nbsp;<span style="text-align:center;">kibana-6.1.2-x86_64.rpm</span></span></p><p style="text-align:left;"><span><span style="text-align:center;color:rgb(0, 0, 0);">&nbsp; &nbsp; &nbsp; &nbsp;<a href="https://sitebuilder-688732336.zohositescontent.com/blogs/post/logstash-6.1.2.rpm">logstash-6.1.2.rpm</a></span></span></p><p style="text-align:left;"><span style="color:rgb(0, 0, 0);">&nbsp; &nbsp; &nbsp; &nbsp;Link tải về:&nbsp;</span><a href="https://drive.google.com/open?id=1wzaQb9QDH02fG7cGdKqtR-b9LDopFeK7" style="color:rgb(48, 4, 234);">https://drive.google.com/open?id=1wzaQb9QDH02fG7cGdKqtR-b9LDopFeK7</a></p><p style="text-align:left;"><span style="text-align:center;color:rgb(0, 0, 0);">Phần mềm VMware Workstation đã cài HĐH CentOS-7</span></p><p style="text-align:left;"><span style="text-align:center;color:rgb(0, 0, 0);">Phần mềm SecureCRT</span></p><p style="text-align:left;"><span style="text-align:center;color:rgb(0, 0, 0);">Phần mềm WinSCP</span></p><p style="text-align:left;"><span style="font-weight:bold;color:rgb(0, 0, 0);">2. Nội dung triển khai</span></p><p style="text-align:left;"><span style="color:rgb(0, 0, 0);"><span><span style="text-indent:48px;">Cài đặt Java hỗ trợ ELK</span></span><br></span></p><p style="text-align:left;"><span><span style="text-indent:48px;color:rgb(0, 0, 0);">Cấu hình Elasticsearch<br></span></span></p><p style="text-align:left;"><span><span style="text-indent:48px;color:rgb(0, 0, 0);">Cấu hình Kibana<br></span></span></p><p style="text-align:left;"><span><span style="text-indent:48px;color:rgb(0, 0, 0);">Chỉnh sửa file cấu hình nginx<br></span></span></p><p style="text-align:left;"><span><span style="text-indent:48px;color:rgb(0, 0, 0);">Tạo file mới, ghi nội dung của kibana<br></span></span></p><p style="text-align:left;"><span style="font-size:24px;"><span style="font-size:14px;color:rgb(0, 0, 0);"></span></span></p><p style="text-align:left;"><span><span style="text-indent:48px;color:rgb(0, 0, 0);">Vào ELK thông qua giao diện Kibana</span></span></p><p style="color:rgb(11, 35, 45);text-align:left;"><span style="font-weight:bold;">3. Các bước Step</span></p><p style="color:rgb(11, 35, 45);text-align:left;text-indent:0.5in;"><span>Phần mềm ELK được cài đặt trên HĐH máy chủ Linux: CentOS-7 (64-bit). Các bước cài đặt HĐH CentOS-7 được triển khai bình thường.</span></p><p style="color:rgb(11, 35, 45);text-align:left;text-indent:0.5in;"><span style="font-weight:bold;">Cài đặt hostname</span></p><p style="color:rgb(11, 35, 45);text-align:left;text-indent:0.5in;"><span># vi /etc/hostname</span></p><p style="color:rgb(11, 35, 45);text-align:left;text-indent:0.5in;"><span>Đổi hostname thành elk.dnu.vn, cần <i>reboot </i>để server nhận hostname mới</span></p><p style="color:rgb(11, 35, 45);text-align:left;text-indent:0.5in;"><span style="font-weight:bold;">Cài đặt hosts</span></p><p style="color:rgb(11, 35, 45);text-align:left;text-indent:0.5in;"><span># vi /etc/hosts</span></p><p style="color:rgb(11, 35, 45);text-align:left;text-indent:0.5in;"><span>Thêm vào như sau</span></p><p style="color:rgb(11, 35, 45);text-align:left;text-indent:0.5in;"><span>66.0.0.66&nbsp; elk.dnu.vn</span></p><p style="color:rgb(11, 35, 45);text-align:left;text-indent:0.5in;"><span style="font-weight:bold;">Chỉnh sửa IP, Subnet, Gateway</span></p><p style="color:rgb(11, 35, 45);text-align:left;text-indent:0.5in;"><span># vi /etc/sysconfig/network-scripts/ifccfg-ens33</span></p><p style="color:rgb(11, 35, 45);text-align:left;text-indent:0.5in;"><span>IPADDR=”66.0.0.66”</span></p><p style="color:rgb(11, 35, 45);text-align:left;text-indent:0.5in;"><span>GATEWAY=”66.0.0.1”</span></p><p style="color:rgb(11, 35, 45);text-align:left;text-indent:0.5in;"><span>DNS1=”8.8.8.8”</span></p><p style="color:rgb(11, 35, 45);text-align:left;text-indent:0.5in;"><span style="font-weight:bold;">Sau đó khởi động lại dịch vụ mạng</span></p><p style="color:rgb(11, 35, 45);text-align:left;text-indent:0.5in;"><span># systemctl restart network</span></p><p style="color:rgb(11, 35, 45);text-align:left;text-indent:0.5in;"><span>Cần thiết có thể ping 8.8.8.8 để kiểm tra kết nối mạng</span></p><p style="color:rgb(11, 35, 45);text-align:left;text-indent:0.5in;"><span style="font-weight:bold;">Cập nhật hệ điều hành máy chủ</span></p><p style="color:rgb(11, 35, 45);text-align:left;text-indent:0.5in;"><span># yum update –y</span></p><p style="color:rgb(11, 35, 45);text-align:left;text-indent:0.5in;"><span style="font-weight:bold;">Tắt SELinux</span></p><p style="color:rgb(11, 35, 45);text-align:left;text-indent:0.5in;"><span># vi /etc/sysconfig/selinux</span></p><p style="color:rgb(11, 35, 45);text-align:left;text-indent:0.5in;"><span>Thay dòng “SELINUX=enforcing” thành “SELINUX=disabled”</span></p><p style="color:rgb(11, 35, 45);text-align:left;text-indent:0.5in;"><span style="font-weight:bold;">Firewall: </span></p><p style="color:rgb(11, 35, 45);text-align:left;text-indent:0.5in;"><span># systemctl stop firewalld</span></p><p style="color:rgb(11, 35, 45);text-align:left;text-indent:0.5in;"><span># systemctl disable firewalld</span></p><p style="color:rgb(11, 35, 45);text-align:left;text-indent:0.5in;"><span style="font-weight:bold;">Cài đặt Java hỗ trợ ELK</span></p><p style="color:rgb(11, 35, 45);text-align:left;text-indent:0.5in;"><span># </span><span>yum install java-1.8.0-openjdk.x86_64 –y</span></p><p style="color:rgb(11, 35, 45);text-align:left;text-indent:0.5in;"><span style="font-weight:bold;">Giờ ta sử dụng WinSCP, đưa 3 file ELK đã tải vào trong thư mục /opt</span></p><p style="color:rgb(11, 35, 45);text-align:left;text-indent:0.5in;"><span style="font-weight:bold;">Quay lại màn hình làm việc CentOS để cài đặt ELK</span></p><p style="color:rgb(11, 35, 45);text-align:left;text-indent:0.5in;"><span style="font-weight:bold;">Ta vào trong thư mục /opt nơi vừa để 3 file ta tải và cài đặt ELK</span></p><p style="color:rgb(11, 35, 45);text-align:left;text-indent:0.5in;"><span># cd /opt</span></p><p style="color:rgb(11, 35, 45);text-align:left;text-indent:0.5in;"><span># yum localinstall elasticsearch-6.1.2.rpm kibana-6.1.2-x86_64.rpm logstash-6.1.2.rpm</span></p><p style="color:rgb(11, 35, 45);text-align:left;text-indent:0.5in;"><span>Hệ điều hành sẽ tự động cài ELK.</span></p><p style="color:rgb(11, 35, 45);text-align:left;text-indent:0.5in;"><span style="font-weight:bold;">Cấu hình Elasticsearch</span></p><p style="color:rgb(11, 35, 45);text-align:left;text-indent:0.5in;"><span># vi /etc/elasticsearch/elasticsearch.yml</span></p><p style="color:rgb(11, 35, 45);text-align:left;text-indent:0.5in;"><span>Bỏ dấu # ở trước 2 dòng: ( ấn I để vào insert )</span></p><p style="color:rgb(11, 35, 45);text-align:left;text-indent:0.5in;"><span>Network.host: 66.0.0.66</span></p><p style="color:rgb(11, 35, 45);text-align:left;text-indent:0.5in;"><span>http.port: 9200</span></p><p style="color:rgb(11, 35, 45);text-align:left;text-indent:0.5in;"><span>Sau đó save lại ( :x ) rồi <span style="font-weight:bold;">khởi động dịch vụ</span></span></p><p style="color:rgb(11, 35, 45);text-align:left;text-indent:0.5in;"><span># systemctl start elasticsearch</span></p><p style="color:rgb(11, 35, 45);text-align:left;text-indent:0.5in;"><span># systemctl enable elasticsearch</span></p><p style="color:rgb(11, 35, 45);text-align:left;text-indent:0.5in;"><span style="font-weight:bold;">Cấu hình Kibana</span></p><p style="color:rgb(11, 35, 45);text-align:left;text-indent:0.5in;"><span># vi /etc/kibana/kibana.yml</span></p><p style="color:rgb(11, 35, 45);text-align:left;text-indent:0.5in;"><span>Đổi thành: </span></p><p style="color:rgb(11, 35, 45);text-align:left;text-indent:0.5in;"><span>server.host: “66.0.0.66”</span></p><p style="color:rgb(11, 35, 45);text-align:left;text-indent:0.5in;"><span>elasticsearch.url: “66.0.0.66:9200”</span></p><p style="color:rgb(11, 35, 45);text-align:left;text-indent:0.5in;"><span>( Lưu ý trước server.host, server.port và elasticsearch.url không có dấu # )</span></p><p style="color:rgb(11, 35, 45);text-align:left;text-indent:0.5in;"><span style="font-weight:bold;">Khởi động dịch vụ</span></p><p style="color:rgb(11, 35, 45);text-align:left;text-indent:0.5in;"><span># systemctl start kibana</span></p><p style="color:rgb(11, 35, 45);text-align:left;text-indent:0.5in;"><span># systemctl enable kibana</span></p><p style="color:rgb(11, 35, 45);text-align:left;text-indent:0.5in;"><span><span style="font-weight:bold;">Cài đặt Nginx</span> ( việc cài đặt nginx có thể có hoặc không có, tùy vào mục đích )</span></p><p style="color:rgb(11, 35, 45);text-align:left;text-indent:0.5in;"><span># yum -y install epel-release</span></p><p style="color:rgb(11, 35, 45);text-align:left;text-indent:0.5in;"><span># yum -y install nginx </span></p><p style="color:rgb(11, 35, 45);text-align:left;text-indent:0.5in;"><span style="font-weight:bold;">Chỉnh sửa file cấu hình nginx</span></p><p style="color:rgb(11, 35, 45);text-align:left;text-indent:0.5in;"><span># vi /etc/nginx/nginx.conf</span></p><p style="color:rgb(11, 35, 45);text-align:left;text-indent:0.5in;"><span style="font-weight:bold;">Tìm và xóa đoạn server { } – xóa đến khi đoạn cuối file chỉ còn như sau:</span></p><p style="color:rgb(11, 35, 45);text-align:left;text-indent:0.5in;"><span>include /etc/nginx/conf.d/*.conf;</span></p><p style="color:rgb(11, 35, 45);text-align:left;text-indent:0.5in;"><span>}</span></p><p style="color:rgb(11, 35, 45);text-align:left;text-indent:0.5in;"><span style="font-weight:bold;">Sau đó ta tạo file mới, ghi nội dung của kibana:</span></p><p style="color:rgb(11, 35, 45);text-align:left;text-indent:0.5in;"><span># vi /etc/nginx/conf.d/kibana.conf</span></p><p style="color:rgb(11, 35, 45);text-align:left;text-indent:0.5in;"><span>server {</span></p><p style="color:rgb(11, 35, 45);text-align:left;text-indent:0.5in;"><span>listen 80;</span></p><p style="color:rgb(11, 35, 45);text-align:left;text-indent:0.5in;"><span style="text-indent:0.5in;">server_name dnu.vn;</span></p><p style="color:rgb(11, 35, 45);text-align:left;"><span>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; auth_basic &quot;Restricted Access&quot;;</span></p><p style="color:rgb(11, 35, 45);text-align:left;"><span style="text-indent:0.5in;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; location / {</span></p><p style="color:rgb(11, 35, 45);text-align:left;"><span>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; proxy_pass http://localhost:5601;</span></p><p style="color:rgb(11, 35, 45);text-align:left;"><span>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; proxy_http_version 1.1;</span></p><p style="color:rgb(11, 35, 45);text-align:left;"><span style="text-indent:0.5in;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; proxy_set_header Upgrade $http_upgrade;</span></p><p style="color:rgb(11, 35, 45);text-align:left;"><span style="text-indent:48px;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; proxy_set_header Connection 'upgrade';</span></p><p style="color:rgb(11, 35, 45);text-align:left;"><span>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; proxy_set_header Host $host;</span></p><p style="color:rgb(11, 35, 45);text-align:left;"><span>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; proxy_cache_bypass $http_upgrade;&nbsp; </span></p><p style="color:rgb(11, 35, 45);text-align:left;"><span>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }</span></p><p style="color:rgb(11, 35, 45);text-align:left;"><span style="text-indent:0.5in;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }</span></p><p style="color:rgb(11, 35, 45);text-align:left;text-indent:0.5in;"><span style="font-weight:bold;">Sau đó ta khởi động dịch vụ nginx và logstash</span></p><p style="color:rgb(11, 35, 45);text-align:left;text-indent:0.5in;"><span># systemctl start nginx</span></p><p style="color:rgb(11, 35, 45);text-align:left;text-indent:0.5in;"><span># systemctl enable nginx</span></p><p style="color:rgb(11, 35, 45);text-align:left;text-indent:0.5in;"><span># systemctl start logstash</span></p><p style="color:rgb(11, 35, 45);text-align:left;text-indent:0.5in;"><span># systemctl enable logstash</span></p><p style="color:rgb(11, 35, 45);text-align:left;"><span style="color:inherit;"></span></p><p style="color:rgb(11, 35, 45);text-align:left;text-indent:0.5in;"><span><span style="font-weight:bold;">Giờ ta có thể vào ELK thông qua giao diện Kibana qua:</span></span><a href="http://%28ip%29:5601/"><span>http://(IP):5601</span></a></p><p style="color:rgb(11, 35, 45);text-align:left;"><span style="font-weight:bold;">4. Video hướng dẫn</span><br></p></span></h3></div>
</div><div data-element-id="elm_7fiuuY25p5NZectmFrL1wA" data-element-type="video" class="zpelement zpelem-video "><style type="text/css"> [data-element-id="elm_7fiuuY25p5NZectmFrL1wA"].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/MYaygdxi9J8" frameborder="0" allowfullscreen></iframe></div>
</div><div data-element-id="elm_99v5wOqajB7897KWF7uSEQ" data-element-type="text" class="zpelement zpelem-text "><style> [data-element-id="elm_99v5wOqajB7897KWF7uSEQ"].zpelem-text { text-transform:none; border-style:none; border-radius:1px; box-shadow:0px 0px 0px 0px #000000; } [data-element-id="elm_99v5wOqajB7897KWF7uSEQ"].zpelem-text :is(h1,h2,h3,h4,h5,h6){ text-transform:none; } </style><div class="zptext zptext-align-left " data-editor="true"><p><br></p><p><span style="color:inherit;">-----&amp;-----&amp;-----</span><br></p></div>
</div></div></div></div></div></div> ]]></content:encoded><pubDate>Sun, 19 May 2019 13:14:45 +0700</pubDate></item><item><title><![CDATA[Giới thiệu về giao thức EIGRP]]></title><link>https://www.daihockhonggiay.com/blogs/post/gioi-thieu-ve-giao-thuc-eigrp</link><description><![CDATA[<img align="left" hspace="5" src="https://www.daihockhonggiay.com/e.jpg"/>Bài viết này sẽ giúp các bạn có góc nhìn về giao thức EIGRP]]></description><content:encoded><![CDATA[<div class="zpcontent-container blogpost-container "><div data-element-id="elm_PcequcEERWq1I1ltF4hiMg" data-element-type="section" class="zpsection "><style type="text/css"></style><div class="zpcontainer-fluid zpcontainer"><div data-element-id="elm_ol2o4rGYTvSUPkwiYQ2bDA" 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_q_2EpBylQTWmtbvb5BkNKg" data-element-type="column" class="zpelem-col zpcol-12 zpcol-md-12 zpcol-sm-12 zpalign-self- "><style type="text/css"> [data-element-id="elm_q_2EpBylQTWmtbvb5BkNKg"].zpelem-col{ border-style:none; } </style><div data-element-id="elm_gckUXBsiQQqokhYEKB3g9Q" data-element-type="text" class="zpelement zpelem-text "><style> [data-element-id="elm_gckUXBsiQQqokhYEKB3g9Q"].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 lại giao thức Distance Vector và Link State</span></span></p><p style="text-align:left;margin-bottom:20px;"><span style="font-size:14px;">EIGRP: là giao thức độc quyền của Cisco kết hợp giữa DV và LS</span></p><p style="text-align:left;margin-bottom:20px;"><span style="font-size:14px;"><span style="font-weight:700;">2. Các đặc điểm hoạt động được cải tiến</span></span></p><p style="text-align:left;margin-bottom:20px;"><span style="font-size:14px;">Là giao thức nâng cao của Distance Vector (Advanced DV) kết hợp với Link State: có sử dụng tới 3 bảng là Neighbor, Topology, Routing. Bảng topology lưu toàn bộ thông tin đường đi, các tuyến router. Nên nó gần giống Link State.</span></p><p style="text-align:left;margin-bottom:20px;"><span style="font-size:14px;">Tính hột tụ nhanh (Rapid Convergence): do nó tổng hợp được bảng định tuyến topology</span></p><p style="text-align:left;margin-bottom:20px;"><span style="font-size:14px;">Hỗ trợ cơ chế là Classless và có 100% cơ chế chống Loop.</span></p><p style="text-align:left;margin-bottom:20px;"><span style="font-size:14px;">Rất dễ cấu hình, dễ hơn ospf</span></p><p style="text-align:left;margin-bottom:20px;"><span style="font-size:14px;">Hỗ trợ tốt hơn khả năng cập nhật bảng định tuyến (Incremental Update). Đặc điểm của Distance Vector là mỗi router sẽ gửi bảng định tuyến theo định kỳ 30s. Nhưng Router chạy EIGRP chỉ gửi bảng định tuyến cho nhau lần đầu tiên, sau đó chỉ gửi những cập nhật những sự thay đổi cho những Router cần nó mà thôi.</span></p><p style="text-align:left;margin-bottom:20px;"><span style="font-size:14px;">Khả năng cân bằng tải qua những đường không đều nhau. Trong giao thức định tuyến khi router chỉ ra được 2 đường có Metric như nhau thì Router sẽ đẩy gói tin cho cả 2 đường. Cân bằng tải chỉ diễn ra khi 2 đường có Metric như nhau, nhưng EIGRP sẽ cho phép chạy cân bằng tải khi 2 đường có Metric khác nhau theo tỉ lệ phân chia rất khôn khéo.</span></p><p style="text-align:left;margin-bottom:20px;"><span style="font-size:14px;">Thiết kế mạng linh hoạt (so sánh với OSPF). OSPF phải chia ra router nào là mạng chính theo Area. EIGRP sử dụng theo mạng Peer to Peer, chỉ cần cấu hình và cắm vào là chạy.</span></p><p style="text-align:left;margin-bottom:20px;"><span style="font-size:14px;">Sử dụng địa chỉ Multicast: RIPv2 là 224.0.0.9, OSPF: 224.0.0.5, 224.0.0.6. EIGRP: 224.0.0.10.</span></p><p style="text-align:left;margin-bottom:20px;"><span style="font-size:14px;">Hỗ trợ VLSM và mạng gián đoạn.</span></p><p style="text-align:left;margin-bottom:20px;"><span style="font-size:14px;">Có thể hỗ trợ tóm tắt bằng tay trong bất kỳ điểm nào trong mạng. Kỹ thuật tóm tắt địa chỉ là kỹ thuật gom nhiều địa chỉ mạng con thành một địa chỉ IP mạng lớn rồi gửi vào các bảng thông tin định tuyến. Nó làm giảm thiểu kích thước của bảng định tuyến. Thông thường Router nó sẽ tự động Autosammury. Có thể tiến hành tóm tắt bằng tay trên bất kỳ một Router nào (dùng tay đặt câu lệnh). OSPF phải làm trên DR hoặc BDR.</span></p><p style="text-align:left;margin-bottom:20px;"><span style="font-size:14px;">Hỗ trợ định tuyến cho đa giao thức lớp 3: Ipx, Apple talk, IP. OSPF chỉ mình IP</span></p><p style="text-align:left;margin-bottom:20px;"><span style="font-size:14px;"><span style="font-weight:700;">3. Nguyên lý hoạt động</span></span></p><p style="text-align:left;margin-bottom:20px;"><span style="font-size:14px;">Các bảng EIGRP sử dụng 3 bảng:</span></p><p style="text-align:left;margin-bottom:20px;"><span style="font-size:14px;"><span style="font-weight:700;">Neighbor table:</span>&nbsp;là liệt kê các hàng xóm kết nối trực tiếp với mình. Sau khi xây dựng xong Neighbor nó sẽ gửi thông tin sang bảng Topology để xử lý.</span></p><p style="text-align:left;margin-bottom:20px;"><span style="font-size:14px;"><span style="font-weight:700;">Topology table:</span>&nbsp;Router lưu lại các bảng Neighbor, Sau đó&nbsp; nó sẽ sử dụng một thuật toán DUAL (Diffusing Update Algorithm) để tính rồi đưa ra đường đi tốt nhất. Khi có đường đi tốt nhất nó sẽ gửi sang bảng Router table.</span></p><p style="text-align:left;margin-bottom:20px;"><span style="font-size:14px;"><span style="font-weight:700;">Router table:</span>&nbsp;làm nhiệm vụ định tuyến. Nó định tuyến rất nhanh vì đã có thông tin sẵn được Topology gửi sang.</span></p><p style="text-align:left;margin-bottom:20px;"><span style="font-size:14px;">==&gt;&nbsp;<span style="font-weight:700;">Neighbor:</span>&nbsp;Các Router sẽ định kì 5s gửi gói tin Hello / thời gian giữ gói tin hello là 15s (holdtimer). Sau 15s nó coi hàng xóm là chết. Hello và Holdtime ở 2 cổng kết nối 2 Router không cần phải giống nhau (OSPF phải giống).</span></p><ul><li style="text-align:left;"><span style="font-size:14px;">Cùng AS: là một routing domain. Khi chạy sẽ gép vào một miền để quản lý.Khi khai bảo EIGRP thì router phải chỉ ra cùng một AS thì mới trao đổi được thông tin.</span></li><li style="text-align:left;"><span style="font-size:14px;">Cùng Subnet: 2 router được đấu nối với nhau bởi địa chỉ IP 1 và 2, Sử dụng Protocol ID là 88. IP phải kết nối thông.</span></li><li style="text-align:left;"><span style="font-size:14px;">Cùng xác thực: 2 Pasword phải giống nhau. Sử dụng MD5</span></li><li style="text-align:left;"><span style="font-size:14px;">Cùng tham số K: Metric trong EIGRP là bộ tham số tính rất phức tạp. Là một hàm bao gồm các thông số:</span></li></ul><p style="text-align:left;margin-bottom:20px;"><span style="font-size:14px;">&nbsp; &nbsp; &nbsp; &nbsp; =&gt; Metric = f(BW,delay,Reliability,load). Được điều chỉnh bằng tham số K, từ K1,K2,K3,K4,K5. K ở 2 Router phải khớp nhau.</span></p><p style="text-align:left;margin-bottom:20px;"><span style="font-size:14px;">&nbsp; &nbsp; &nbsp; &nbsp; Công thức tính Metric mặc định: chỉ tính toán trên 2 tham số là: bandwidth và delay.</span></p><p style="text-align:left;margin-bottom:20px;"><span style="font-size:14px;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Metric=&quot; (K1x(107/&quot; băng thông) x 256) + (K3 x (tổng độ trễ/10) x 256). Bandwidth tính bằng Kbp, độ trễ tính bằng tổng độ trễ trên toàn tuyến đường (đơn vị là Micro giây).</span></p><p style="text-align:left;margin-bottom:20px;"><span style="font-size:14px;">&nbsp; &nbsp; &nbsp; &nbsp; Công thức tính Metric tổng hợp:</span></p><p style="text-align:center;margin-bottom:20px;"><img src="/Network/3/9.jpg" style="width:840px;height:210px;"><br></p><p style="text-align:left;margin-bottom:20px;"><span style="font-size:14px;"><u>Neighbor là thiết lập theo từng cặp:</u>&nbsp;Khi thiết lập xong thì được gọi Adjacency (hoạt động luôn). Khác với OSPF là phải bầu DR, BDR. Ở đây EIGRP sau khi thiết lập nó trao đổi luôn dữ liệu. Khi R1, R2, R3 gửi thông tin tới R4 thì nó sẽ tập hợp và xây dựng ra đường tốt nhất sau đó đưa vào bảng Topology.</span></p><p style="text-align:left;margin-bottom:20px;"><span style="font-size:14px;"><u>Router sẽ trao đổi 5 bản tin là:</u>&nbsp; Hello, Reply, Request, update, ACK</span></p><p style="text-align:left;margin-bottom:20px;"><span style="font-size:14px;"><span style="font-weight:700;">Gói tin Hello:</span>&nbsp;là đưa ra lời chào trước rồi mới thương thảo. Thiết lập mối quan hệ hàng xóm giữa các Router chạy EIGRP. Chỉ khi quan hệ này được thiết lập các rouer này mới gửi định tuyến cho nhau.</span></p><p style="text-align:left;margin-bottom:20px;"><span style="font-size:14px;"><span style="font-weight:700;">Gói Reply:</span>&nbsp;Trả lời lại để xác nhận thông tin</span></p><p style="text-align:left;margin-bottom:20px;"><span style="font-size:14px;"><span style="font-weight:700;">Gói Request:</span>&nbsp;Gửi yêu cầu cập nhật bảng Neighbor</span></p><p style="text-align:left;margin-bottom:20px;"><span style="font-size:14px;"><span style="font-weight:700;">Gói Update:</span>&nbsp;Cập nhật thông tin các bảng Neighbor</span></p><p style="text-align:left;margin-bottom:20px;"><span style="font-size:14px;"><span style="font-weight:700;">Gói ACK:</span>&nbsp;EIGRP dùng giao thức vận chuyển tin cậy (Reliable Transprot Protocol - RTP) để gửi thông điệp cập nhật. EIGRP gửi cập nhật, chờ thông tin xác nhận ACK từ mỗi router nhận. Nếu một ACK không nhận được sau 16 lần truyền lại, Router láng giềng sẽ coi như bị chết. (Acknowledgement)</span></p><p style="text-align:left;margin-bottom:20px;"><span style="font-size:14px;">==&gt;&nbsp;<span style="font-weight:700;">Topology</span></span></p><p style="text-align:center;margin-bottom:20px;"><img src="/Network/3/10.jpg" style="width:439.2px;height:239px;"><br></p><p style="text-align:center;margin-bottom:20px;"><span style="color:inherit;"></span></p><table border="1" cellspacing="0" cellpadding="0" style="margin-left:5.35pt;"><tbody><tr style="height:15px;"><td><p style="text-align:left;">Network</p></td><td><p style="text-align:left;">Next-hop</p></td><td><p style="text-align:left;">FD</p></td><td><p style="text-align:left;">AD</p></td><td><p style="text-align:left;">&nbsp;</p></td></tr><tr><td><p style="text-align:left;">A</p></td><td><p style="text-align:left;">R1</p></td><td><p style="text-align:left;">1000</p></td><td><p style="text-align:left;">900</p></td><td><p style="text-align:left;">=&gt; Successor</p></td></tr><tr><td><p style="text-align:left;">A</p></td><td><p style="text-align:left;">R2</p></td><td><p style="text-align:left;">2000</p></td><td><p style="text-align:left;">1100</p></td><td><p style="text-align:left;">&nbsp;</p></td></tr><tr><td><p style="text-align:left;">A</p></td><td><p style="text-align:left;">R3</p></td><td><p style="text-align:left;">3000</p></td><td><p style="text-align:left;">800</p></td><td><p style="text-align:left;">= &gt; Feasible Successor</p></td></tr></tbody></table><p style="text-align:left;margin-bottom:20px;"><span style="font-size:14px;">Trên một đường đi có 2 giá trị Metric đi kèm:</span></p><p style="text-align:left;margin-bottom:20px;"><span style="font-size:14px;">&nbsp; &nbsp; &nbsp;FD: Feasible Distance =&gt; tính từ đầu tới cuối chặng đường (R-R4 = 1000)</span></p><p style="text-align:left;margin-bottom:20px;"><span style="font-size:14px;">&nbsp; &nbsp; &nbsp;AD: Advertised Distance =&gt; tính từ router hàng xóm tới cuối R1-R4. Chú ý từ AD này khác với từ khoảng cách quản trị là Administrative Distance (độ tin cậy của các giao thức).</span></p><p style="text-align:left;margin-bottom:20px;"><span style="font-size:14px;">&nbsp; &nbsp; &nbsp;Một số sách thì AD này còn có tên gọi là RD-Reported Distance.</span></p><p style="text-align:left;margin-bottom:20px;"><span style="font-size:14px;">&nbsp; &nbsp; &nbsp;Bảng topology sẽ lưu tất cả các thông tin vào bảng. Bao gồm tất cả các Router đến tất cả mọi địa chỉ tron mạng.</span></p><p style="text-align:left;margin-bottom:20px;"><span style="font-size:14px;">Từ Topology này Router sẽ sử dụng thuật toán DUAL (Diffusing Update Algorithm) chọn ra một đường đi tối ưu:</span></p><p style="text-align:left;margin-bottom:20px;"><span style="font-size:14px;">&nbsp; &nbsp; &nbsp;FDmin = Successor (đường đi nhỏ nhất) =&gt; đường R1 gọi là đường Successor</span></p><p style="text-align:left;margin-bottom:20px;"><span style="font-size:14px;">&nbsp; &nbsp; &nbsp;Trong tất cả các đường còn lại: FD &gt; FDmin mà AD &lt; FDmin = Feasible Successor&nbsp; =&gt; R3</span></p><p style="text-align:left;margin-bottom:20px;"><span style="font-size:14px;">&nbsp; &nbsp; &nbsp;Đường Successor sẽ đưa vào bảng định tuyến còn Feasible Successor sẽ làm Backup.</span></p><p style="text-align:left;margin-bottom:20px;"><span style="font-size:14px;">&nbsp; &nbsp; &nbsp;Chú ý: Phải đưa ra AD &lt; FDmin thì sẽ không xẩy ra Loop trong hệ thống. Nếu không có AD ( AD &gt; FD min) thì nó sẽ hội tụ chậm hơn một chút vì nó phải&nbsp; yêu cầu Neighbor gửi gói tin ra hệ thống để lấy thông tin và cập nhật lại bảng Topology. EIGRP không bao giờ bị Loop.</span></p><p style="text-align:left;margin-bottom:20px;"><span style="font-size:14px;">&nbsp; &nbsp; &nbsp;Lệnh để xem: Show&nbsp; IP EIGRP&nbsp; Topology</span></p><p style="text-align:left;margin-bottom:20px;"><span style="font-size:14px;"><span style="font-weight:700;">4. Các lệnh cấu hình</span></span></p><p style="text-align:left;margin-bottom:20px;"><span style="font-size:14px;font-weight:bold;">a. Cấu hình cơ bản</span></p><p style="text-align:left;margin-bottom:20px;"><span style="font-size:14px;">R1(config)# Router&nbsp; eigrp&nbsp; 10&nbsp; (10 là Autonomous-System cấu trúc gần giống OSPF là Process-id. Của OSPF chỉ là phân biệt giữa Router này và router kia. Còn AS ở đây phải giống nhau trên tất cả các Router để thể hiện mạng đó. Gần giống Area-ID của OSPF )</span></p><p style="text-align:left;margin-bottom:20px;"><span style="font-size:14px;">R1(config-router)#network&nbsp; network-number</span></p><p style="text-align:left;margin-bottom:20px;"><span style="font-size:14px;">R1(config-router)#redistribute connected (quảng bá những đường Connected)</span></p><p style="text-align:left;margin-bottom:20px;"><span style="font-size:14px;">R1(config-router)#redistribute static (sẽ quảng bá cả Defaul Router và Static)</span></p><p style="text-align:left;margin-bottom:20px;"><span style="font-size:14px;">==&gt; Trường hợp 1: xét 3 mạng tổng là khác nhau (10.0.0.0, 172.16.0.0, 192.168.1.0)</span></p><p style="text-align:center;margin-bottom:20px;"><img src="/Network/3/11.jpg" style="width:643.92px;height:167px;"><br></p><p style="text-align:left;margin-bottom:20px;"><span style="font-size:14px;">==&gt; Trường hợp 2: có sử dụng VLSM thì phải sử dụng Wildcard mask</span></p><p style="text-align:center;margin-bottom:20px;"><img src="/Network/3/12.jpg" style="width:297.3px;height:138px;"><br></p><p style="text-align:left;margin-bottom:20px;"><span style="font-size:14px;">==&gt; Trường hợp 3: khi quảng bá nếu để mặc định nó sẽ tự động Auto Summary về đường mạng tổng dẫn tới có thể bị lỗi khi định tuyến.&nbsp;</span></p><p style="text-align:center;margin-bottom:20px;"><img src="/Network/3/13.jpg" style="width:608.36px;height:162px;"><br></p><p style="text-align:left;margin-bottom:20px;"><span style="font-size:14px;font-weight:bold;">b. hiệu chỉnh EIGRP</span></p><p style="text-align:left;margin-bottom:20px;"><span style="font-size:14px;">Hello/Hold-time:</span></p><p style="text-align:left;margin-bottom:20px;"><span style="font-size:14px;">Router(config-if)#ip hello-interval eigrp as-number seconds</span></p><p style="text-align:left;margin-bottom:20px;"><span style="font-size:14px;">Router(config-if)#ip hold-time eigrp as-number seconds</span></p><p style="text-align:left;margin-bottom:20px;"><span style="font-size:14px;">c. Các lệnh Show:</span></p><p style="text-align:left;margin-bottom:20px;"><span style="font-size:14px;">Show&nbsp; ip&nbsp; router&nbsp; eigrp</span></p><p style="text-align:left;margin-bottom:20px;"><span style="font-size:14px;">Show&nbsp; ip&nbsp; eigrp&nbsp; neighbor</span></p><p style="text-align:left;margin-bottom:20px;"><span style="font-size:14px;">Show&nbsp; ip&nbsp; eigrp interface</span></p><p style="text-align:left;margin-bottom:20px;"><span style="font-size:14px;">Show&nbsp; ip&nbsp; protocol</span></p><p style="text-align:left;margin-bottom:20px;"><span style="font-size:14px;">Show&nbsp; ip eigrp topology</span></p><p style="text-align:left;margin-bottom:20px;"><span style="font-size:14px;"><span style="font-weight:700;">5. Cơ chế cần bằng tải của EIGRP</span></span></p><p style="text-align:left;margin-bottom:20px;"><span style="font-size:14px;">EIGRP hỗ trợ cân bằng tải trên 2 đường là FDmin và FD (Successor, Feasible Successor)</span></p><p style="text-align:left;margin-bottom:20px;"><span style="font-size:14px;">Câu lệnh:</span></p><p style="text-align:left;margin-bottom:20px;"><span style="font-size:14px;">&nbsp; &nbsp; &nbsp;R1(config)# route&nbsp; eigrp 200</span></p><p style="text-align:left;margin-bottom:20px;"><span style="font-size:14px;">&nbsp; &nbsp; &nbsp;R1(config-router)# variance&nbsp; multiplier&nbsp; (nếu multiplier đặt là 3, đường successor&nbsp; là 20 ta sẽ có 3x20 =60. Nếu 60 &gt; FD thì nó sẽ chọn FD làm đường cân bằng tải.</span></p></div>
</div><div data-element-id="elm_uFi_2iQ4aMJ5dOwJ4bU_DA" data-element-type="text" class="zpelement zpelem-text "><style> [data-element-id="elm_uFi_2iQ4aMJ5dOwJ4bU_DA"].zpelem-text { text-transform:none; border-style:none; border-radius:1px; box-shadow:0px 0px 0px 0px #000000; } [data-element-id="elm_uFi_2iQ4aMJ5dOwJ4bU_DA"].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;">II. Thực hành</span></p><p style="margin-bottom:20px;"><span style="font-weight:700;">1.&nbsp;</span><span style="font-size:24px;color:inherit;"><span style="font-size:14px;font-weight:bold;">Cấu hình giao thức định tuyến động EIGRP</span></span></p><p style="margin-bottom:20px;"><span style="font-weight:700;">a.Yêu cầu chuẩn bị&nbsp;</span></p><p style="margin-bottom:20px;">2 Router Cisco 2621XM có lắp card Wic-2T</p><p style="margin-bottom:20px;">2 Switch 2950-24</p><p style="margin-bottom:20px;">Dây cáp Conpper,Serial DCE</p><p style="margin-bottom:20px;"><span style="font-weight:700;">b.Yêu cầu nội dung&nbsp;</span></p><p style="margin-bottom:20px;">Cấu hình cơ bản</p><p style="margin-bottom:20px;">Đặt địa chỉ cho từng Interface</p><p style="margin-bottom:20px;">Router 1 cung cấp xung clock cho Router 2, hoạt động như DCE</p><p style="margin-bottom:20px;">Router R1,R2 sử dụng EIGRP để hiển thị thông tin định tuyến</p><p style="margin-bottom:20px;"><span>Router R1,R2 có thể ping đến các địa chỉ IP trong mạng</span></p><p style="text-align:center;"></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_UgaZZvEB7GSoPeMSKg2akg" data-element-type="video" class="zpelement zpelem-video "><style type="text/css"> [data-element-id="elm_UgaZZvEB7GSoPeMSKg2akg"].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/DsZ7c1CGYdM" frameborder="0" allowfullscreen></iframe></div>
</div><div data-element-id="elm_Gs7t3J3Ql4t4NvEq21gYiQ" data-element-type="text" class="zpelement zpelem-text "><style> [data-element-id="elm_Gs7t3J3Ql4t4NvEq21gYiQ"].zpelem-text { text-transform:none; border-style:none; border-radius:1px; box-shadow:0px 0px 0px 0px #000000; } [data-element-id="elm_Gs7t3J3Ql4t4NvEq21gYiQ"].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:14px;color:inherit;font-weight:bold;">Cấu hình giao thức định tuyến động EIGRPv6</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;">3 Router Cisco 1941</p><p style="margin-bottom:20px;">3 PC</p><p style="margin-bottom:20px;">Dây cáp FastEthernet,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 Switch</p><p style="margin-bottom:20px;">Cấu hình trên các Interface</p><p style="margin-bottom:20px;">Cấu hình IPv6 trên các Interface</p><p style="margin-bottom:20px;">Cấu hình giao thức EIGRPv6 để quảng bá thông tin định tuyến</p><p style="margin-bottom:20px;"><span>Kiểm tra kết nối giữa các thiết bị trong mạng</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_xQocKpA5K6wX9hX1EFl64Q" data-element-type="video" class="zpelement zpelem-video "><style type="text/css"> [data-element-id="elm_xQocKpA5K6wX9hX1EFl64Q"].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/tXgdwdqqYOM" frameborder="0" allowfullscreen></iframe></div>
</div><div data-element-id="elm_s2zxn8Rmguvs1PVGO9aWrw" data-element-type="text" class="zpelement zpelem-text "><style> [data-element-id="elm_s2zxn8Rmguvs1PVGO9aWrw"].zpelem-text { text-transform:none; border-style:none; border-radius:1px; box-shadow:0px 0px 0px 0px #000000; } [data-element-id="elm_s2zxn8Rmguvs1PVGO9aWrw"].zpelem-text :is(h1,h2,h3,h4,h5,h6){ text-transform:none; } </style><div class="zptext zptext-align-left " data-editor="true"><p><span style="color:inherit;"></span></p><div><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 HFPR</span></p><p style="margin-bottom:20px;text-align:left;"><span style="font-weight:700;">a. Yêu cầu chuẩn bị</span></p><p style="margin-bottom:20px;text-align:left;">3 Router Cisco 1941</p><p style="margin-bottom:20px;text-align:left;">2 Cisco Catalyst Switch 2960</p><p style="margin-bottom:20px;text-align:left;">2 PC</p><p style="margin-bottom:20px;text-align:left;">Dây cáp Fast Ethernet, Serial&nbsp;</p><p style="margin-bottom:20px;text-align:left;"><span style="font-weight:700;">b. Yêu cầu nội dung</span></p><p style="margin-bottom:20px;text-align:left;">Đấu nối thiết bị như sơ đồ</p><p style="margin-bottom:20px;text-align:left;">Cấu hình cơ bản cho Router</p><p style="margin-bottom:20px;text-align:left;">Cấu hình địa chỉ IPv4</p><p style="margin-bottom:20px;text-align:left;">Cấu hình giao thức định tuyến EIGRP trên Router R1, R2, R3</p><p style="margin-bottom:20px;text-align:left;">Cấu hình Default Route trên R2</p><p style="margin-bottom:20px;text-align:left;">Redistribute Default Route và EIGRP trên R2</p><p style="margin-bottom:20px;text-align:left;">Cấu hình HSRP trên Router R1 và R3</p><p style="margin-bottom:20px;text-align:left;">Kiểm tra</p><p style="margin-bottom:20px;text-align:left;"><span style="font-weight:700;">c. Video hướng dẫn</span></p></div></div>
</div><div data-element-id="elm_n12NaM_EiPiKyplhTEimvA" data-element-type="video" class="zpelement zpelem-video "><style type="text/css"> [data-element-id="elm_n12NaM_EiPiKyplhTEimvA"].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/KEWc-obljNA" frameborder="0" allowfullscreen></iframe></div>
</div><div data-element-id="elm_5q8HxvRq4-2_X4njZ73Gpg" data-element-type="text" class="zpelement zpelem-text "><style> [data-element-id="elm_5q8HxvRq4-2_X4njZ73Gpg"].zpelem-text { text-transform:none; border-style:none; border-radius:1px; box-shadow:0px 0px 0px 0px #000000; } [data-element-id="elm_5q8HxvRq4-2_X4njZ73Gpg"].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:46:12 +0700</pubDate></item><item><title><![CDATA[Giới thiệu về giao thức NAT]]></title><link>https://www.daihockhonggiay.com/blogs/post/gioi-thieu-ve-giao-thuc-nat</link><description><![CDATA[<img align="left" hspace="5" src="https://www.daihockhonggiay.com/na.jpg"/>Bài viết này sẽ giúp các bạn có góc nhìn về giao thức NAT một cách chi tiết nhất]]></description><content:encoded><![CDATA[<div class="zpcontent-container blogpost-container "><div data-element-id="elm_0qcAOEO3QDSvalv7RQtEYg" data-element-type="section" class="zpsection "><style type="text/css"></style><div class="zpcontainer-fluid zpcontainer"><div data-element-id="elm_mxZsiFVFRAWivS9q2Y3JVw" 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_fu4GjfT9SAi3_R5rGjz60g" data-element-type="column" class="zpelem-col zpcol-12 zpcol-md-12 zpcol-sm-12 zpalign-self- "><style type="text/css"> [data-element-id="elm_fu4GjfT9SAi3_R5rGjz60g"].zpelem-col{ border-style:none; } </style><div data-element-id="elm_V9EYaVNST8-vq1EEbjM0Hg" data-element-type="text" class="zpelement zpelem-text "><style> [data-element-id="elm_V9EYaVNST8-vq1EEbjM0Hg"].zpelem-text { border-style:none; } </style><div class="zptext zptext-align-left " 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ề NAT (Network Address Translate)</span></span></p><p style="text-align:left;margin-bottom:20px;"><span style="font-size:14px;"><span style="font-weight:700;">a. Giới thiệu về NAT</span></span></p><p style="text-align:left;margin-bottom:20px;"><span style="font-size:14px;">Phải NAT ra ngoài để cho phép bên trong truy cập internet.</span></p><p style="text-align:center;margin-bottom:20px;"><img src="/Network/2/23.jpg" style="width:582.68px;height:195px;"><br></p><p style="text-align:left;margin-bottom:20px;"><span style="font-size:14px;">Không gian IP được chia làm 2 phần: Public và Private</span></p><p style="text-align:left;margin-bottom:20px;"><span style="font-size:14px;">IP Public là địa chỉ dùng cho định tuyến toàn cầu.</span></p><p style="text-align:left;margin-bottom:20px;"><span style="font-size:14px;">IP Private là IP của mạng LAN, mạng nội bộ, được sử dụng bở người quản trị thiết lập. Nó có thể giống nhau giữa các doanh nghiệp này và doanh nghiệp khác. Nó giúp hỗ trợ cho việc tránh hết IP Public.</span></p><p style="text-align:left;margin-bottom:20px;"><span style="font-size:14px;">Lớp A: 0 tới 127 =&gt; sử dụng 8 bit cho NetID</span></p><p style="text-align:left;margin-bottom:20px;"><span style="font-size:14px;">Lớp B: 128 tới 191 =&gt; sử dụng 16 bit cho NetID</span></p><p style="text-align:left;margin-bottom:20px;"><span style="font-size:14px;">Lớp C: 192 tới 223 =&gt; sử dụng 24 bit cho NetID</span></p><p style="text-align:left;margin-bottom:20px;"><span style="font-size:14px;">Khi các máy bên trong gửi ra thì nó tới được đích nhưng khi Server đích gửi về nó sẽ không biết được IP Private kia là ở đâu nên sẽ bị hủy (IP Public mới có trong bảng định tuyến của Router)</span></p><p style="text-align:left;margin-bottom:20px;"><span style="font-size:14px;">Để chuyển được từ IP Private ra IP Public ta dùng cơ chế NAT.</span></p><p style="text-align:left;margin-bottom:20px;"><span style="font-size:14px;">NAT chỉ chuyển đổi địa chỉ IP bên trong là 192.168.1.10 ra IP Public là 200.0.0.1.</span></p><p style="text-align:left;margin-bottom:20px;"><span style="font-size:14px;">NAT không chuyển đổi thêm bất kỳ thông số nào khác của gói tin.</span></p><p style="text-align:left;margin-bottom:20px;"><span style="font-size:14px;">Trong cơ chế NAT nó có một bảng được gọi là bảng NAT:</span></p><table border="1" style="text-align:center;width:354px;"><tbody><tr><td style="width:180.417px;"><span style="font-size:14px;">192.168.1.10</span></td><td style="width:166.583px;"><span style="font-size:14px;">200.0.0.1</span></td></tr><tr><td style="width:180.417px;"><span style="font-size:14px;">192.168.1.11</span></td><td style="width:166.583px;"><span style="font-size:14px;">200.0.0.1</span></td></tr></tbody></table><p style="text-align:left;margin-bottom:20px;"><span style="font-size:14px;"><span style="font-weight:700;">b. Phân loại các địa chỉ IP trên Sơ đồ</span></span></p><p style="text-align:center;margin-bottom:20px;"><img src="/Network/2/23.jpg" style="width:767.9px;height:258px;"><br></p><p style="text-align:center;margin-bottom:20px;"><span style="color:inherit;"></span></p><table border="1" cellspacing="0" cellpadding="0" style="margin-left:5.35pt;"><tbody><tr style="height:10px;"><td><p style="text-align:left;">Inside Local </p></td><td><p style="text-align:left;">Mọi địa chỉ của mình thì gọi là Inside Local</p></td></tr><tr><td><p style="text-align:left;">Inside Global</p></td><td><p style="text-align:left;">Mọi địa chỉ của mình nhưng do nhà cung cấp dịch vụ cấp cho gọi là Inside Global</p></td></tr><tr><td><p style="text-align:left;">Outside Global</p></td><td><p style="text-align:left;">Địa chỉ vừa bên ngoài và của người ta thì gọi là Outside Global</p></td></tr><tr><td><p style="text-align:left;">Local</p></td><td><p style="text-align:left;">Bên trong người dùng gọi là Local</p></td></tr><tr><td><p style="text-align:left;">Global</p></td><td><p style="text-align:left;">Nhà cung cấp dịch vụ gọi là Global</p></td></tr></tbody></table><p style="text-align:left;margin-bottom:20px;"><span style="font-size:14px;"><span style="font-weight:700;"><br></span></span></p><p style="text-align:left;margin-bottom:20px;"><span style="font-size:14px;"><span style="font-weight:700;">2. Cấu hình NAT Router: khảo sát các loại NAT (có 3 loại NAT)</span></span></p><p style="text-align:left;margin-bottom:20px;"><span style="font-size:14px;">Static NAT (NAT 1-1).</span></p><p style="text-align:left;margin-bottom:20px;"><span style="font-size:14px;">Dynamic NAT (NAT 1 dải ra 1 dải).</span></p><p style="text-align:left;margin-bottom:20px;"><span style="font-size:14px;">NAT Overloading (NAT có kèm theo Port nguồn).&nbsp;</span></p><p style="text-align:left;margin-bottom:20px;"><span style="font-size:14px;"><span style="font-weight:700;">a. NAT Static:</span>&nbsp;Cứ một máy bên trong sẽ gán cứng cho một IP Public bên ngoài tương ứng. Thường áp dụng cho NAT Server</span></p><p style="text-align:left;margin-bottom:20px;"><span style="font-size:14px;">Lệnh khởi tạo Static NAT:</span></p><p style="text-align:left;margin-bottom:20px;"><span style="font-size:14px;">R1(config)# ip nat inside source static 192.168.1.10 200.0.0.1 (IP bên trong ra bên ngoài).</span></p><p style="text-align:left;margin-bottom:20px;"><span style="font-size:14px;">Sau khi cấu hình NAT phải vào cổng F0/0 và S0/0/0 gán thì mới có giá trị.</span></p><p style="text-align:left;margin-bottom:20px;"><span style="font-size:14px;">R1(config)# int f0/0</span></p><p style="text-align:left;margin-bottom:20px;"><span style="font-size:14px;">R1(config-if)# ip nat inside</span></p><p style="text-align:left;margin-bottom:20px;"><span style="font-size:14px;">R1(config)# int s0/0/0</span></p><p style="text-align:left;margin-bottom:20px;"><span style="font-size:14px;">R1(config-if)# ip nat outside &nbsp;</span></p><p style="text-align:left;margin-bottom:20px;"><span style="font-size:14px;"><span style="font-weight:700;">b. Dynamic NAT:</span>&nbsp;thường dùng khi có nhiều địa chỉ IP bên trong NAT ra nhiều địa chỉ IP Public bên ngoài</span></p><p style="text-align:left;margin-bottom:20px;"><span style="font-size:14px;"><span style="font-weight:700;">Các bước thực hiện:</span></span></p><p style="text-align:left;margin-bottom:20px;"><span style="font-size:14px;">Khởi tạo dải bên trong</span></p><p style="text-align:left;margin-bottom:20px;"><span style="font-size:14px;">&nbsp;Khởi tạo dải bên ngoài</span></p><p style="text-align:left;margin-bottom:20px;"><span style="font-size:14px;">Map 2 dải lại với nhau</span></p><p style="text-align:left;margin-bottom:20px;"><span style="font-size:14px;"><span style="font-weight:700;">Lệnh khởi tạo:</span></span></p><p style="text-align:left;margin-bottom:20px;"><span style="font-size:14px;">R1(config)# access-list 1 permit 192.168.1.0 0.0.0.7&nbsp;</span></p><p style="text-align:left;margin-bottom:20px;"><span style="font-size:14px;">R1(config)# ip nat pool ABC 200.0.0.1 200.0.0.6 netmask 255.255.255.248</span></p><p style="text-align:left;margin-bottom:20px;"><span style="font-size:14px;">R1(config)# ip nat inside source list 1 pool ABC</span></p><p style="text-align:left;margin-bottom:20px;"><span style="font-size:14px;">Sau khi cấu hình NAT phải vào cổng F0/0 và S0/0/0 gán thì mới có giá trị.</span></p><p style="text-align:left;margin-bottom:20px;"><span style="font-size:14px;">R1(config)# int f0/0</span></p><p style="text-align:left;margin-bottom:20px;"><span style="font-size:14px;">R1(config-if)# ip nat inside</span></p><p style="text-align:left;margin-bottom:20px;"><span style="font-size:14px;">R1(config)# int s0/0/0</span></p><p style="text-align:left;margin-bottom:20px;"><span style="font-size:14px;">R1(config-if)# ip nat outside</span></p><p style="text-align:left;margin-bottom:20px;"><span style="font-size:14px;">Nhược điểm của 2 kiểu này là bao nhiêu máy bên trong thì phải có bây nhiêu địa chỉ bên ngoài. Thường dùng cho Server dịch vụ thôi.</span></p><p style="text-align:left;margin-bottom:20px;"><span style="font-size:14px;"><span style="font-weight:700;">c. NAT Overload là:</span>&nbsp;NAT port hay NAT dải</span></p><p style="text-align:left;margin-bottom:20px;"><span style="font-size:14px;">Lệnh khởi tạo:</span></p><p style="text-align:left;margin-bottom:20px;"><span style="font-size:14px;">R1(config)# access-list 1 permit 192.168.1.0 0.0.0.255</span></p><p style="text-align:left;margin-bottom:20px;"><span style="font-size:14px;">R1(config)# ip nat inside source list 1 interface s0/1/0&nbsp;<span style="font-weight:700;">overload</span>&nbsp;(interface là cổng bên ngoài internet kết nối về)</span></p><p style="text-align:left;margin-bottom:20px;"><span style="font-size:14px;">Sau khi cấu hình NAT phải vào cổng F0/0 và S0/0/0 gán thì mới có giá trị.</span></p><p style="text-align:left;margin-bottom:20px;"><span style="font-size:14px;">R1(config)# int f0/0</span></p><p style="text-align:left;margin-bottom:20px;"><span style="font-size:14px;">R1(config-if)# ip nat inside</span></p><p style="text-align:left;margin-bottom:20px;"><span style="font-size:14px;">R1(config)# int s0/0/0</span></p><p style="text-align:left;margin-bottom:20px;"><span style="font-size:14px;">R1(config-if)# ip nat outside</span></p><p style="text-align:left;margin-bottom:20px;"><span style="font-size:14px;">Chú ý: Nếu bên ngoài có nhiều địa chỉ Public thì ta sẽ khởi tạo Pool</span></p><p style="text-align:left;margin-bottom:20px;"><span style="font-size:14px;">R1(config)# ip nat pool ABC 200.0.0.1 200.0.0.6 netmask 255.255.255.248</span></p><p style="text-align:left;margin-bottom:20px;"><span style="font-size:14px;">R1(config)# ip nat inside source list 1 pool ABC overload</span></p><p style="text-align:left;margin-bottom:20px;"><span style="font-size:14px;"><span style="font-weight:700;">d. Chú ý:</span>&nbsp;để hệ thống bên trong ra ngoài được Internet ta phải dùng lệnh Default Route</span></p><p style="text-align:left;margin-bottom:20px;"><span style="font-size:14px;">R1(config)# ip route 0.0.0.0 0.0.0.0 s0/1/0</span></p><p style="text-align:left;margin-bottom:20px;"><span style="font-size:14px;"><span style="font-weight:700;">e. Câu lệnh kiểm tra:&nbsp;</span>trên Router cấu hình NAT:</span></p><p style="text-align:left;margin-bottom:20px;"><span style="font-size:14px;">R# show ip nat translations</span></p><p style="text-align:left;margin-bottom:20px;"><span style="font-size:14px;">R#clear ip nat translations *&nbsp; (* là xóa tất cả bảng NAT)</span></p><p style="text-align:left;margin-bottom:20px;"><span style="font-size:14px;">R#debug ip nat&nbsp;</span></p><p style="text-align:left;margin-bottom:20px;"><span style="font-weight:bold;"><br></span></p><p style="text-align:left;margin-bottom:20px;"><span style="font-weight:bold;">II. Thực hành</span></p><p style="margin-bottom:20px;"><span style="font-weight:700;">1. Yêu cầu chuẩn bị&nbsp;</span></p><p style="margin-bottom:20px;">2 Router cisco 2621XM</p><p style="margin-bottom:20px;">1 Switch cisco 2950-24</p><p style="margin-bottom:20px;">2 PC</p><p style="margin-bottom:20px;">Dây cáp FastEthernet,Serial</p><p style="margin-bottom:20px;"><span style="font-weight:700;">2. 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</p><p style="margin-bottom:20px;">Cấu hình trên các Interface</p><p style="margin-bottom:20px;">Cấu hình Dynamic NAT trên Router R1</p><p style="margin-bottom:20px;">Kiểm tra kết nối giữa các thiết bị trong mạng</p><p style="margin-bottom:20px;">-----&amp;-----&amp;-----</p><p style="text-align:center;"></p><p style="text-align:left;margin-bottom:20px;"><span style="color:inherit;"></span></p><p style="margin-bottom:20px;"><span style="font-weight:700;">3. Video hướng dẫn</span></p><p style="margin-bottom:20px;"><span style="color:inherit;font-size:14px;font-weight:bold;">Cấu hình NAT Static</span><span style="font-weight:700;"><br></span></p></div>
</div><div data-element-id="elm_1kSChB9kQqtKGlwscdGFzA" data-element-type="video" class="zpelement zpelem-video "><style type="text/css"> [data-element-id="elm_1kSChB9kQqtKGlwscdGFzA"].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/nMrGOlt2O4o" frameborder="0" allowfullscreen></iframe></div>
</div><div data-element-id="elm_jElQeGgJFuz5J1iPirRrhA" data-element-type="text" class="zpelement zpelem-text "><style> [data-element-id="elm_jElQeGgJFuz5J1iPirRrhA"].zpelem-text { text-transform:none; border-style:none; border-radius:1px; box-shadow:0px 0px 0px 0px #000000; } [data-element-id="elm_jElQeGgJFuz5J1iPirRrhA"].zpelem-text :is(h1,h2,h3,h4,h5,h6){ text-transform:none; } </style><div class="zptext zptext-align-left " data-editor="true"><p><span style="color:inherit;font-size:14px;font-weight:bold;">&nbsp;Cấu hình NAT Dynamic</span><br></p></div>
</div><div data-element-id="elm_WcqVZvRkJpUNdmMteWl_Kw" data-element-type="video" class="zpelement zpelem-video "><style type="text/css"> [data-element-id="elm_WcqVZvRkJpUNdmMteWl_Kw"].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/DVcrB8nMtug" frameborder="0" allowfullscreen></iframe></div>
</div><div data-element-id="elm_S3RC3kyxDTymWGkzjBOnWQ" data-element-type="text" class="zpelement zpelem-text "><style> [data-element-id="elm_S3RC3kyxDTymWGkzjBOnWQ"].zpelem-text { text-transform:none; border-style:none; border-radius:1px; box-shadow:0px 0px 0px 0px #000000; } [data-element-id="elm_S3RC3kyxDTymWGkzjBOnWQ"].zpelem-text :is(h1,h2,h3,h4,h5,h6){ text-transform:none; } </style><div class="zptext zptext-align-left " data-editor="true"><span style="font-size:14px;font-weight:bold;"><span id="editor-placeholder">Cấu hình&nbsp;</span>NAT Overload</span></div>
</div><div data-element-id="elm_178VtfpV2xDpDiambhRz_A" data-element-type="video" class="zpelement zpelem-video "><style type="text/css"> [data-element-id="elm_178VtfpV2xDpDiambhRz_A"].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/NuM0PM0uJ4E" frameborder="0" allowfullscreen></iframe></div>
</div><div data-element-id="elm_ZlCs3buvReWWXSaLfZ0n9w" data-element-type="text" class="zpelement zpelem-text "><style> [data-element-id="elm_ZlCs3buvReWWXSaLfZ0n9w"].zpelem-text { text-transform:none; border-style:none; border-radius:1px; box-shadow:0px 0px 0px 0px #000000; } [data-element-id="elm_ZlCs3buvReWWXSaLfZ0n9w"].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><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:28:00 +0700</pubDate></item><item><title><![CDATA[Giao thức định tuyến RIP phiên bản 2]]></title><link>https://www.daihockhonggiay.com/blogs/post/giao-thuc-dinh-tuyen-rip-phien-ban-2</link><description><![CDATA[<img align="left" hspace="5" src="https://www.daihockhonggiay.com/r2.jpg"/>Bài viết này sẽ giúp các bạn có góc nhìn về giao thức định tuyến RIPv2]]></description><content:encoded><![CDATA[<div class="zpcontent-container blogpost-container "><div data-element-id="elm_oRlYpToWSA-Bqq_8zZriuQ" data-element-type="section" class="zpsection "><style type="text/css"></style><div class="zpcontainer-fluid zpcontainer"><div data-element-id="elm_9wMHZkJsTuyGUnfV8Fb_Eg" 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_SG5IymNoSISYW07YS-Qdgg" data-element-type="column" class="zpelem-col zpcol-12 zpcol-md-12 zpcol-sm-12 zpalign-self- "><style type="text/css"> [data-element-id="elm_SG5IymNoSISYW07YS-Qdgg"].zpelem-col{ border-style:none; } </style><div data-element-id="elm_WCPdIO6mRK65mfLnGUPKwg" data-element-type="text" class="zpelement zpelem-text "><style> [data-element-id="elm_WCPdIO6mRK65mfLnGUPKwg"].zpelem-text { border-style:none; } </style><div class="zptext zptext-align-left " data-editor="true"><p style="text-align:left;"><span style="font-size:14px;"><span style="font-weight:700;">I. Tổng quan</span></span></p><p style="text-align:left;"><span style="font-size:14px;"><span style="font-weight:700;"><br></span></span></p><p style="text-align:left;"><span style="font-size:14px;"><span style="font-weight:700;">1. Đặc điểm:</span>&nbsp;Để tiếp cận RIPv2 một cách nhanh chóng và đầy đủ, những phần trong chương này sẽ đề cập tới sự khác nhau giữa RIPv1 và RIPv2:</span></p><p style="text-align:left;"><span style="font-size:14px;">&nbsp;&nbsp;</span></p><p style="text-align:center;"><img src="/Network/2/12.jpg" style="width:757.31px;height:484px;"><br></p><p style="text-align:left;"><span style="font-size:14px;">&nbsp;&nbsp;</span></p><p style="text-align:left;margin-bottom:20px;"><span style="font-size:14px;">=&gt; Router chạy RIP gửi thông tin về tuyến đường trong các cập nhật RIP qua mỗi giao tiếp trong mỗi khoảng thời gian cập nhật. Một Router chạy RIP quảng bá những tuyến đường kết nối trực tiếp với nó, và những Router chạy RIP khác nhận quảng bá và cập nhật vào bảng định tuyến của mình. Chú ý rằng RIP không cất giữ bảng sơ đồ (topology) riêng biệt. Những Router chạy RIP không thiết lập quan hệ láng giềng, cũng không gửi thông điệp hello - mỗi router chỉ đơn giản là gửi cập nhật với địa chỉ đích là 224.0.0.9 với RIPv2 và 255.255.255.255 với RIPv1</span></p><p style="text-align:left;margin-bottom:20px;"><span style="font-size:14px;">=&gt; RIPv2 và RIPv1 đều sử dụng số chặng làm chi phí, chi phí tối đa là 15, với chi phí bằng 16 được xem là vô cùng (infinity) và tuyến không thể đến được. Một Router chạy RIP không đặt chi phí của nó vào tuyến khi gửi cập nhật. Thay vào đó Router chạy RIP sẽ tăng chi phí lên một khi xây dựng gói tin cập nhật. Ví dụ: nếu Router A có một tuyến chi phí bằng 2, nó sẽ quảng bá tuyến đó đi với chi phí bằng 3.</span></p><p style="text-align:left;margin-bottom:20px;"><span style="font-size:14px;">=&gt; Khi một Router chạy RIP học được nhiều tuyến đến cùng một mạng con thì tuyến có chi phí thấp nhất sẽ được chọn. Nếu như có nhiều tuyến có chi phí bằng nhau và nhỏ nhất, Router mặc định sẽ cập nhật 4 tuyến vào bảng định tuyến. Router cũng có thể cho phép cập nhật từ 1 tới 6 tuyến vào bảng định tuyến bằng cách sử dụng câu lệnh&nbsp;<em>ip maximum-paths&nbsp; number</em>&nbsp; trong chế độ Router RIP</span></p><p style="text-align:left;margin-bottom:20px;"><span style="font-size:14px;"><span style="font-weight:700;">2. Hội tụ và chống vòng lặp:</span></span></p><p style="text-align:left;margin-bottom:20px;"><span style="font-size:14px;">Phần quan trọng nhất và cũng phức tạp nhất của RIP nằm ở những phương thức chống vòng lặp. Giống như những giao thức định tuyến Distance vector, RIP sử dụng kết hợp những công cụ chống vòng lặp khác nhau, nhưng đáng tiếc rằng những công cụ này cũng làm tăng thời gian hội tụ (convergence) một cách đáng kể. Sự thật đó là một hạn chế rất lớn của RIP (kể cả RIPv2). Bảng sau đây sẽ tổng hợp những tính năng và phương thức liên quan đến hội tụ và chống vòng lặp của RIP</span></p><p style="text-align:center;margin-bottom:20px;"><img src="/Network/2/13.jpg"><br></p><p style="text-align:center;margin-bottom:20px;"><img src="/Network/2/14.jpg"><br></p><p style="text-align:left;margin-bottom:20px;"><span style="font-size:14px;">&nbsp;&nbsp;</span></p><p style="text-align:left;"><span style="font-size:14px;"><span style="font-weight:700;"><em>Khoảng thời gian Invalid</em></span><em>:</em></span></p><p style="text-align:left;"><span style="font-size:14px;">=&gt; Nếu mạng 10.1.5.0 bị mất, Router R4 sẽ đánh dấu tuyến này như là không đến (unreachable) và truyền thông tin cho các Rouer khác. Nhưng nếu trong trường hợp chính Router R4 bị chết, Router R1,R2,R3 vẫn còn lưu giữ thông tin về mạng 10.1.5.0 trong bảng định tuyến. Thông tin về tuyến không còn hợp lệ nhưng không có Router nào thông báo cho R1,R2,R3 biết về việc này. Kết quả là R1,R2,R3 sẽ đẩy các gói tin đi về các địa chỉ mạng đích không còn tồn tại, mạng bị hiện tượng lỗ đen.</span></p><p style="text-align:left;"><span style="font-size:14px;">=&gt; Vấn đề có thể giải quyết được bằng cách thiết lập một thông số gọi là khoảng thời gian không phù hợp (invalidation timer) cho từng hàng trong bảng định tuyến. Ví dụ: khi Router R3 nghe về mạng 10.1.5.0 lần đầu tiên và nhập thông tin vào bảng định tuyến. R3 sẽ thiết lập một đồng hồ cho tuyến đó. Ở mỗi chu kỳ cập nhật nhận được từ R4 thì R3 sẽ bỏ qua những cập nhật đã biết và khởi động lại thời gian tuyến đó. Nếu Router R4 bị chết thì R3 không còn nghe về mạng 10.1.5.0. Thời gian Invalid sẽ bị hết, C đánh giấu tuyến như không đến được và truyền thông tin này trong cập nhật kế tiếp.</span></p><p style="text-align:left;"><span style="font-size:14px;">=&gt; Thời gian cho tuyến hết hạn thường là từ 3 cho tới 6 chu kỳ cập nhật. Một Router không muốn xem một tuyến là không hợp lệ chỉ sau một chu kỳ cập nhật bị mất vì điều này sẽ làm cho gói tin bị mất hay tăng độ trễ của mạng. Ngược lại, nếu thời gian là quá dài, quá trình hội tụ mạng sẽ rất chậm.</span></p><p style="text-align:left;"><span style="font-size:14px;"><span style="font-weight:700;"><em>Split horizon:</em></span></span></p><p style="text-align:left;"><span style="font-size:14px;">Giả sử rằng mạng 10.1.5.0 bị sự cố, Router R4 sẽ phát hiện, đánh dấu tuyến này là không đến được và truyền thông tin đến R3 ở chu kỳ cập nhật kế tiếp. Tuy nhiên trước khi R4 kích hoạt một cập nhật, có một vấn đề xẩy ra. Cập nhật của R3 đến thông báo là nó có thể đến được mạng 10.1.5.0, chỉ cách R3 một chặng. R4 không có cách nào nhận ra R3 quảng bá sai. R4 sẽ tăng giá trị số chặng và đưa vào bảng định tuyến thông tin là mạng 10.1.5.0 có thể đến được thông qua R3 cách đó 2 chặng.</span></p><p style="text-align:left;"><span style="font-size:14px;">=&gt; Bây giờ có một gói tin có địa chỉ đích là 10.1.5.3 đến Router R3. R3 tra bảng định tuyến của nó và đẩy gói tin về R4. R4 tra bảng định tuyến và đẩy về R3. Một vòng lặp xẩy ra.</span></p><p style="text-align:left;"><span style="font-size:14px;">=&gt; Tính năng Split horizon sẽ ngăn ngừa khả năng vòng lặp xuất hiện. Có 2 nhóm Split horizon gồm Split horizon đơn giản và Split horizon kết hợp với Poison reverse.</span></p><p style="text-align:left;"><span style="font-size:14px;">=&gt; Nguyên tắc cho Split horizon đơn giản là khi gửi một cập nhật ra một cổng, không được chứa những địa chỉ mạng được học trên chính cổng đó.</span></p><p style="text-align:left;"><span style="font-size:14px;">=&gt; Các Router thực hiện tính năng Split horizon đơn giản. R3 sẽ gửi một cập nhật cho R4 về địa chỉ mạng 10.1.1.0 và 10.1.2.0, 10.1.3.0. Các mạng 10.1.4.0 không gửi vì nó là connected và 10.1.5.0 là từ R4. Tương tự gửi cập nhật tới R2 bao gồm địa chỉ 10.1.4.0, 10.1.5.0 và không có 10.1.1.0 và 10.1.2.0, 10.1.3.0.</span></p><p style="text-align:left;"><span style="font-size:14px;">=&gt; Luật Split horizon với poison reverse là một cải tiến.</span></p><p><span style="color:inherit;font-size:14px;"></span></p><p style="margin-bottom:20px;"><span style="font-weight:700;"><br></span></p><p style="margin-bottom:20px;"><span style="font-weight:700;">I</span><span style="font-weight:700;">I. Thực hành</span></p><p style="margin-bottom:20px;"><span style="font-weight:700;">1.&nbsp;</span><span style="font-size:14px;color:inherit;font-weight:bold;">Cấu hình giao thức định tuyến động RIPv2</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;">3 Router Cisco 2621XM</p><p style="margin-bottom:20px;">2 Cisco Catalyst Switch 2950-24</p><p style="margin-bottom:20px;">4 PC</p><p style="margin-bottom:20px;">Dây cáp Fast Ethernet,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 trên các Interface</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 giao thức RIPv2 trên Router R1 và R2&nbsp;</p><p style="margin-bottom:20px;">Kiểm tra kết nối giữa các thiết bị trong mạng</p><p style="text-align:center;"></p><p style="text-align:left;margin-bottom:20px;"><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_hRRXbWMTeGxmFM4h0KOFXg" data-element-type="video" class="zpelement zpelem-video "><style type="text/css"> [data-element-id="elm_hRRXbWMTeGxmFM4h0KOFXg"].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/Mli9i52Dvms" frameborder="0" allowfullscreen></iframe></div>
</div><div data-element-id="elm_60AwCpMSsqu1HCYHApFdrQ" data-element-type="text" class="zpelement zpelem-text "><style> [data-element-id="elm_60AwCpMSsqu1HCYHApFdrQ"].zpelem-text { text-transform:none; border-style:none; border-radius:1px; box-shadow:0px 0px 0px 0px #000000; } [data-element-id="elm_60AwCpMSsqu1HCYHApFdrQ"].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-weight:700;color:inherit;">Cấu hình giao thức định tuyến RIP</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;">2 Cisco Catalyst Switch 2950-24</p><p style="margin-bottom:20px;">4 PC</p><p style="margin-bottom:20px;">Dây cáp Fast Ethernet,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 trên các Interface</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 giao thức RIP trên Router R1 và R2&nbsp;</p><p style="margin-bottom:20px;"><span>Kiểm tra kết nối giữa các thiết bị trong mạng</span></p><p style="text-align:center;"></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_o0RVnIs2SXoiEsbPV5Rzug" data-element-type="video" class="zpelement zpelem-video "><style type="text/css"> [data-element-id="elm_o0RVnIs2SXoiEsbPV5Rzug"].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/Y34XK5OwqrU" frameborder="0" allowfullscreen></iframe></div>
</div><div data-element-id="elm_YIQIOcSfvjtM7oPwoLsZCw" data-element-type="text" class="zpelement zpelem-text "><style> [data-element-id="elm_YIQIOcSfvjtM7oPwoLsZCw"].zpelem-text { text-transform:none; border-style:none; border-radius:1px; box-shadow:0px 0px 0px 0px #000000; } [data-element-id="elm_YIQIOcSfvjtM7oPwoLsZCw"].zpelem-text :is(h1,h2,h3,h4,h5,h6){ text-transform:none; } </style><div class="zptext zptext-align-left " data-editor="true"><p><span style="color:inherit;"></span></p><div><p style="margin-bottom:20px;text-align:left;"><span style="font-weight:700;">3.&nbsp;</span><span style="font-weight:700;color:inherit;">Cấu hình giao thức định tuyến động RIPng</span></p><p style="margin-bottom:20px;text-align:left;"><span style="font-weight:700;">a.Yêu cầu chuẩn bị&nbsp;</span></p><p style="margin-bottom:20px;text-align:left;">3 Router Cisco 1941</p><p style="margin-bottom:20px;text-align:left;">2 Switch 2960</p><p style="margin-bottom:20px;text-align:left;">3 PC</p><p style="margin-bottom:20px;text-align:left;">Dây cáp Gigabit Ethrnet,Serial</p><p style="margin-bottom:20px;text-align:left;"><span style="font-weight:700;">b.Yêu cầu nội dung&nbsp;</span></p><p style="margin-bottom:20px;text-align:left;">Đấu nối thiết bị như sơ đồ</p><p style="margin-bottom:20px;text-align:left;">Cấu hình cơ bản cho Router</p><p style="margin-bottom:20px;text-align:left;">Cấu hình trên các Interface</p><p style="margin-bottom:20px;text-align:left;">Cấu hình định tuyến RIPng trên Router R1,R2,R3 và Default Router trên Router R2</p><p style="margin-bottom:20px;text-align:left;">Kiểm tra kết nối giữa các thiết bị trong mạng</p><p></p><p style="margin-bottom:20px;text-align:left;"><span><span style="font-weight:700;">c. Video hướng dẫn</span></span></p><div><span><span style="font-weight:700;"><br></span></span></div></div></div>
</div><div data-element-id="elm_XONM3MKciCGGvEQ_BhR_fg" data-element-type="video" class="zpelement zpelem-video "><style type="text/css"> [data-element-id="elm_XONM3MKciCGGvEQ_BhR_fg"].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/Cu1a2ySv1nM" frameborder="0" allowfullscreen></iframe></div>
</div><div data-element-id="elm_UKXQAu682pQBy7Wl-CI8wg" data-element-type="text" class="zpelement zpelem-text "><style> [data-element-id="elm_UKXQAu682pQBy7Wl-CI8wg"].zpelem-text { text-transform:none; border-style:none; border-radius:1px; box-shadow:0px 0px 0px 0px #000000; } [data-element-id="elm_UKXQAu682pQBy7Wl-CI8wg"].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;">4.&nbsp;</span><span style="font-size:14px;color:inherit;font-weight:bold;">Cấu hình Passive Interface</span></p><p style="margin-bottom:20px;"><span style="font-weight:700;">a. Yêu cầu chuẩn bị&nbsp;</span><br></p><p style="margin-bottom:20px;">3 Router Cisco 2621XM</p><p style="margin-bottom:20px;">1 Cisco cataly Switch 2950-24</p><p style="margin-bottom:20px;">4 PC</p><p style="margin-bottom:20px;">Dây cáp Fast Ethrnet,Serial</p><p style="margin-bottom:20px;"><span style="font-weight:700;">b. Nội dung thực hiện</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</p><p style="margin-bottom:20px;">Cấu hình trên các Interface</p><p style="margin-bottom:20px;">Cấu hình định tuyến RipV2 trên các Router R1,R2,R3</p><p style="margin-bottom:20px;">Kiểm tra kết nối giữa các thiết bị trong máy</p><p style="margin-bottom:20px;"><span>Cấu hình Passive Interface trên Router R1</span></p><p style="text-align:center;"></p><p><span style="color:inherit;"></span></p><p style="margin-bottom:20px;">&nbsp;<span style="font-weight:700;">c. Video hướng dẫn</span></p></div>
</div><div data-element-id="elm_a39AGFC4whS5yDp3vzdjmg" data-element-type="video" class="zpelement zpelem-video "><style type="text/css"> [data-element-id="elm_a39AGFC4whS5yDp3vzdjmg"].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/CXoe17n1tSo" frameborder="0" allowfullscreen></iframe></div>
</div><div data-element-id="elm_HdBgKQnEBe4WwWAtRGfT3Q" data-element-type="text" class="zpelement zpelem-text "><style> [data-element-id="elm_HdBgKQnEBe4WwWAtRGfT3Q"].zpelem-text { text-transform:none; border-style:none; border-radius:1px; box-shadow:0px 0px 0px 0px #000000; } [data-element-id="elm_HdBgKQnEBe4WwWAtRGfT3Q"].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><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:16:35 +0700</pubDate></item><item><title><![CDATA[ Giới thiệu cơ bản về Router]]></title><link>https://www.daihockhonggiay.com/blogs/post/gioi-thieu-co-ban-ve-router</link><description><![CDATA[<img align="left" hspace="5" src="https://www.daihockhonggiay.com/r va s.jpg"/>Giới thiệu tổng quan về Router Cisco và các lệnh cấu hình]]></description><content:encoded><![CDATA[<div class="zpcontent-container blogpost-container "><div data-element-id="elm_KdN3uta8T8ayyTUwIJvUng" data-element-type="section" class="zpsection "><style type="text/css"></style><div class="zpcontainer-fluid zpcontainer"><div data-element-id="elm_B1ulGDTKSTiFChcoYn9fHg" 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_GZIRys6OSIWzJQMeDThxKg" data-element-type="column" class="zpelem-col zpcol-12 zpcol-md-12 zpcol-sm-12 zpalign-self- "><style type="text/css"> [data-element-id="elm_GZIRys6OSIWzJQMeDThxKg"].zpelem-col{ border-style:none; } </style><div data-element-id="elm_b9D44XjHymdmnFST-mP6-w" data-element-type="text" class="zpelement zpelem-text "><style> [data-element-id="elm_b9D44XjHymdmnFST-mP6-w"].zpelem-text { text-transform:none; border-style:none; border-radius:1px; box-shadow:0px 0px 0px 0px #000000; } [data-element-id="elm_b9D44XjHymdmnFST-mP6-w"].zpelem-text :is(h1,h2,h3,h4,h5,h6){ text-transform:none; } </style><div class="zptext zptext-align-left " data-editor="true"><p><b>I. Tổng quan</b></p><p><b>1. Giới thiệu Router về phần cứng và cấu trúc</b></p><p><b>a. Phần cứng:</b> phần cứng của Router gần tương đồng về các thành phần với PC</p><table border="1" cellspacing="0" cellpadding="0" style="margin-left:5.35pt;"><tbody><tr style="height:20px;"><td><p>Router</p></td><td><p>PC</p></td></tr><tr style="height:10px;"><td><p>Main</p></td><td><p>Main</p></td></tr><tr style="height:1px;"><td><p>CPU</p></td><td><p>CPU</p></td></tr><tr style="height:18px;"><td><p>RAM: là nơi chạy file Runingconfig. Bao gồm: bảng định tuyến, MAC, NAT, ACL</p></td><td><p>RAM</p></td></tr><tr style="height:13px;"><td><p>NVRAM: là bộ nhớ lưu file cấu hình: Startup config </p><p>Flash: là bộ nhớ lưu file IOS</p></td><td><p>HDD</p></td></tr></tbody></table><p style="margin-left:5.35pt;"><b>b. Cổng kết nối</b></p><table border="1" cellspacing="0" cellpadding="0" style="margin-left:5.35pt;"><tbody><tr><td><br><br><img src="/Network/1/22.jpg" style="width:302.48px;height:180px;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </td><td><p>Chúng ta có th<span>ể truy cập và điều khiển từ máy tính tới Router bằng các đường</span>:</p><p><b>Đ</b><b><span>ường console:</span></b><span> kết nối trực tiếp từ máy tính tới Router bằng cáp Console (một đầu cắm vào cổng com trên máy tính, một đầu cổng console</span> của<span> Router hoặc Switch). Cáp console có tốc độ thấp 56kb/s nên chỉ được dùng thiết lập ban đầu</span></p><p><b>Telnet or SSH:</b> k<span>ết nối tới Router hoặc Switch thông qua cổng mạng. Kết nối này có tốc độ cao và cho phép truy cập từ xa. Trong đó telnet có tốc độ nhanh hơn. Nhưng không hỗ trợ bảo mật. SSH hỗ trợ bảo mật nhưng tốc độ truyền chậm hơn. V</span>ì v<span>ậy người ta thường dùng SSH trong những khu vực không an toàn, và Telnet trong những khu vực mạng an toàn. </span></p><p><b>AUX:</b> Ch<span>ỉ hỗ trợ trên Router: cũng cho phép kết nối tới Router từ xa, thông qua đường truyền Modem. Tuy nhiên loại kết nối này thường không được sử dụng.</span></p></td></tr></tbody></table><p style="margin-left:5.35pt;">&nbsp;</p><p style="margin-left:5.35pt;"><b>c. IOS (</b><b><span>Internetwork Operating System</span>): Hệ điều hành của thiết bị Cisco</b></p><p style="margin-left:5.35pt;">+ Tương t<span>ự như một máy tính, một router hoặc switch&nbsp; hoạt động th</span>ì ph<span>ải có hệ điều hành. Cisco Internetwork Operating System (IOS) là phần mềm hệ thống trong các thiết bị của Cisco. Nó là công nghệ cốt l</span>õi đư<span>ợc mở rộng trên hầu hết các d</span>òng s<span>ản phẩm của Cisco</span></p><p style="margin-left:5.35pt;">+ Cisco IOS cung c<span>ấp cho các thiết bị với các dịch vụ mạng sau đây</span></p><p style="margin-left:32.35pt;">=&gt; Ch<span>ức năng định tuyến và chuyển mạch</span></p><p style="margin-left:32.35pt;">=&gt; Tin c<span>ậy và truy cập bảo mật vào tài nguyên mạng</span></p><p style="margin-left:32.35pt;">=&gt; Kh<span>ản năng mở rộng hệ thống.</span></p><p style="margin-left:5.35pt;">+ Chú ý về IOS: </p><p style="margin-left:32.35pt;">=&gt; H<span>ệ điều hành hoạt động là khác nhau trên từng thiết bị (Router hoặc Switch)</span></p><p style="margin-left:32.35pt;">=&gt; Các thi<span>ết bị đều truy cập bằng lệnh</span></p><p style="margin-left:32.35pt;">=&gt; File os n<span>ặng khoảng 40M. Nó được lưu trong </span>bộ nhớ<span> Flash. Bộ nhớ flash cung cấp lưu trữ không mất dữ liệu.</span></p><p style="margin-left:32.35pt;">=&gt; S<span>ử dụng Flash memory có thể copy vào là chạy</span></p><p><b>2. Quá trình khởi động của Router</b></p><p style="margin-left:32.35pt;">=&gt; Bước 1: Khi bật Router điện sẽ được nạp vào ROM</p><p style="margin-left:32.35pt;">=&gt; Bước 2: ROM sẽ thực hiện quá trình kiểm tra các thiết bị phần cứng gọi là POST (Power on self test)</p><p style="margin-left:32.35pt;">=&gt; Bước 3: Sau khi kiểm tra phần cứng chạy ổn định sẽ chuyển sang Bootstrap. Bootstrap sẽ liên lạc với IOS, IOS sẽ được load từ bộ nhớ Flash (bootstrap cho phép hệ điều hành nào khở động trước nếu có nhiều IOS). </p><p style="margin-left:32.35pt;">=&gt; Bước 4: tiếp theo file cấu hình (Start up config) được copy từ bộ nhớ NVRAM</p><p style="margin-left:32.35pt;">=&gt; Bước 5:&nbsp; IOS và Startup Config được load vào RAM tạo thành file chạy Running config.</p><p><b>3. Các Mode lệnh trong IOS: có 4 mode lệnh</b></p><p style="margin-left:5.35pt;">+ Router&gt; -----------------------&gt;&nbsp; Mode User ( Mode có quy<span>ền thấp nhất )</span></p><p style="margin-left:5.35pt;">+ Router# ------------------------&gt; Mode Previlidge (Mode qu<span>ản trị)</span></p><p style="margin-left:5.35pt;">+ Router (config)#--------------&gt; Mode cấu hình</p><p style="margin-left:5.35pt;">+ <span>Router (config-if)</span>#-----------&gt; Mode vào cổng</p><p><b>4. Các lệnh cấu hình Cơ bản Router</b></p><p style="margin-left:5.35pt;">Router#<span>conf</span>igure <span>t</span>erminal</p><p style="margin-left:5.35pt;">Router(config)#----------------=&gt; Mode config | Mode global (Mode cấu hình)</p><p style="margin-left:5.35pt;">Router(config)#<b><span>host</span></b>name <span>R1</span> =&gt; Đặt tên cho Router</p><p style="margin-left:5.35pt;">R1(config)#</p><p style="margin-left:5.35pt;">R1(config)#<span>en</span>able <span>pas</span>sword <span>cisco</span> =&gt; Đặt pass enable là cisco (khi chuyển từ Mode người dùng sang Mode quản trị sẽ yêu cầu mật khẩu).</p><p style="margin-left:5.35pt;">R1(config)#<span>en</span>able <span>sec</span>ret <span>aptech</span> =&gt; Đặt pass enable secret là aptech (pass này sẽ được dùng khi câu lệnh này được thực hiện. Cao hơn pass của enable)</p><p style="margin-left:5.35pt;">R1(config)#</p><p style="margin-left:5.35pt;">R1(config)#<span>line</span><span>con</span>sole <span>0</span></p><p style="margin-left:5.35pt;">R1(config-line)#<span>pas</span>sword <span>aptech</span> =&gt; Đặt pass khi truy nhập vào Router bằng đường Console. </p><p style="margin-left:5.35pt;">R1(config-line)#<span>login</span></p><p style="margin-left:5.35pt;">R1(config-line)#</p><p style="margin-left:5.35pt;">R1(config-line)#<span>line vty 0 4</span></p><p style="margin-left:5.35pt;">R1(config-line)#<span>pas</span>sword <span>aptech</span> =&gt; Đặt pass khi truy nhập vào Router bằng đường telnet</p><p style="margin-left:5.35pt;">R1(config-line)#<span>login</span></p><p style="margin-left:5.35pt;">R1(config-line)#exit</p><p style="margin-left:5.35pt;">R1(config)#</p><p style="margin-left:5.35pt;">R1(config)#<span>ban</span>ner <span>mo</span>td <span>!Hello!</span> =&gt; Đặt lời chào cho Router/Switch, lưu ý ký tự bắt đầu và ký tự kết thúc của lời chào phải giống nhau.</p><p style="margin-left:5.35pt;">R1(config)#</p><p style="margin-left:5.35pt;">R1(config)#<span>in</span>terface <span>f0/0</span></p><p style="margin-left:5.35pt;">R1(config-if)#--------------=&gt; Mode Interface (mode cấu hình địa chỉ cổng)</p><p style="margin-left:5.35pt;">R1(config-if)#<span>no shut</span> =&gt; Bật cổng của Rotuer lên</p><p style="margin-left:5.35pt;">R1(config-if)#<span>ip</span><span>add</span>ress <span>192.168.1.1 255.255.255.0</span> =&gt; Đặt địa chỉ IP cho cổng của Router.</p><p style="margin-left:5.35pt;">R1(config-if)#</p><p style="margin-left:5.35pt;">R1(config-if)#<span>in</span>terface <span>s0/0</span></p><p style="margin-left:5.35pt;">R1(config-if)#<span>no shut</span></p><p style="margin-left:5.35pt;">R1(config-if)#<span>ip</span><span>add</span>ress <span>172.16.0.1 255.255.255.252</span></p><p style="margin-left:5.35pt;">R1(config-if)#<span>clock rate 64000</span> (bật xung nhịp đối với đầu DCE)</p><p style="margin-left:5.35pt;">R1(config)#</p><p style="margin-left:5.35pt;">R1(config)#exit</p><p style="margin-left:5.35pt;">R1#<span>sh</span>ow <span>run</span>ning-config =&gt; Kiểm tra file cấu hình đang chạy. </p><p style="margin-left:5.35pt;">R1#<span>copy</span><span>run</span>ning-config <span>start</span>up-config | <span>wr</span>ite =&gt; ghi file cấu hình đang chạy vào NVRAM.</p><p style="margin-left:5.35pt;">R1#<span>sh</span>ow <span>start</span>up-config =&gt; Kiểm tra file cấu hình xem đã có những thông tin đang chạy chưa?&nbsp;</p><p>Chú ý: </p><p><span style="color:inherit;"></span></p><p>=&gt; R1(config-if)#clock rate 64000&nbsp; =&gt; Clock&nbsp; rate là xung nhịp của các bít truyền. Bít này cách bít kia là 64000 micro/giây</p><p><br></p><p style="margin-bottom:20px;"><span style="font-weight:700;">II. Thực hành</span></p><p style="margin-bottom:20px;"><span style="font-weight:700;">1.&nbsp;</span><span style="font-size:14px;color:inherit;font-weight:bold;">Đăng nhập Router qua giao diện dòng lệnh</span></p><p style="margin-bottom:20px;"><span style="font-weight:700;">a. Yêu cầu thiết bị</span></p><p style="margin-bottom:20px;"><span>1 Router Cisco 1941.</span></p><p style="margin-bottom:20px;">1 PC.</p><p style="margin-bottom:20px;">Dây cáp console.</p><p style="margin-bottom:20px;"><span style="font-weight:700;">b. Nội dung công việc cần thực hiện</span></p><p style="margin-bottom:20px;">Đấu nối thiết bị như sơ đồ.</p><p style="margin-bottom:20px;">Đăng nhập vào hệ thống.</p><p style="margin-bottom:20px;">Xem các thông tin Router.</p><p style="margin-bottom:20px;">Sử dụng Hyper Terminal.</p><p style="text-align:center;"></p><p style="text-align:center;"></p><p style="margin-bottom:20px;"><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_EDhwpwzR3UBvFqOLYqvlig" data-element-type="video" class="zpelement zpelem-video "><style type="text/css"> [data-element-id="elm_EDhwpwzR3UBvFqOLYqvlig"].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/yU0mRpK_8Ss" frameborder="0" allowfullscreen></iframe></div>
</div><div data-element-id="elm_tvPUVIbfFk8joPfVlxDMeQ" data-element-type="text" class="zpelement zpelem-text "><style> [data-element-id="elm_tvPUVIbfFk8joPfVlxDMeQ"].zpelem-text { text-transform:none; border-style:none; border-radius:1px; box-shadow:0px 0px 0px 0px #000000; } [data-element-id="elm_tvPUVIbfFk8joPfVlxDMeQ"].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:14px;color:inherit;font-weight:bold;">Đặt các loại mật khẩu cho Router</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;">1 Router Cisco 1941</p><p style="margin-bottom:20px;">1 PC</p><p style="margin-bottom:20px;">Dây cáp console</p><p style="margin-bottom:20px;"><span style="font-weight:700;">b. Nội dung công việc cần thực hiện</span></p><p style="margin-bottom:20px;">Đầu nối thiết bị như sơ đồ</p><p style="margin-bottom:20px;">Đăng nhập vào hệ thống</p><p style="margin-bottom:20px;">Xem thông tin của Router</p><p style="margin-bottom:20px;">Sử dụng hyper terminal</p><p style="margin-bottom:20px;"><span>Đặt mật khẩu truy cập vào chế độ Privileged EXEC mode</span></p><p style="margin-bottom:20px;">Đặt mật khẩu truy cập Telnet</p><p style="text-align:center;"></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_FXFQQU3ZDs8nI2HFHLaXGQ" data-element-type="video" class="zpelement zpelem-video "><style type="text/css"> [data-element-id="elm_FXFQQU3ZDs8nI2HFHLaXGQ"].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/wpRRVGlaYH8" frameborder="0" allowfullscreen></iframe></div>
</div><div data-element-id="elm_uHp12oPZiSHJFqMW6DVbyA" data-element-type="text" class="zpelement zpelem-text "><style> [data-element-id="elm_uHp12oPZiSHJFqMW6DVbyA"].zpelem-text { text-transform:none; border-style:none; border-radius:1px; box-shadow:0px 0px 0px 0px #000000; } [data-element-id="elm_uHp12oPZiSHJFqMW6DVbyA"].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;">Khôi phục lại mật khẩu cho Router Cisco</span></p><p style="margin-bottom:20px;"><span style="font-weight:700;">a. Yêu cầu thiết bị:</span></p><p style="margin-bottom:20px;">1 Router Cisco 2600</p><p style="margin-bottom:20px;">1 PC</p><p style="margin-bottom:20px;">Dây cáp Console</p><p style="margin-bottom:20px;"><span style="font-weight:700;">b. Nội dung công việc cần thực hiện:</span></p><p style="margin-bottom:20px;">Đấu nối thiết bị như sơ đồ</p><p style="margin-bottom:20px;">Đăng nhập vào hệ thống</p><p style="margin-bottom:20px;">Khôi phục lại mật khẩu cho Router</p><p style="text-align:center;"></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_lOAXzpOrpp15s945Nd5dUA" data-element-type="video" class="zpelement zpelem-video "><style type="text/css"> [data-element-id="elm_lOAXzpOrpp15s945Nd5dUA"].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/QCY7Tr-sAhU" frameborder="0" allowfullscreen></iframe></div>
</div><div data-element-id="elm_dSteT1n1evNZLCM_uUxw6A" data-element-type="text" class="zpelement zpelem-text "><style> [data-element-id="elm_dSteT1n1evNZLCM_uUxw6A"].zpelem-text { text-transform:none; border-style:none; border-radius:1px; box-shadow:0px 0px 0px 0px #000000; } [data-element-id="elm_dSteT1n1evNZLCM_uUxw6A"].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;">4.&nbsp;</span><span style="font-weight:bold;">Các lệnh cơ bản trên Router Cisco</span></p><p style="margin-bottom:20px;"><span style="font-weight:700;">a. Yêu cầu thiết bị</span></p><p style="margin-bottom:20px;">1 Router Cisco 2920XM</p><p style="margin-bottom:20px;">1 PC</p><p style="margin-bottom:20px;">Dây cáp Console, Fast Ethernet</p><p style="margin-bottom:20px;"><span style="font-weight:700;">b. Nội dung thực hiện</span></p><p style="margin-bottom:20px;">Nối cáp</p><p style="margin-bottom:20px;">Đăng nhập vào hệ thống</p><p style="margin-bottom:20px;">Đặt Router banner</p><p style="margin-bottom:20px;">Cấu hình các cổng giao tiếp trên Router</p><p style="margin-bottom:20px;">Đặt hostname cho Router</p><p style="margin-bottom:20px;">Các lệnh kiểm tra cấu hình</p><p><span></span></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_TNxvI7EFg66aH_zA1YYlNw" data-element-type="video" class="zpelement zpelem-video "><style type="text/css"> [data-element-id="elm_TNxvI7EFg66aH_zA1YYlNw"].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/dyduAEegzwk" frameborder="0" allowfullscreen></iframe></div>
</div><div data-element-id="elm_w-I5disjyaatgoWFXT9jbA" data-element-type="text" class="zpelement zpelem-text "><style> [data-element-id="elm_w-I5disjyaatgoWFXT9jbA"].zpelem-text { text-transform:none; border-style:none; border-radius:1px; box-shadow:0px 0px 0px 0px #000000; } [data-element-id="elm_w-I5disjyaatgoWFXT9jbA"].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;">5.&nbsp;</span><span style="font-size:14px;color:inherit;font-weight:bold;">Làm việc với Telnet</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, Ethernet</p><p style="margin-bottom:20px;">1 Cisco catalyst Switch 2950-24</p><p style="margin-bottom:20px;"><span style="font-weight:700;">b. Nội dung công việc&nbsp; cần thực hiện</span></p><p style="margin-bottom:20px;">Đấu nối thiết bị như sơ đồ</p><p style="margin-bottom:20px;">Đăng nhập vào hệ thông</p><p style="margin-bottom:20px;">Đặt mật khẩu truy cập conselo của router</p><p style="margin-bottom:20px;">Đặt mật khẩu truy cập vào chế Privilerged EXEC mode.</p><p style="margin-bottom:20px;">Đặt mật khẩu truy cập telnet</p><p style="text-align:center;"></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_IZzKV-luV601-eO9ZxQ2iw" data-element-type="video" class="zpelement zpelem-video "><style type="text/css"> [data-element-id="elm_IZzKV-luV601-eO9ZxQ2iw"].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/YlINcxt-ANM" frameborder="0" allowfullscreen></iframe></div>
</div><div data-element-id="elm_xWp3Qy4AZov45_5H2xOoOA" data-element-type="text" class="zpelement zpelem-text "><style> [data-element-id="elm_xWp3Qy4AZov45_5H2xOoOA"].zpelem-text { text-transform:none; border-style:none; border-radius:1px; box-shadow:0px 0px 0px 0px #000000; } [data-element-id="elm_xWp3Qy4AZov45_5H2xOoOA"].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;">6.&nbsp;</span><span style="font-size:14px;color:inherit;font-weight:bold;">Nạp IOS cho Router qua TFTP Server</span></p><p style="margin-bottom:20px;"><span style="font-weight:700;">a. Yêu cầu thiết bị</span></p><p style="margin-bottom:20px;">1 Router Cisco 2620XM</p><p style="margin-bottom:20px;">1 Server</p><p style="margin-bottom:20px;">Dây cáp FastEthernet</p><p style="margin-bottom:20px;"><span style="font-weight:700;">b. Nội dung công việc cần thực hiện</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 trên Router và Server</p><p style="margin-bottom:20px;">Nạp IOS cho 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_aUMAHfcLCaiAHxmTwfeuCg" data-element-type="video" class="zpelement zpelem-video "><style type="text/css"> [data-element-id="elm_aUMAHfcLCaiAHxmTwfeuCg"].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/vHWRLoIkf-w" frameborder="0" allowfullscreen></iframe></div>
</div><div data-element-id="elm_vamInPtBJ6ECwyRhpB_o7g" data-element-type="text" class="zpelement zpelem-text "><style> [data-element-id="elm_vamInPtBJ6ECwyRhpB_o7g"].zpelem-text { text-transform:none; border-style:none; border-radius:1px; box-shadow:0px 0px 0px 0px #000000; } [data-element-id="elm_vamInPtBJ6ECwyRhpB_o7g"].zpelem-text :is(h1,h2,h3,h4,h5,h6){ text-transform:none; } </style><div class="zptext zptext-align-left " data-editor="true"><p><span style="color:inherit;"></span></p><div><p style="margin-bottom:20px;"><span style="font-weight:700;">7.&nbsp;</span><span style="font-size:14px;color:inherit;font-weight:bold;">Nạp IOS cho Router qua câu lệnh TFTPDNLD</span></p><p style="margin-bottom:20px;text-align:left;"><span style="font-weight:700;">a. Yêu cầu chuẩn bị</span></p><p style="margin-bottom:20px;text-align:left;">1 Router Cisco 2620XM.</p><p style="margin-bottom:20px;text-align:left;">1 Server.</p><p style="margin-bottom:20px;text-align:left;">1 Pc.</p><p style="margin-bottom:20px;text-align:left;">Dây cáp Console, FastEthernet.</p><p style="margin-bottom:20px;text-align:left;"><span style="font-weight:700;">b. Nội dung công việc cần thực hiện</span></p><p style="margin-bottom:20px;text-align:left;">Nối cáp.</p><p style="margin-bottom:20px;text-align:left;">Đăng nhập vào hệ thống.</p><p style="margin-bottom:20px;text-align:left;">Sử dụng lệnh tftpdnld để nạp IOS.</p><p></p><p style="margin-bottom:20px;text-align:left;"><span><span style="font-weight:700;">c. Video hướng dẫn</span></span></p><div><span><span style="font-weight:700;"><br></span></span></div></div></div>
</div><div data-element-id="elm_gSmIys4lN2p35_WgiYYhdQ" data-element-type="video" class="zpelement zpelem-video "><style type="text/css"> [data-element-id="elm_gSmIys4lN2p35_WgiYYhdQ"].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/9coaMsQGWX0" frameborder="0" allowfullscreen></iframe></div>
</div><div data-element-id="elm_ZZCuvsOPRZP3QsxtVcNT-Q" data-element-type="text" class="zpelement zpelem-text "><style> [data-element-id="elm_ZZCuvsOPRZP3QsxtVcNT-Q"].zpelem-text { text-transform:none; border-style:none; border-radius:1px; box-shadow:0px 0px 0px 0px #000000; } [data-element-id="elm_ZZCuvsOPRZP3QsxtVcNT-Q"].zpelem-text :is(h1,h2,h3,h4,h5,h6){ text-transform:none; } </style><div class="zptext zptext-align-left " data-editor="true"><p><span style="color:inherit;"></span></p><div><p style="margin-bottom:20px;"><span style="font-weight:700;">8.&nbsp;</span><span style="font-size:14px;color:inherit;font-weight:bold;">Cấu hình Linksys Router</span></p><p style="margin-bottom:20px;text-align:left;"><span style="font-weight:700;">a. Yêu cầu chuẩn bị</span></p><p style="margin-bottom:20px;text-align:left;">1 Router Cisco 1841</p><p style="margin-bottom:20px;text-align:left;">3 Cisco Catalyst Switch 2950T</p><p style="margin-bottom:20px;text-align:left;">3 PC &amp; 1 Laptop</p><p style="margin-bottom:20px;text-align:left;">Dây cáp Fast Ethernet</p><p style="margin-bottom:20px;text-align:left;"><span style="font-weight:700;">b. Yêu cầu nội dung</span></p><p style="margin-bottom:20px;text-align:left;">Đấu nối thiết bị như sơ đồ</p><p style="margin-bottom:20px;text-align:left;">Cấu hình cơ bản cho Router</p><p style="margin-bottom:20px;text-align:left;">Cấu hình địa chỉ IPv4</p><p style="margin-bottom:20px;text-align:left;">Cấu hình VLAN Switch, Router</p><p style="margin-bottom:20px;text-align:left;">Cấu hình Linksys Router</p><p style="margin-bottom:20px;text-align:left;">Kiểm tra kết nối</p><p style="margin-bottom:20px;text-align:left;"><span><span style="font-weight:700;">c. Video hướng dẫn</span></span></p></div></div>
</div><div data-element-id="elm_x0oxa03NDke0pZ7O8Rw-PQ" data-element-type="video" class="zpelement zpelem-video "><style type="text/css"> [data-element-id="elm_x0oxa03NDke0pZ7O8Rw-PQ"].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/O-s_PeDo3GE" frameborder="0" allowfullscreen></iframe></div>
</div><div data-element-id="elm_kNYTW-6-XFQ67bduCR1dAw" data-element-type="text" class="zpelement zpelem-text "><style> [data-element-id="elm_kNYTW-6-XFQ67bduCR1dAw"].zpelem-text { text-transform:none; border-style:none; border-radius:1px; box-shadow:0px 0px 0px 0px #000000; } [data-element-id="elm_kNYTW-6-XFQ67bduCR1dAw"].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;">9.&nbsp;</span><span style="font-size:14px;color:inherit;font-weight:bold;">Cisco Discovery Protocol</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 2691</p><p style="margin-bottom:20px;">1 Cisco Catalyst Switch&nbsp;</p><p style="margin-bottom:20px;">Dây cáp Fast Ethernet,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;">Xem thông tin và thông số thời gian của CDP</p><p style="margin-bottom:20px;">Hiển thị thông tin các thiết bị kết nối trực tiếp</p><p style="margin-bottom:20px;">Hiển thị thông tin trạng thái CDP trên port</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_iRmfLQHnQ-zxNaZ4fcd5nA" data-element-type="video" class="zpelement zpelem-video "><style type="text/css"> [data-element-id="elm_iRmfLQHnQ-zxNaZ4fcd5nA"].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/ZpPickII6fA" frameborder="0" allowfullscreen></iframe></div>
</div><div data-element-id="elm_IOUoiyI4isXUOSsdm6wBeA" data-element-type="text" class="zpelement zpelem-text "><style> [data-element-id="elm_IOUoiyI4isXUOSsdm6wBeA"].zpelem-text { text-transform:none; border-style:none; border-radius:1px; box-shadow:0px 0px 0px 0px #000000; } [data-element-id="elm_IOUoiyI4isXUOSsdm6wBeA"].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;">10.&nbsp;</span><span style="font-size:14px;color:inherit;font-weight:bold;">Cấu hình NTP và SYSLOG</span></p><p style="margin-bottom:20px;"><span style="font-weight:700;">a. Yêu cầu chuẩn bị&nbsp;</span></p><p style="margin-bottom:20px;">3 Router Cisco 1941</p><p style="margin-bottom:20px;">2 Catalyst Switch Cisco 2950T</p><p style="margin-bottom:20px;">2PCs &amp; 2 Sever</p><p style="margin-bottom:20px;">Dây cáp Serial, Fast Ethernet</p><p style="margin-bottom:20px;"><span style="font-weight:700;">b. Nội dung công việc cần thực hiện</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: Hostname,Console,Telnet,Enable,Password,Banner motd</p><p style="margin-bottom:20px;">Cấu hình địa chỉ IPv4, tên mô tả trên các cổng của thiết bị theo sơ đồ</p><p style="margin-bottom:20px;">Trên Router R1,R2 và R3 cấu hình giao thức định tuyến EIGRP</p><p style="margin-bottom:20px;">Cấu hình NYP Server và NTP Client</p><p style="margin-bottom:20px;">Kiểm tra cấu hình</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_fVpMlLBhf6WT99fFY7apug" data-element-type="video" class="zpelement zpelem-video "><style type="text/css"> [data-element-id="elm_fVpMlLBhf6WT99fFY7apug"].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/vpX0GSKxNEU" frameborder="0" allowfullscreen></iframe></div>
</div><div data-element-id="elm_4GnrEclcPAMnsBsOGdtg-w" data-element-type="text" class="zpelement zpelem-text "><style> [data-element-id="elm_4GnrEclcPAMnsBsOGdtg-w"].zpelem-text { text-transform:none; border-style:none; border-radius:1px; box-shadow:0px 0px 0px 0px #000000; } [data-element-id="elm_4GnrEclcPAMnsBsOGdtg-w"].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;">11.&nbsp;</span><span style="font-size:14px;color:inherit;font-weight:bold;">Cấu hình TFTP server</span></p><p style="margin-bottom:20px;"><span style="font-weight:700;">a. Yêu cầu chuẩn bị&nbsp;</span></p><p style="margin-bottom:20px;">1 Switch cisco 2950-24</p><p style="margin-bottom:20px;">1 PC</p><p style="margin-bottom:20px;">Dây cáp FastEthernet</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 Switch</p><p style="margin-bottom:20px;">Cấu hình trên các Interface</p><p style="margin-bottom:20px;">Cấu hình backup file cấu hình từ Switch tới TFTP server</p><p style="margin-bottom:20px;">Cấu hình file cấu hình từ TFTP server về Switch</p><p style="text-align:center;"></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_BYIVgfSnEoTlipg8U1OaXg" data-element-type="video" class="zpelement zpelem-video "><style type="text/css"> [data-element-id="elm_BYIVgfSnEoTlipg8U1OaXg"].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/PPwxNyQqY6M" frameborder="0" allowfullscreen></iframe></div>
</div><div data-element-id="elm_R7IDIiNKjMzK1j4k4hJ4UA" data-element-type="text" class="zpelement zpelem-text "><style> [data-element-id="elm_R7IDIiNKjMzK1j4k4hJ4UA"].zpelem-text { text-transform:none; border-style:none; border-radius:1px; box-shadow:0px 0px 0px 0px #000000; } [data-element-id="elm_R7IDIiNKjMzK1j4k4hJ4UA"].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><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>Thu, 02 May 2019 21:15:07 +0700</pubDate></item><item><title><![CDATA[Tạo Page và Group trên Facebook]]></title><link>https://www.daihockhonggiay.com/blogs/post/tao-page-va-group-tren-facebook</link><description><![CDATA[<img align="left" hspace="5" src="https://www.daihockhonggiay.com/1.jpg"/>Fanpage facebook là một công cụ không thể thiếu khi kinh doanh bán hàng trên facebook, fanpage là nơi tương tác giữa bạn với khách hàng, là nơi trưng bày sản phảm, giới thiệu dịch vụ của bạn trên thị trường thương mại điện tử (kinh doanh trên mạng).]]></description><content:encoded><![CDATA[<div class="zpcontent-container blogpost-container "><div data-element-id="elm_JJepYe4XScqBcJ43M40pfg" data-element-type="section" class="zpsection "><style type="text/css"></style><div class="zpcontainer-fluid zpcontainer"><div data-element-id="elm_giuC1h07SNCXIBAW1z5Eog" 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_4NUTDaTdTTmuKhVQDZfPAg" data-element-type="column" class="zpelem-col zpcol-12 zpcol-md-12 zpcol-sm-12 zpalign-self- "><style type="text/css"> [data-element-id="elm_4NUTDaTdTTmuKhVQDZfPAg"].zpelem-col{ border-style:none; } </style><div data-element-id="elm_k9WQu8VtT2KN0YcLoAHNQw" data-element-type="text" class="zpelement zpelem-text "><style> [data-element-id="elm_k9WQu8VtT2KN0YcLoAHNQw"].zpelem-text { border-style:none; } </style><div class="zptext zptext-align-center " data-editor="true"><p><span style="color:inherit;"><span style="font-size:16px;font-style:italic;">Fanpage facebook là một công cụ không thể thiếu khi kinh doanh bán hàng trên facebook, fanpage là nơi tương tác giữa bạn với khách hàng, là nơi trưng bày sản phảm, giới thiệu dịch vụ của bạn trên thị trường thương mại điện tử (kinh doanh trên mạng).</span></span><br></p><p><span style="color:inherit;"><span style="font-size:16px;font-style:italic;"><br></span></span></p><blockquote style="margin:0px 0px 0px 40px;border:none;padding:0px;"><p style="text-align:left;margin-bottom:18px;font-size:16px;"><span style="font-weight:700;">1. Tạo Fanpage trên Facebook</span></p></blockquote><p style="margin-bottom:18px;font-size:16px;"><span style="font-weight:700;">Bước 1.</span>&nbsp;Tại giao diện chính trên Facebook, chúng ta nhấn chọn vào&nbsp;<span style="font-weight:700;">biểu tượng tam giác ngược&nbsp;</span>và chọn mục&nbsp;<span style="font-weight:700;">Tạo trang</span>. Hoặc truy cập vào link&nbsp;<a href="https://www.facebook.com/pages/creation" target="_blank" rel="nofollow" style="font-style:italic;text-decoration-line:underline;">https://www.facebook.com/pages/creation</a></p><p style="margin-bottom:18px;font-size:16px;"><img src="/1.png" style="width:739.12px;height:396px;"><br></p><blockquote style="margin:0px 0px 0px 40px;border:none;padding:0px;"><p style="text-align:left;margin-bottom:18px;font-size:16px;"><span style="font-weight:700;">Bước 2.</span>&nbsp;Tiếp đến, ở giao diện mới bạn sẽ nhìn thấy Facebook phân loại thành 2 nhóm danh mục. Chúng ta sẽ chọn&nbsp;<span style="font-weight:700;">Bắt đầu</span>trong mục&nbsp;<span style="font-weight:700;">Doanh nghiệp hoặc Thương hiệu.</span></p></blockquote><p style="margin-bottom:18px;font-size:16px;"><img src="/2.png" style="width:739px;height:421px;"><br></p><blockquote style="margin:0px 0px 0px 40px;border:none;padding:0px;"><p style="text-align:left;margin-bottom:18px;font-size:16px;"><span style="font-weight:700;">Bước 3.</span>&nbsp;Ở bước này, người dung sẽ điền các thông tin chi tiết về Fanpage của mình</p><p style="text-align:left;margin-bottom:18px;font-size:16px;"><span style="font-weight:700;">Tên trang</span>:&nbsp;<span style="font-weight:700;">nhập tên Fanpage Facebook</span>&nbsp;.Lưu ý, người dùng nên ưu tiên đặt tên Fanpage ngắn gọn, dễ nhớ, tốt nhất nên đặt theo&nbsp;<span style="font-weight:700;">tên sản phẩm + tên shop hoặc thương hiệu</span>. Như vậy, người dùng sẽ có thể dễ dàng tìm được cửa hàng khi tìm kiếm trên Facebook hoặc Google.</p><p style="text-align:left;margin-bottom:18px;font-size:16px;"><span style="font-weight:700;">Hạng mục</span>: Chọn hạng mục kinh doanh.</p><p style="text-align:left;margin-bottom:18px;font-size:16px;"><span style="font-weight:700;">Địa chỉ:</span>&nbsp;nhập địa chỉ cụ thể, rõ ràng.</p><p style="text-align:left;margin-bottom:18px;font-size:16px;"><span style="font-weight:700;">Mã Zip:</span>&nbsp;<span style="font-weight:700;">70000 nếu ở Tp.HCM</span>&nbsp;hoặc&nbsp;<span style="font-weight:700;">10000 nếu cửa hàng ở Hà Nội</span></p><p style="text-align:left;margin-bottom:18px;font-size:16px;"><span style="font-weight:700;">Điện thoại:&nbsp;</span>nhập số điện thoại để khách hang liên lạc</p><p style="text-align:left;margin-bottom:18px;font-size:16px;">Sau khi bạn đã nhập đầy đủ các thông tin cơ bản cho Fanpage bán hàng online của mình, nhấn&nbsp;<span style="font-weight:700;">Bắt đầu</span>&nbsp;để tiếp tục.</p></blockquote><p style="margin-bottom:18px;font-size:16px;"><img src="/3.png"><br></p><blockquote style="margin:0px 0px 0px 40px;border:none;padding:0px;"><p style="text-align:left;margin-bottom:18px;font-size:16px;"><span style="font-weight:700;">Bước 4.</span>&nbsp;Tiếp theo chọn &nbsp;ảnh đại diện và ảnh bìa từ Album hoặc bạn có thể tải ảnh lên từ thiết bị của mình.</p></blockquote><p style="margin-bottom:18px;font-size:16px;"><img src="/4.png"><br></p><p style="margin-bottom:18px;font-size:16px;"><img src="/5.png"><br></p><blockquote style="margin:0px 0px 0px 40px;border:none;padding:0px;"><p style="text-align:left;margin-bottom:18px;font-size:16px;"><span style="font-weight:700;">Bước 5.</span>&nbsp;Thêm mô tả ngắn cho Fanpage của mình</p><p style="text-align:left;margin-bottom:18px;font-size:16px;">Nhấn vào&nbsp;<span style="font-weight:700;">Thêm mô tả ngắn</span></p></blockquote><p style="margin-bottom:18px;font-size:16px;"><img src="/6.png" style="width:728.4px;height:570px;"><br></p><p style="margin-bottom:18px;font-size:16px;">Viết mô tả ngắn gọn, đầy đủ các thông tin về sản phẩm kinh doanh để khách hàng được biết. Nhấn&nbsp;<span style="font-weight:700;">Lưu&nbsp;</span>ở phía dưới.</p><p style="margin-bottom:18px;font-size:16px;"><img src="/7.png"><br></p><p style="margin-bottom:18px;font-size:16px;"><span style="font-weight:700;">Bước 6.</span>&nbsp; Tạo tên người dùng của trang&nbsp;</p><p style="margin-bottom:18px;font-size:16px;"><img src="/8.png"><br></p><blockquote style="margin:0px 0px 0px 40px;border:none;padding:0px;"><p style="margin-bottom:18px;font-size:16px;">Bạn nên chọn tên ngắn gọn, không chứa dấu, có thể có số hoặc 1 dấu chấm mà thôi.Facebook sẽ giúp chúng ta kiểm tra tên người dùng đó đã có trên Facebook hay chưa. Nếu bị trùng bạn sẽ nhận được thông báo và buộc phải nhập tên mới. Sau khi nhập tên người dùng của trang, bạn nhấn&nbsp;<span style="font-weight:700;">Tạo</span>&nbsp;<span style="font-weight:700;">tên người dùng</span>&nbsp;ở bên dưới để lưu lại. Khi tạo tên người dùng thành công, chúng ta sẽ nhận được thông báo từ Facebook như hình dưới. Nhấn&nbsp;<span style="font-weight:700;">OK</span></p></blockquote><p style="margin-bottom:18px;font-size:16px;"><img src="/9.png" style="font-size:14px;"></p><p style="margin-bottom:18px;font-size:16px;"><span style="text-align:left;font-weight:700;">B</span><span style="text-align:left;font-weight:700;">ước 7.</span><span style="text-align:left;">&nbsp; Khi đã hoàn thành xong bước trên, bạn sẽ có cho mình Fanpage Facebook bán hàng như hình dưới. Để thêm một số những thông tin khác cho trang, bạn nhấn chọn mục&nbsp;</span><span style="text-align:left;font-weight:700;">Giới thiệu</span><span style="text-align:left;">&nbsp;ở giao diện bên trái của trang.</span><span style="font-weight:700;"><img src="http://file.quantrimangdn.com//uploads/7fa8058b-29bd-4184-b7a7-eef4c4a5a5a5/2019/04/18/e07d8f85-6750-4dc9-adb8-c1c33f5e62e0.png"></span></p><p style="margin-bottom:18px;font-size:16px;">Nhấn tiếp mục&nbsp;<span style="font-weight:700;">Chỉnh sửa thông tin trang</span>.</p><p style="margin-bottom:18px;font-size:16px;"><img src="/10.png" style="width:705.25px;height:566px;"><br></p><blockquote style="margin:0px 0px 0px 40px;border:none;padding:0px;"><p style="text-align:left;margin-bottom:18px;font-size:16px;">Tại giao diện Chỉnh sửa chi tiết, bạn có thể thêm các thông tin cụ thể cho trang chẳng hạn điện thoại, trang web, điạ chỉ email, giờ làm việc,... Nhấn&nbsp;<span style="font-weight:700;">Lưu thay đổi</span>&nbsp;ở từng mục chỉnh sửa để lưu lại thông tin mới.&nbsp;</p></blockquote><p style="margin-bottom:18px;font-size:16px;"><img src="/vu/luu.png"><br></p><blockquote style="margin:0px 0px 0px 40px;border:none;padding:0px;"><p style="text-align:left;margin-bottom:18px;font-size:16px;"><span style="font-weight:700;">Bước 8.</span>&nbsp;Quay trở lại giao diện chính của trang, bạn nhấn chọn vào mục&nbsp;<span style="font-weight:700;">Thêm nút</span>. Việc này sẽ giúp khách hàng có thể tương tác với trang của bạn nhanh hơn.</p></blockquote><p style="margin-bottom:18px;font-size:16px;"><img src="/12.png" style="width:790.46px;height:475px;"><br></p><blockquote style="margin:0px 0px 0px 40px;border:none;padding:0px;"><p style="text-align:left;margin-bottom:18px;font-size:16px;">Sẽ có nhiều nút tương tác để chúng ta thêm cho Fanpage. Chẳng hạn ở đây tôi sẽ chọn Liên hệ với bạn. Ở đây, bạn có thể tạo nút Gọi ngay, Liên hệ với chúng tôi, Gửi tin nhắn, Đăng ký, Gửi email. Ở đây tôi sẽ chọn Gủi tin nhắn.</p></blockquote><p style="text-align:center;margin-bottom:18px;font-size:16px;"><img src="/13.png" style="width:772.56px;height:717px;"><br></p><blockquote style="margin:0px 0px 0px 40px;border:none;padding:0px;"><p style="text-align:left;margin-bottom:18px;font-size:16px;"><span style="font-weight:700;">2. Tạo Group</span></p><p style="text-align:left;margin-bottom:18px;font-size:16px;"><span style="font-weight:700;">Bước 1.</span>&nbsp;Đăng nhập tài khoản Facebook. Sau đó&nbsp;<span style="font-weight:700;">Tạo -&gt; Nhóm</span></p></blockquote><p style="margin-bottom:18px;font-size:16px;"><img src="/14.png" style="width:761.23px;height:441px;"><br></p><p style="margin-bottom:18px;font-size:16px;"><span style="font-weight:700;">Bước 2.</span>&nbsp;Ở phần&nbsp;<span style="font-weight:700;">Tạo nhóm mới,</span>&nbsp;bạn đặt tên của Group, sau đó chọn thêm&nbsp; 1 vài người bạn mà bạn muốn họ tham gia Group.</p><p style="margin-bottom:18px;font-size:16px;"><img src="/15.png"><br></p><p style="margin-bottom:18px;font-size:16px;">Sau đó chọn quyền riêng tư: ở đây có&nbsp;<span style="font-weight:700;">Công khai, Kín, Bí mật.</span></p><p style="margin-bottom:18px;font-size:16px;">Cuối cùng nhấn&nbsp;<span style="font-weight:700;">Tạo</span>&nbsp;để hoàn thành việc tạo nhóm.</p><blockquote style="margin:0px 0px 0px 40px;border:none;padding:0px;"><p style="text-align:left;margin-bottom:18px;font-size:16px;"><span style="font-weight:700;">Bước 3.</span>&nbsp;Tương tự như Fanpages và Facebook cá nhân bạn có thể tuỳ chọn Load ảnh hình nền cho Group.</p></blockquote><p style="text-align:center;margin-bottom:18px;font-size:16px;"><img src="/16.png" style="width:728.33px;height:624px;"><br></p><blockquote style="margin:0px 0px 0px 40px;border:none;padding:0px;"><p style="text-align:left;margin-bottom:18px;font-size:16px;">Ở trong trang của nhóm, bạn và thành viên nhóm có quyền mời bạn bè của mình tham gia, bằng các gõ địa chỉ Email, Số điện thoại hoặc tên tài khoản Facebook của người đó =&gt; sau đó nhấn Enter để thêm vào.</p><p style="text-align:left;margin-bottom:18px;font-size:16px;">Hoặc bạn cũng có thể tìm bạn bè ở mục&nbsp;THÀNH VIÊN ĐƯỢC ĐỀ XUẤT&nbsp;rồi click Thêm thành viên là OK.</p></blockquote><p style="margin-bottom:18px;font-size:16px;"><img src="/17.png"><br></p><p><span style="color:inherit;"></span></p><p style="margin-bottom:18px;font-size:16px;">-----&amp;-----&amp;-----</p><p style="text-align:left;margin-bottom:18px;font-size:16px;"></p><blockquote style="margin:0px 0px 0px 40px;border:none;padding:0px;"><p style="text-align:left;margin-bottom:18px;font-size:16px;"><span style="font-weight:bold;">3. Video tham khảo</span></p><p style="text-align:left;margin-bottom:18px;font-size:16px;"><span style="font-weight:bold;"><br></span></p></blockquote><p></p></div>
</div><div data-element-id="elm_qeMsdMLzl72LHHIdyNrPEA" data-element-type="iframe" class="zpelement zpelem-iframe "><style type="text/css"> [data-element-id="elm_qeMsdMLzl72LHHIdyNrPEA"].zpelem-iframe{ border-style:none; border-radius:1px; box-shadow:0px 0px 0px 0px #000000; } </style><div class="zpiframe-container zpiframe-align-center"><iframe class="zpiframe " src="https://www.youtube.com/embed/cJfxwrud5Xk" width="560" height="315" align="center" allowfullscreen frameBorder="0"></iframe></div>
</div></div></div></div></div></div> ]]></content:encoded><pubDate>Thu, 02 May 2019 20:31:06 +0700</pubDate></item></channel></rss>