Traceroute ដែលជាឧបករណ៍បន្ទាត់ពាក្យបញ្ជាដែលបានបង្កប់នៅក្នុងប្រព័ន្ធប្រតិបត្តិការភាគច្រើន បម្រើជាគន្លឹះក្នុងការដោះសោផ្លូវទាំងនេះ ដោយផ្តល់នូវការយល់ដឹងអំពីដំណើរដ៏ស្មុគស្មាញនៃកញ្ចប់ទិន្នន័យពីប្រភពទៅគោលដៅ។ ឧបករណ៍នេះមិនមែនសម្រាប់តែអ្នកគ្រប់គ្រងបណ្តាញប៉ុណ្ណោះទេ។ វាជាទ្រព្យដ៏មានតម្លៃសម្រាប់អ្នកណាម្នាក់ដែលសម្លឹងរកការវិភាគបញ្ហាបណ្ដាញ ឬគ្រាន់តែចង់ដឹងអំពីការងារខាងក្នុងរបស់អ៊ីនធឺណិត។
Traceroute គឺជាឧបករណ៍ប្រើប្រាស់ក្នុងការវិនិច្ឆ័យដែលគូសផែនទីផ្លូវដែលយកដោយកញ្ចប់ព័ត៌មានឆ្លងកាត់បណ្តាញ IP ។ តោះស្វែងយល់ពី traceroute៖
តើ Traceroute គឺជាអ្វី?
traceroute គឺជាពាក្យបញ្ជា ឬឧបករណ៍វិភាគបណ្តាញដែលប្រើដើម្បីតាមដានផ្លូវដែលកញ្ចប់ព័ត៌មាន Internet Protocol (IP) យកពីប្រភព (កុំព្យូទ័ររបស់អ្នក) ទៅកាន់គោលដៅមួយ (ជាធម្មតាគេហទំព័រ ឬម៉ាស៊ីនមេ)។ វាផ្តល់នូវផែនទីផ្លូវលម្អិតនៃការធ្វើដំណើររបស់កញ្ចប់ព័ត៌មានឆ្លងកាត់បណ្តាញ ដោយបង្ហាញ hop ឬ node នីមួយៗ (ដូចជា routers និង switches) ដែល packets ឆ្លងកាត់រហូតដល់ពួកគេទៅដល់គោលដៅរបស់ពួកគេ។ ឧបករណ៍នេះមានតម្លៃមិនអាចកាត់ថ្លៃបានសម្រាប់ការធ្វើរោគវិនិច្ឆ័យបញ្ហាបណ្តាញ ការយល់ដឹងអំពីរចនាសម្ព័ន្ធបណ្តាញ និងការបង្កើនប្រសិទ្ធភាពប្រតិបត្តិការបណ្តាញ។
និយមន័យនិងគោលបំណងនៃ Traceroute
នៅស្នូលរបស់វា traceroute ត្រូវបានរចនាឡើងដើម្បីឆ្លើយសំណួរសាមញ្ញមួយ: "តើទិន្នន័យរបស់ខ្ញុំត្រូវដើរតាមផ្លូវណាដើម្បីទទួលបានពីទីនេះទៅទីនោះ?" នៅពេលអ្នកបញ្ចូលអាសយដ្ឋានគេហទំព័រទៅក្នុងកម្មវិធីរុករករបស់អ្នក សំណើរបស់អ្នកមិនធ្វើដំណើរដោយផ្ទាល់ទៅកាន់ម៉ាស៊ីនមេដែលបង្ហោះគេហទំព័រនោះទេ។ ផ្ទុយទៅវិញ វាដំណើរការតាមរយៈរ៉ោតទ័រ និងបណ្តាញជាបន្តបន្ទាប់ ដែលជំហាននីមួយៗនាំវាឱ្យខិតទៅជិតគោលដៅចុងក្រោយរបស់វា។ Traceroute គូសផែនទីជំហានទាំងនេះ ដោយផ្តល់នូវអាសយដ្ឋាន IP របស់ហបនីមួយៗ និងពេលវេលាដែលវាត្រូវការសម្រាប់ទិន្នន័យរបស់អ្នកក្នុងការធ្វើដំណើរពីចំណុចមួយទៅចំណុចបន្ទាប់។
គោលបំណងចម្បងនៃ traceroute រួមមាន:
- ការដោះស្រាយបញ្ហាបណ្តាញ៖ តាមរយៈការបង្ហាញកន្លែងដែលកញ្ចប់ព័ត៌មានឈប់ ឬបន្ថយល្បឿន traceroute ជួយកំណត់អត្តសញ្ញាណការកកស្ទះបណ្តាញ ការកំណត់មិនត្រឹមត្រូវ ឬការបរាជ័យ។
- ការវិភាគការអនុវត្ត៖ ការវាស់វែងពេលវេលារវាង hops អាចបង្ហាញពីកន្លែងដែលការពន្យារពេលកើតឡើង ដោយជួយកំណត់ពីបញ្ហានៃដំណើរការ។
- ការមើលឃើញផ្លូវ៖ Traceroute បង្ហាញពីទិន្នន័យផ្លូវស្មុគស្មាញជាញឹកញាប់ឆ្លងកាត់អ៊ីនធឺណិត ដែលអាចមានប្រយោជន៍សម្រាប់ការយល់ដឹងពីរបៀបដែលបណ្តាញភ្ជាប់គ្នាទៅវិញទៅមក។
ការវិវត្តន៍នៃ Traceroute: ពី UNIX ដល់ប្រព័ន្ធប្រតិបត្តិការទំនើប
ប្រភពដើមនៃ traceroute អាចត្រូវបានតាមដានត្រឡប់ទៅប្រព័ន្ធប្រតិបត្តិការ UNIX ក្នុងទសវត្សរ៍ឆ្នាំ 1980 ដែលជាពេលវេលាដែលអ៊ីនធឺណិតនៅតែស្ថិតក្នុងវ័យកុមារនៅឡើយ។ ឧបករណ៍នេះត្រូវបានរចនាឡើងដំបូងដើម្បីជួយអ្នកគ្រប់គ្រងបណ្តាញដោះស្រាយបញ្ហាដោយកំណត់ចំណុចបរាជ័យបណ្តាញ។
ចាប់តាំងពីពេលនោះមក traceroute បានវិវត្ត និងត្រូវបានកែសម្រួលទៅជាទម្រង់ផ្សេងៗសម្រាប់ប្រព័ន្ធប្រតិបត្តិការផ្សេងៗគ្នា រួមទាំង tracert សម្រាប់ Windows និងពាក្យបញ្ជា traceroute ស្តង់ដារសម្រាប់ប្រព័ន្ធ UNIX ដូចជា Linux និង macOS ជាដើម។
ទោះបីជាមានការវិវត្តន៍នៃអ៊ីនធឺណិត និងការអភិវឌ្ឍន៍ឧបករណ៍វិភាគបណ្តាញដ៏ទំនើបក៏ដោយ traceroute នៅតែជាឧបករណ៍ប្រើប្រាស់ជាមូលដ្ឋាន។ ភាពពាក់ព័ន្ធយូរអង្វែងរបស់វាគឺជាសក្ខីភាពមួយក្នុងការស្វែងយល់អំពីផ្លូវដែលទិន្នន័យរបស់យើងធ្វើដំណើរ។ ដោយសារបណ្តាញបានរីកចម្រើនក្នុងភាពស្មុគស្មាញ ដូច្នេះក៏មានឧបករណ៍ប្រើប្រាស់នៃ traceroute ក្នុងការធ្វើរោគវិនិច្ឆ័យ និងដោះស្រាយបញ្ហាការតភ្ជាប់ផងដែរ។
ដំណើររបស់ Traceroute ពីឧបករណ៍ប្រើប្រាស់ UNIX ទៅជាឧបករណ៍ស្តង់ដារនៅក្នុងប្រព័ន្ធប្រតិបត្តិការទំនើបឆ្លុះបញ្ចាំងពីសារៈសំខាន់កាន់តែខ្លាំងឡើងនៃការវិភាគបណ្តាញនៅក្នុងពិភពដែលមានទំនាក់ទំនងកាន់តែខ្លាំងឡើងរបស់យើង។
Traceroute ផ្តល់នូវបង្អួចចូលទៅក្នុងបណ្តាញដ៏ស្មុគស្មាញនៃការតភ្ជាប់ដែលគាំទ្រដល់ជីវិតឌីជីថលរបស់យើង ថាតើវាសម្រាប់ដោះស្រាយបញ្ហា បង្កើនប្រសិទ្ធភាពប្រតិបត្តិការបណ្តាញ ឬបំពេញការចង់ដឹងចង់ឃើញអំពីការងារខាងក្នុងរបស់អ៊ីនធឺណិត។
Traceroute គឺច្រើនជាងគ្រាន់តែជាឧបករណ៍វិនិច្ឆ័យ។ វាជាស្ពានតភ្ជាប់អ្នកប្រើប្រាស់ទៅកាន់ផ្លូវដែលមើលមិនឃើញនៃអ៊ីនធឺណិត។ ការវិវត្តរបស់វាពីឧបករណ៍ប្រើប្រាស់យូនីកដ៏សាមញ្ញទៅជាប្រព័ន្ធប្រតិបត្តិការទំនើប គូសបញ្ជាក់អំពីតម្លៃរបស់វាក្នុងការរុករកបណ្តាញស្មុគស្មាញដែលជួយសម្រួលដល់ពិភពឌីជីថលរបស់យើង។
មិនថាអ្នកជាអ្នកជំនាញបណ្តាញ ឬអ្នកប្រើប្រាស់អ៊ីនធឺណេតដែលចង់ដឹងចង់ឃើញនោះទេ ការយល់ដឹងអំពីមូលដ្ឋានគ្រឹះនៃ traceroute គឺជាជំហានឆ្ពោះទៅរកការលុបបំបាត់ផ្លូវឌីជីថលដែលភ្ជាប់យើងទាំងអស់គ្នា។
របៀបដែល Traceroute ដំណើរការ: ទិដ្ឋភាពទូទៅបច្ចេកទេស
Traceroute ប្រើប្រាស់វាល TTL (Time to Live) នៅក្នុងបឋមកថា IP packet ដែលកំណត់ចំនួន hops packet ដែលអាចបង្កើតបានមុនពេលត្រូវបានគេបោះចោល។ នេះគឺជាការពន្យល់ជាជំហាន ៗ អំពីរបៀបដែល traceroute ដំណើរការ៖
- ការចាប់ផ្តើម៖ ឧបករណ៍ចាប់ផ្តើមដោយការផ្ញើស៊េរីនៃកញ្ចប់ព័ត៌មានទៅកាន់គោលដៅដោយតម្លៃ TTL នៃ 1 ។ នេះមានន័យថាកញ្ចប់ព័ត៌មានត្រូវបានរចនាឡើងដើម្បី "ផុតកំណត់" ភ្លាមៗនៅពេលដែលពួកគេបានបុករ៉ោតទ័រដំបូងនៅក្នុងផ្លូវ។
- អត្តសញ្ញាណ Hop៖ នៅពេលទទួលបានកញ្ចប់ព័ត៌មាន រ៉ោតទ័រនីមួយៗបន្ថយ TTL របស់ខ្លួនដោយ 1 ។ ប្រសិនបើ TTL ឈានដល់ 0 រ៉ោតទ័រឈប់បញ្ជូនកញ្ចប់ព័ត៌មាន ហើយផ្ញើសារ ICMP "លើសម៉ោង" ត្រឡប់ទៅប្រភព ដោយបង្ហាញអាសយដ្ឋាន IP របស់រ៉ោតទ័រ។
- ការបង្កើន TTL៖ បន្ទាប់មក Traceroute ផ្ញើកញ្ចប់ព័ត៌មានមួយទៀត លើកនេះជាមួយ TTL នៃ 2 ដូច្នេះពួកគេទៅដល់រ៉ោតទ័រទីពីរ មុនពេលផុតកំណត់។ ដំណើរការនេះកើតឡើងម្តងទៀត ដោយបង្កើន TTL ដោយ 1 រាល់ពេល រហូតដល់កញ្ចប់ព័ត៌មានទៅដល់គោលដៅ ឬដែនកំណត់អតិបរមាត្រូវបានបំពេញ។
- ការថតពេលវេលាឆ្លើយតប៖ សម្រាប់កញ្ចប់នីមួយៗដែលបានផ្ញើ traceroute កត់ត្រាពេលវេលាធ្វើដំណើរទៅមក (RTT) - ពេលវេលាដែលវាត្រូវការសម្រាប់កញ្ចប់ព័ត៌មានដើម្បីចេញពីប្រភពទៅកាន់រ៉ោតទ័រ និងត្រឡប់មកវិញ។ ជាធម្មតា កញ្ចប់បីត្រូវបានផ្ញើក្នុងមួយហឹប ដើម្បីផ្តល់ពេលវេលាឆ្លើយតបជាមធ្យម។
ឧទាហរណ៍នៃពាក្យបញ្ជា Traceroute
នៅលើប្រព័ន្ធវីនដូ អ្នកអាចប្រើ tracert
បញ្ជាដូចនេះ៖
tracert example.com
នៅលើ macOS ឬ Linux ពាក្យបញ្ជានឹងមានៈ
traceroute example.com
លទ្ធផលគំរូ
ឧទាហរណ៍សាមញ្ញនៃលទ្ធផល traceroute ទៅ example.com
អាចមើលទៅដូចនេះ៖
1 router1.local (192.168.1.1) 1.123 ms 1.456 ms 1.789 ms
2 isp-gateway.example.net (203.0.113.1) 2.345 ms 2.678 ms 2.901 ms
3 isp-core-router.example.net (203.0.113.2) 3.567 ms 3.890 ms 4.123 ms
4 internet-backbone1.example.com (198.51.100.1) 10.456 ms 11.789 ms 12.345 ms
5 datacenter-edge.example.com (198.51.100.2) 20.678 ms 21.901 ms 22.345 ms
6 example.com (93.184.216.34) 30.123 ms 31.456 ms 32.789 ms
នៅក្នុងលទ្ធផលនេះ បន្ទាត់នីមួយៗតំណាងឱ្យការលោតក្នុងផ្លូវទៅ example.com
. ជួរឈរបង្ហាញលេខហប ឈ្មោះម៉ាស៊ីន និងអាសយដ្ឋាន IP របស់រ៉ោតទ័រ និងការវាស់វែង RTT ចំនួនបីគិតជាមិល្លីវិនាទី។ បន្ទាត់ចុងក្រោយបង្ហាញថាកញ្ចប់ព័ត៌មានបានទៅដល់គោលដៅរបស់ពួកគេ។
ការយល់ដឹងអំពីផ្លូវនៃកញ្ចប់ទិន្នន័យ
ផ្លូវដែលកញ្ចប់ទិន្នន័យយកអាចត្រូវបានជះឥទ្ធិពលដោយកត្តាផ្សេងៗ រួមទាំងពិធីការនាំផ្លូវ ការកកស្ទះបណ្តាញ និងប្លង់ជាក់ស្តែងនៃហេដ្ឋារចនាសម្ព័ន្ធអ៊ីនធឺណិត។ Traceroute ផ្តល់នូវរូបថតនៃផ្លូវនេះនៅចំណុចជាក់លាក់មួយក្នុងពេលវេលា ដែលអាចផ្លាស់ប្តូរនៅពេលដែលបណ្តាញកែតម្រូវផ្លូវសម្រាប់ប្រសិទ្ធភាព ឬដើម្បីគេចចេញពីបញ្ហា។
ជារួម traceroute បង្ហាញពីដំណើរដ៏ស្មុគស្មាញនៃទិន្នន័យនៅលើអ៊ីនធឺណិត ដោយផ្តល់នូវការយល់ដឹងអំពីរចនាសម្ព័ន្ធ និងដំណើរការនៃបណ្តាញ។ មិនថាត្រូវបានប្រើប្រាស់ដោយអ្នកជំនាញបណ្តាញដើម្បីដោះស្រាយបញ្ហា និងបង្កើនប្រសិទ្ធភាព ឬដោយបុគ្គលដែលចង់ដឹងចង់ឃើញដើម្បីស្វែងរកផ្លូវឌីជីថលដែលភ្ជាប់ពិភពលោករបស់យើងទេ traceroute នៅតែជាឧបករណ៍សំខាន់នៅក្នុងកញ្ចប់ឧបករណ៍បណ្តាញ។
សារៈសំខាន់នៃ Traceroute
Traceroute ដែលជាឧបករណ៍វិនិច្ឆ័យដែលបង្កប់នៅក្នុងប្រព័ន្ធប្រតិបត្តិការស្ទើរតែទាំងអស់ ដើរតួយ៉ាងសំខាន់ក្នុងការយល់ដឹងនេះ។ សារៈសំខាន់របស់វាលាតសន្ធឹងលើទិដ្ឋភាពជាច្រើននៃការគ្រប់គ្រងបណ្តាញ និងការបង្កើនប្រសិទ្ធភាព ដែលធ្វើឱ្យវាក្លាយជាឧបករណ៍ដែលមិនអាចខ្វះបានសម្រាប់អ្នកគ្រប់គ្រងបណ្តាញ វិស្វករ និងសូម្បីតែអ្នកប្រើប្រាស់ចុងក្រោយដែលកំពុងស្វែងរកការដោះស្រាយបញ្ហាការតភ្ជាប់។
ការធ្វើរោគវិនិច្ឆ័យការប្រើប្រាស់ Traceroute ក្នុងបណ្តាញ
Traceroute ត្រូវបានប្រើជាចម្បងសម្រាប់ការធ្វើរោគវិនិច្ឆ័យបញ្ហាបណ្តាញ។ នៅពេលដែលគេហទំព័រ ឬសេវាកម្មអនឡាញមិនអាចទៅដល់បាន ឬនៅពេលដែលការតភ្ជាប់អ៊ីនធឺណិតមានភាពយឺតយ៉ាវ ឬជាប់គាំងនោះ traceroute អាចជួយកំណត់កន្លែងដែលបញ្ហាស្ថិតនៅ។ តាមរយៈការគូសផែនទីចេញនូវកញ្ចប់ទិន្នន័យផ្លូវដែលត្រូវទៅដល់គោលដៅរបស់ពួកគេ traceroute ផ្តល់នូវគណនីមួយជំហានម្តងមួយៗអំពីកន្លែងដែលមានការពន្យារពេល ឬការបាត់បង់កើតឡើង។
ឧទាហរណ៍ ប្រសិនបើ traceroute ទៅកាន់គេហទំព័រជាក់លាក់មួយបង្ហាញថា packets កំពុងទៅដល់បណ្តាញអន្តរការី ប៉ុន្តែមិនដំណើរការលើសពីវាទេ បញ្ហាទំនងជាស្ថិតនៅក្នុងបណ្តាញនោះ។ ព័ត៌មាននេះមានសារៈសំខាន់ណាស់សម្រាប់អ្នកគ្រប់គ្រងបណ្តាញ ដែលបន្ទាប់មកអាចធ្វើការដោយផ្ទាល់ជាមួយប្រតិបត្តិករនៃបណ្តាញដែលរងផលប៉ះពាល់ ឬបញ្ជូនចរាចរណ៍ឡើងវិញដើម្បីឆ្លងកាត់តំបន់ដែលមានបញ្ហា។
ឧទាហរណ៍៖ ការធ្វើរោគវិនិច្ឆ័យការតភ្ជាប់យឺត
ពិចារណាលើសេណារីយ៉ូដែលអ្នកប្រើប្រាស់រាយការណ៍អំពីការតភ្ជាប់យឺតទៅនឹងសេវាកម្មពពក។ អ្នកគ្រប់គ្រងបណ្តាញអាចដំណើរការពាក្យបញ្ជា traceroute ខាងក្រោម៖
traceroute cloudservice.com
លទ្ធផលអាចបង្ហាញថាកញ្ចប់ព័ត៌មានឆ្លងកាត់រ៉ោតទ័រជាច្រើនជាមួយនឹងពេលវេលាឆ្លើយតបសមហេតុផល រហូតដល់ពួកគេទៅដល់រ៉ោតទ័រជាក់លាក់មួយ ដែលពេលវេលាឆ្លើយតបកើនឡើងយ៉ាងខ្លាំង ដែលបង្ហាញពីការស្ទះ ឬបញ្ហាដែលអាចកើតមាននៅចំណុចនោះនៅក្នុងបណ្តាញ។
ការវិភាគការអនុវត្ត
លើសពីការធ្វើរោគវិនិច្ឆ័យបញ្ហា traceroute ក៏ត្រូវបានប្រើសម្រាប់ការវិភាគការអនុវត្តផងដែរ។ តាមរយៈការពិនិត្យមើលពេលវេលាធ្វើដំណើរទៅមក (RTTs) សម្រាប់ការលោតនីមួយៗ អ្នកគ្រប់គ្រងអាចកំណត់អត្តសញ្ញាណបញ្ហាដែលអាចកើតមាននៅក្នុងបណ្តាញ។ វាមានប្រយោជន៍ជាពិសេសនៅក្នុងបណ្តាញស្មុគស្មាញ ដែលទិន្នន័យឆ្លងកាត់រ៉ោតទ័រ និងបណ្តាញជាច្រើន មុនពេលទៅដល់គោលដៅរបស់វា។
សមត្ថភាពរបស់ Traceroute ក្នុងការវាស់វែងភាពយឺតយ៉ាវនៅទូទាំងផ្នែកនីមួយៗនៃផ្លូវអនុញ្ញាតឱ្យមានការយល់ដឹងច្បាស់លាស់អំពីដំណើរការបណ្តាញ។ វាជួយក្នុងការបែងចែករវាងបញ្ហាដែលទាក់ទងនឹងបណ្តាញមូលដ្ឋានរបស់អ្នកប្រើប្រាស់ធៀបនឹងបញ្ហាខាងក្រៅ ដូចជាការកកស្ទះឆ្អឹងខ្នងអ៊ីនធឺណិត ឬបញ្ហានៅក្នុងបណ្តាញរបស់អ្នកផ្តល់សេវា។
ឧទាហរណ៍៖ ការបង្កើនប្រសិទ្ធភាពប្រតិបត្តិការបណ្តាញ
ស្ថាប័នមួយអាចប្រើ traceroute ដើម្បីបង្កើនប្រសិទ្ធភាពដំណើរការនៃការតភ្ជាប់បណ្តាញរបស់ពួកគេទៅនឹងសេវាកម្មសំខាន់ៗ។ តាមរយៈការត្រួតពិនិត្យជាប្រចាំនូវលទ្ធផល traceroute ពួកគេអាចកំណត់អត្តសញ្ញាណនិន្នាការនៃភាពយឺតយ៉ាវនៃបណ្តាញ និងធ្វើការជាមួយ ISPs ដើម្បីបង្កើនប្រសិទ្ធភាពផ្លូវ ឬសូម្បីតែសម្រេចចិត្តប្តូរអ្នកផ្តល់សេវាសម្រាប់ការតភ្ជាប់កាន់តែប្រសើរ។
ការមើលឃើញផ្លូវ
Traceroute ផ្តល់នូវការបង្ហាញរូបភាពនៃទិន្នន័យផ្លូវដែលឆ្លងកាត់បណ្តាញ។ ការមើលឃើញនេះមិនមែនគ្រាន់តែជាលទ្ធផលបច្ចេកទេសប៉ុណ្ណោះទេ ប៉ុន្តែជាផែនទីនៃដំណើរឌីជីថល ដោយផ្តល់នូវការយល់ដឹងអំពីរបៀបដែលអ៊ីនធឺណិតត្រូវបានរៀបចំ និងរបៀបដែលបណ្តាញផ្សេងគ្នាត្រូវបានភ្ជាប់គ្នាទៅវិញទៅមក។
ទិដ្ឋភាពនៃ traceroute នេះត្រូវបានបំភ្លឺជាពិសេសនៅក្នុងបរិបទអប់រំ ដែលសិស្សដែលរៀនអំពីបណ្តាញអាចមើលឃើញការអនុវត្តជាក់ស្តែងនៃពិធីការនាំផ្លូវ និងរចនាសម្ព័ន្ធពិភពពិតនៃអ៊ីនធឺណិត។ វាបន្សាបគំនិតអរូបីនៃអ៊ីនធឺណិតជា "ពពក" ហើយជំនួសវាដោយផែនទីនៃការតភ្ជាប់ជាក់ស្តែង។
ឧទាហរណ៍៖ ការប្រើប្រាស់ការអប់រំ
នៅក្នុងការកំណត់ថ្នាក់រៀន គ្រូអាចប្រើ traceroute ដើម្បីបង្ហាញពីរបៀបដែលទិន្នន័យធ្វើដំណើរពីបណ្តាញរបស់សាលាទៅកាន់គេហទំព័រអន្តរជាតិ។ ការបង្ហាញនេះអាចបង្ហាញពីចំនួនអ្នកលោតចូល លក្ខណៈអន្តរជាតិនៃការតភ្ជាប់អ៊ីនធឺណិត និងរបៀបដែលទិន្នន័យអាចឆ្លងកាត់អ្នកផ្តល់សេវាជាច្រើនដើម្បីទៅដល់គោលដៅរបស់វា។
របៀបអនុវត្ត Traceroute
ការយល់ដឹងអំពីផ្លូវដែលទិន្នន័យឆ្លងកាត់អ៊ីនធឺណែតមានសារៈសំខាន់ណាស់សម្រាប់ការធ្វើរោគវិនិច្ឆ័យបញ្ហាបណ្តាញ បង្កើនប្រសិទ្ធភាពប្រតិបត្តិការ និងការទទួលបានការយល់ដឹងអំពីរចនាសម្ព័ន្ធនៃអ៊ីនធឺណិត។ Traceroute គឺជាឧបករណ៍ដ៏មានឥទ្ធិពលដែលផ្តល់នូវការយល់ដឹងនេះដោយការគូសផែនទីការធ្វើដំណើរនៃកញ្ចប់ព័ត៌មានពីប្រភពមួយទៅទិសដៅមួយ។ នៅទីនេះ យើងស្វែងយល់ពីរបៀបអនុវត្ត traceroute ឆ្លងកាត់ប្រព័ន្ធប្រតិបត្តិការផ្សេងៗគ្នា ដោយផ្តល់ជូននូវការណែនាំដ៏ទូលំទូលាយដែលរួមមានការបង្ហាញ និងឧទាហរណ៍។
កំពុងរៀបចំប្រើប្រាស់ Traceroute៖ តម្រូវការប្រព័ន្ធ
មុននឹងចូលទៅក្នុងភាពជាក់លាក់នៃការអនុវត្ត traceroute វាចាំបាច់ក្នុងការធានាថាប្រព័ន្ធរបស់អ្នករួចរាល់ហើយ។ ដំណឹងល្អគឺថា traceroute មិនតម្រូវឱ្យមានការដំឡើងកម្មវិធីពិសេសណាមួយនៅលើប្រព័ន្ធប្រតិបត្តិការភាគច្រើនទេ វាមានភ្ជាប់មកជាមួយ។ ទោះយ៉ាងណាក៏ដោយ អ្នកគួរតែមាន៖
- ការតភ្ជាប់អ៊ីនធឺណិតមានស្ថេរភាព៖ ដើម្បីតាមដានផ្លូវទៅកាន់គោលដៅបានត្រឹមត្រូវ ឧបករណ៍របស់អ្នកត្រូវតែភ្ជាប់ទៅអ៊ីនធឺណិត។
- ការចូលប្រើ Terminal ឬ Command Prompt៖ ពាក្យបញ្ជា Traceroute ត្រូវបានប្រតិបត្តិនៅក្នុង Terminal នៅលើ macOS និង Linux ឬ Command Prompt នៅលើ Windows ។
- ការចូលប្រើរដ្ឋបាល ឬជា root (ជាជម្រើស)៖ ទោះបីជាមិនតែងតែចាំបាច់ក៏ដោយ ពាក្យបញ្ជា traceroute ឬជម្រើសមួយចំនួនអាចទាមទារសិទ្ធិខ្ពស់ជាង ជាពិសេសនៅលើប្រព័ន្ធដូច UNIX ។
ការណែនាំជាជំហាន ៗ ដើម្បីអនុវត្ត Traceroute នៅលើ Windows
អ្នកប្រើប្រាស់វីនដូអាចប្រើ tracert
បញ្ជាឱ្យអនុវត្ត traceroute មួយ។ នេះជារបៀប៖
- បើក Command Prompt៖
- នៅលើ Windows 10/11 វាយ
cmd
នៅក្នុងរបារស្វែងរកម៉ឺនុយចាប់ផ្តើមហើយចុចបញ្ចូល។ - សម្រាប់កំណែចាស់ អ្នកប្រហែលជាត្រូវចូលប្រើ Command Prompt តាមរយៈថត Accessories ក្នុងម៉ឺនុយចាប់ផ្តើម។
- ដំណើរការពាក្យបញ្ជា Traceroute៖
- នៅក្នុងបង្អួច Command Prompt វាយពាក្យបញ្ជា
tracert <destination>
, ជំនួស<destination>
ជាមួយឈ្មោះដែន ឬអាសយដ្ឋាន IP ដែលអ្នកចង់តាមដាន។ ឧទាហរណ៍:cmd tracert example.com
- ចុច Enter ដើម្បីប្រតិបត្តិពាក្យបញ្ជា។
- វិភាគលទ្ធផល៖
- ប្រអប់បញ្ចូលពាក្យបញ្ជានឹងបង្ហាញវឌ្ឍនភាពរបស់ traceroute ក្នុងពេលវេលាជាក់ស្តែង ដោយបង្ហាញការលោតនីមួយៗ និងពេលវេលាដែលវាត្រូវការសម្រាប់កញ្ចប់ព័ត៌មានដើម្បីធ្វើដំណើរទៅមក។
ឧទាហរណ៍ Output នៅលើ Windows៖
Tracing route to example.com [93.184.216.34]
over a maximum of 30 hops:
1 <1 ms <1 ms <1 ms router.local [192.168.1.1]
2 10 ms 9 ms 11 ms isp-gateway.example.net [203.0.113.1]
3 15 ms 14 ms 16 ms isp-core-router.example.net [203.0.113.2]
...
ដំណើរការ Traceroute នៅលើប្រព័ន្ធដូច UNIX (macOS, Linux)
នៅលើ macOS និង Linux ដំណើរការគឺស្រដៀងគ្នា ប៉ុន្តែប្រើ traceroute
បញ្ជា។
- បើកស្ថានីយ៖
- នៅលើ macOS សូមស្វែងរក Terminal នៅក្នុងកម្មវិធី > Utilities។
- នៅលើ Linux ជាធម្មតា Terminal អាចត្រូវបានរកឃើញនៅក្នុងម៉ឺនុយកម្មវិធីរបស់អ្នក ទោះបីជាទីតាំងពិតប្រាកដអាចប្រែប្រួលដោយការចែកចាយក៏ដោយ។
- ដំណើរការពាក្យបញ្ជា Traceroute៖
- ប្រភេទ
traceroute <destination>
នៅក្នុង Terminal, ជំនួស<destination>
ជាមួយដែនគោលដៅ ឬអាសយដ្ឋាន IP របស់អ្នក។ ឧទាហរណ៍៖bash traceroute example.com
- ចុច Enter ដើម្បីចាប់ផ្តើម traceroute ។
- ពិនិត្យមើលលទ្ធផល៖
- Terminal នឹងបង្ហាញ hop នីមួយៗ ស្រដៀងនឹង Windows ប៉ុន្តែអាចរួមបញ្ចូលព័ត៌មានបន្ថែម ឬប្រើទម្រង់ផ្សេងគ្នាបន្តិច។
លទ្ធផលឧទាហរណ៍នៅលើប្រព័ន្ធដូចយូនីក៖
traceroute to example.com (93.184.216.34), 64 hops max, 52 byte packets
1 router.local (192.168.1.1) 1.206 ms 0.911 ms 0.892 ms
2 isp-gateway.example.net (203.0.113.1) 10.183 ms 9.872 ms 10.123 ms
3 isp-core-router.example.net (203.0.113.2) 14.673 ms 15.062 ms 14.892 ms
...
ការបកស្រាយលទ្ធផល Traceroute
ដោយមិនគិតពីប្រព័ន្ធប្រតិបត្តិការ ការបកស្រាយលទ្ធផល traceroute អនុវត្តតាមគោលការណ៍ដូចគ្នា។ បន្ទាត់នីមួយៗតំណាងឱ្យការលោតក្នុងការធ្វើដំណើរពីកុំព្យូទ័ររបស់អ្នកទៅកាន់គោលដៅ។ ជួរឈរបង្ហាញ៖
- លេខលោត៖ លេខបន្តបន្ទាប់ដែលបង្ហាញពីទីតាំងរបស់រ៉ោតទ័រនៅក្នុងផ្លូវ។
- អាសយដ្ឋាន IP/ឈ្មោះម៉ាស៊ីន៖ អាសយដ្ឋាន ឬឈ្មោះរបស់រ៉ោតទ័រនៅហបនេះ។
- ពេលវេលាធ្វើដំណើរទៅមក (RTTs)៖ ពេលវេលាដែលវាត្រូវការសម្រាប់កញ្ចប់ព័ត៌មានដើម្បីធ្វើដំណើរទៅហប និងត្រឡប់មកវិញ ដែលជាធម្មតាបង្ហាញជាមីលីវិនាទី។ ការព្យាយាមបីដងត្រូវបានធ្វើឡើងក្នុងមួយលោត ដើម្បីផ្តល់ពេលវេលាឆ្លើយតបជាមធ្យម។
ការយល់ដឹងអំពីលទ្ធផលទាំងនេះអាចជួយកំណត់អត្តសញ្ញាណកន្លែងដែលការពន្យារពេល ឬការបាត់បង់កញ្ចប់ព័ត៌មានកើតឡើង ដោយផ្តល់នូវការយល់ដឹងដ៏មានតម្លៃសម្រាប់ការដោះស្រាយបញ្ហាបណ្តាញ ឬបង្កើនប្រសិទ្ធភាពប្រតិបត្តិការ។
បច្ចេកទេស Traceroute កម្រិតខ្ពស់
ខណៈពេលដែលពាក្យបញ្ជា traceroute មូលដ្ឋានផ្តល់នូវការយល់ដឹងដ៏មានតម្លៃចូលទៅក្នុងកញ្ចប់ផ្លូវដែលឆ្លងកាត់បណ្តាញនោះ បច្ចេកទេស traceroute កម្រិតខ្ពស់អាចផ្តល់នូវការវិភាគកាន់តែស៊ីជម្រៅ និងព័ត៌មានលម្អិតបន្ថែមទៀត និងជួយយកឈ្នះលើដែនកំណត់ជាក់លាក់នៃពាក្យបញ្ជា traceroute ស្តង់ដារ។ បច្ចេកទេសទាំងនេះពាក់ព័ន្ធនឹងការប្រើប្រាស់ជម្រើស និងទង់បន្ថែមជាមួយនឹងពាក្យបញ្ជា traceroute ការប្រើប្រាស់ឧបករណ៍ជំនួស និងការយល់ដឹងពីរបៀបបកស្រាយលទ្ធផល traceroute ដ៏ស្មុគស្មាញ។
ការកែតម្រូវការកំណត់ Traceroute សម្រាប់ការវិភាគលម្អិត
អ្នកប្រើប្រាស់កម្រិតខ្ពស់អាចកែប្រែឥរិយាបថនៃពាក្យបញ្ជា traceroute ឱ្យសមស្របនឹងតម្រូវការវិនិច្ឆ័យជាក់លាក់ ឬដើម្បីរំលងការរឹតបន្តឹងបណ្តាញដែលអាចរារាំងស្តង់ដារ traceroute ពីការបញ្ចប់ដោយជោគជ័យ។ នេះគឺជាជម្រើស និងទង់ដែលប្រើជាទូទៅបំផុតមួយចំនួន៖
ការបញ្ជាក់ប្រភេទកញ្ចប់
តាមលំនាំដើម traceroute ប្រើសំណើអេកូ ICMP នៅលើប្រព័ន្ធដូច UNIX និង UDP packets នៅលើ Windows ។ ទោះយ៉ាងណាក៏ដោយ អ្នកអាចបញ្ជាក់ប្រភេទកញ្ចប់ព័ត៌មានដែលត្រូវប្រើ ដែលអាចមានប្រយោជន៍ ប្រសិនបើកញ្ចប់ព័ត៌មានលំនាំដើមកំពុងត្រូវបានត្រង ឬរារាំងដោយជញ្ជាំងភ្លើង។
- នៅលើប្រព័ន្ធដូច UNIX (Linux/macOS)៖ ប្រើ
-I
ជម្រើសដើម្បីផ្ញើកញ្ចប់ ICMP ដែលទំនងជាមិនត្រូវបានរារាំង។ ឧទាហរណ៍:
traceroute -I example.com
- នៅលើ Windows៖ នេះ។
tracert
ពាក្យបញ្ជាប្រើប្រាស់ ICMP យ៉ាងពិតប្រាកដ ដូច្នេះមិនចាំបាច់មានការកែប្រែសម្រាប់ប្រភេទកញ្ចប់ព័ត៌មានទេ។
ការផ្លាស់ប្តូរលេខច្រក
នៅលើប្រព័ន្ធដូច UNIX traceroute ផ្ញើកញ្ចប់ UDP ទៅកាន់ច្រកដែលមិនមានសិទ្ធិខ្ពស់តាមលំនាំដើម។ ការផ្លាស់ប្តូរច្រកគោលដៅអាចជួយជៀសវាងការច្រោះ ឬការកំណត់អត្រានៅលើច្រកមួយចំនួន៖
traceroute -p 80 example.com
ពាក្យបញ្ជានេះកំណត់ច្រកទិសដៅទៅ 80 (HTTP) ដែលអាចផ្តល់នូវផ្លូវកាន់តែច្បាស់តាមរយៈជញ្ជាំងភ្លើងដែលផ្តល់អាទិភាពដល់ចរាចរណ៍គេហទំព័រ។
ការលៃតម្រូវចំនួននៃសំណួរក្នុងមួយ Hop
ដើម្បីទទួលបានរង្វាស់ភាពយឺតយ៉ាវ និងការបាត់បង់កញ្ចប់ព័ត៌មានកាន់តែត្រឹមត្រូវ អ្នកអាចបង្កើនចំនួនសំណួរដែលបានផ្ញើទៅហបនីមួយៗ៖
traceroute -q 5 example.com
ពាក្យបញ្ជានេះផ្ញើសំណួរចំនួនប្រាំក្នុងមួយលោតជំនួសឱ្យលំនាំដើមបី ដោយផ្តល់ជូននូវសំណុំទិន្នន័យដ៏រឹងមាំជាងមុនសម្រាប់ការវិភាគដំណើរការបណ្តាញ។
Traceroute នៅលើប្រព័ន្ធប្រតិបត្តិការផ្សេងៗ៖ Windows, Mac, Linux
ប្រព័ន្ធប្រតិបត្តិការផ្សេងគ្នាអនុវត្ត traceroute ក្នុងវិធីផ្សេងគ្នាបន្តិច ដែលអាចប៉ះពាល់ដល់ឥរិយាបថ និងលទ្ធផលរបស់ឧបករណ៍។ ជាឧទាហរណ៍ ខណៈពេលដែល Windows ប្រើ ICMP តាមលំនាំដើម លីនុច និង macOS ជាធម្មតាប្រើកញ្ចប់ព័ត៌មាន UDP ដែលអាចនាំឱ្យមានភាពខុសប្លែកគ្នានៅក្នុងរបៀបដែលរ៉ោតទ័រនៅតាមបណ្តោយផ្លូវឆ្លើយតប។ ការដឹងអំពីភាពខុសគ្នាទាំងនេះគឺមានសារៈសំខាន់នៅពេលបកស្រាយលទ្ធផល traceroute ឬនៅពេលដោះស្រាយបញ្ហាជុំវិញបរិយាកាសបណ្តាញចម្រុះ។
ប្រព័ន្ធប្រតិបត្តិការនីមួយៗផ្តល់នូវទង់ និងជម្រើសតែមួយគត់សម្រាប់ traceroute ដែលអនុញ្ញាតឱ្យអ្នកប្រើប្រាស់ប្តូរវិធីសាស្រ្តវិនិច្ឆ័យរបស់ពួកគេតាមបំណង៖
វីនដូ (ដាន)
- Max Hops៖ ប្រើ
-h
ជម្រើសដើម្បីបញ្ជាក់ចំនួនអតិបរមានៃ hops (លំនាំដើមគឺ 30):
tracert -h 40 example.com
- បញ្ជាក់ការអស់ពេល៖ នេះ។
-w
ជម្រើសកំណត់ពេលវេលាអស់ជាមីលីវិនាទីសម្រាប់ការឆ្លើយតបនីមួយៗ៖
tracert -w 5000 example.com
macOS/Linux (traceroute)
- កំណត់ TTL ដំបូង និងចុងក្រោយ៖ With
-f
និង-m
options, you can set the first and maximum TTL values, respectively, allowing you to start the trace from a midpoint or limit how far it goes:
traceroute -f 5 -m 15 example.com
- Use TCP SYN for Tracing: នេះ។
-T
option (available on some UNIX-like systems) uses TCP SYN packets instead of UDP or ICMP, which can be useful for tracing through networks that block ICMP:
traceroute -T -p 80 example.com
ការដោះស្រាយបញ្ហា Traceroute ទូទៅ
Traceroute is an indispensable tool for diagnosing network connectivity issues, but interpreting its output can sometimes be challenging. Various issues can arise during a traceroute, each indicating different potential problems within the network. Understanding how to troubleshoot these common issues is crucial for network administrators and anyone involved in maintaining network health.
Dealing with Incomplete or Inaccurate Traceroute Results
Incomplete or inaccurate results can occur for several reasons, including firewall blocking, packet filtering, or network congestion. Here’s how to approach these issues:
Firewalls and Packet Filtering
Firewalls or packet filters configured to drop ICMP packets or specific UDP/TCP ports can lead to “* * *” (asterisks) in traceroute outputs, indicating that the response from a hop was not received. This can make it seem like the network is unreachable beyond a certain point, even when it’s not.
ដំណោះស្រាយ៖ Try changing the packet type or port used by traceroute. For instance, if you’re on a UNIX-like system and suspect ICMP packets are being filtered, switch to TCP using the -T
option and specify a commonly open port like 80 (HTTP) or 443 (HTTPS):
traceroute -T -p 443 example.com
Network Congestion
High latency or packet loss reflected in traceroute results can sometimes be attributed to network congestion rather than a fault in the network itself.
ដំណោះស្រាយ៖ Perform multiple traceroutes over time to see if the issue persists. Temporary spikes in latency or packet loss might just be due to transient network congestion. Tools like MTR (My Traceroute) can be particularly useful here, as they combine the functionality of traceroute with continuous ping to provide a more dynamic view of the network path.
ការយល់ដឹង និងការដោះស្រាយកំហុសទូទៅនៅក្នុងលទ្ធផល Traceroute
Certain errors frequently appear in traceroute outputs, each pointing to different types of network issues. Here are some common ones and how to interpret them:
“!H”, “!N”, and “!P” Errors
These errors indicate unreachable destinations:
- !H – Host unreachable
- !N – Network unreachable
- !P – Protocol unreachable
ដំណោះស្រាយ៖ These errors suggest a routing issue or a firewall blocking the packets. Check the routing table for incorrect entries and ensure that no firewall rules are inadvertently blocking traffic to or from the destination.
Timeouts
A series of asterisks (* * *) without a subsequent hop indicates a timeout, where the traceroute cannot receive a reply from the hop.
ដំណោះស្រាយ៖ Timeouts can be normal in some cases, as certain routers are configured not to respond to ICMP or UDP requests. However, if timeouts occur early in the traceroute or persist across multiple hops, it may indicate a more serious connectivity issue. Verify the network configuration, and if the problem persists, contact the ISP or the administrator of the intermediate network for assistance.
Timeouts and Their Implications in Traceroute Results
Timeouts in traceroute results are not always indicative of a problem. However, consistent timeouts at the same hop across multiple traceroutes, or timeouts that prevent the traceroute from completing, warrant further investigation.
Analyzing Persistent Timeouts
If timeouts persist at a particular hop but subsequent hops are reachable, it’s likely that the router at that hop is configured to ignore traceroute requests. If timeouts prevent the traceroute from reaching its destination, this could indicate a network block or a downed router.
ដំណោះស្រាយ៖ For persistent timeouts, especially those that block traceroute completion, try using alternative traceroute options like changing packet types or ports as previously mentioned. If the issue cannot be resolved internally, reaching out to the network provider or the administrator of the problematic hop may be necessary.
Reading and Interpreting Traceroute Results
Traceroute is a powerful diagnostic tool that maps the journey of packets from a source to a destination across a network. While executing a traceroute is relatively straightforward, interpreting its results can be complex, especially when the output includes unexpected delays, timeouts, or errors. Understanding how to read and interpret these results is crucial for diagnosing network issues, optimizing performance, and gaining insights into network structure.
Understanding Each Line of Traceroute Output
A typical traceroute output displays a list of hops (routers or switches) that packets pass through on their way to the destination. Each line corresponds to a hop and provides specific information about the path taken by the packets. Here’s a breakdown of the information presented in each line:
- Hop Number: The first column in the output indicates the sequence number of the hop. It starts from 1 and increments by one for each router the packet traverses.
- IP Address/Hostname: This part shows the IP address of the router at the current hop. Sometimes, if reverse DNS lookup is successful, the hostname of the router is displayed instead of or alongside the IP address.
- Round-Trip Times (RTTs): Typically, three RTT values are shown in milliseconds (ms), representing the time it takes for a packet to travel from the source to the hop and back. These values can vary due to network congestion, routing changes, or load on the routers.
Sample Traceroute Output:
1 router.local (192.168.1.1) 1.206 ms 0.911 ms 0.892 ms
2 isp-gateway.example.net (203.0.113.1) 10.183 ms 9.872 ms 10.123 ms
3 isp-core-router.example.net (203.0.113.2) 14.673 ms 15.062 ms 14.892 ms
...
លំនាំទូទៅនៅក្នុងលទ្ធផល Traceroute និងអ្វីដែលពួកគេមានន័យ
Traceroute outputs can reveal various patterns, each indicating different aspects of network performance or configuration:
Increasing Latency Towards the Destination
A gradual increase in RTT values as the packets get closer to the destination is normal, reflecting the increasing distance and number of hops. However, a sudden spike in latency at a specific hop can indicate congestion or a problem at that hop or with its connection to the next hop.
High Latency in Beginning Hops
High latency values in the first few hops, especially within the local network or ISP, suggest issues close to the source. This could be due to local network congestion, misconfiguration, or problems with the ISP’s connection to the broader internet.
Timeouts at Beginning Hops
Occasional timeouts (represented by asterisks) at the beginning of the traceroute may not necessarily indicate a problem, as some routers are configured not to respond to ICMP requests for security or performance reasons. However, consistent timeouts that prevent further hops from being displayed require investigation.
Timeouts at the End of the Report
Timeouts towards the end of the traceroute, especially if preceding hops show normal latency, might indicate that the destination server or its immediate network is blocking ICMP requests or is unreachable due to network issues.
មគ្គុទ្ទេសក៍លម្អិតដើម្បីដំណើរការ Traceroute នៅលើប្រព័ន្ធប្រតិបត្តិការផ្សេងៗគ្នា
While the basic principles of interpreting traceroute results are the same across operating systems, the specific commands and options available can vary. Here’s a quick recap of how to perform a traceroute on different platforms:
Windows:
ប្រើ tracert
command in Command Prompt:
tracert example.com
macOS and Linux:
ប្រើ traceroute
command in Terminal. On macOS, you might need to install traceroute using Homebrew (brew install traceroute
) if it’s not available by default:
traceroute example.com
For both platforms, consider using options like -I
to use ICMP packets or -T
to use TCP SYN packets for traceroute, especially if the default UDP packets are filtered or blocked.
ការរួមបញ្ចូល Traceroute ជាមួយឧបករណ៍វិនិច្ឆ័យផ្សេងទៀត។
While traceroute is a powerful tool for mapping the path packets take through a network, integrating it with other diagnostic tools can provide a more comprehensive view of network health, performance, and issues. This holistic approach to network diagnostics can help identify, diagnose, and resolve complex network problems more effectively.
The Role of Ping in Network Diagnostics
Ping is one of the simplest yet most effective tools for testing network connectivity and performance. It works by sending ICMP echo request packets to a target host and listening for echo reply packets. The round-trip time (RTT) of these packets is measured to assess the latency between the source and the target. Ping also provides packet loss information, offering insights into network reliability.
How to Perform Ping Tests on Different Operating Systems
- Windows: Open Command Prompt and use the
ping
command:
ping example.com
- macOS/Linux: Open Terminal and use the same
ping
command:
ping example.com
Interpreting Ping Test Results
Ping test results include several key metrics:
- RTT values: Indicate the latency of the network. High RTT values can suggest network congestion or long distances.
- Packet loss: Represented as a percentage, packet loss indicates the reliability of the connection. High packet loss can lead to network instability and performance issues.
Integrating ping results with traceroute data can help pinpoint where in the path latency or packet loss begins to occur, providing valuable clues for troubleshooting.
ការរួមបញ្ចូលគ្នារវាង Traceroute និង Ping សម្រាប់ការវិភាគបណ្តាញដ៏ទូលំទូលាយ
While traceroute shows the path and identifies each hop, ping tests the connectivity and performance directly to the target. By combining these tools, you can get a clearer picture of both the network path and the end-to-end performance.
Using MTR for Continuous Analysis
MTR (My Traceroute) is a powerful network diagnostic tool that combines the functionality of traceroute and ping into a single interface. It continuously sends packets to a target, updating real-time statistics about each hop along the path. This continuous analysis can reveal intermittent issues that might not be apparent in a single snapshot provided by traceroute or ping.
Running MTR
- Linux: MTR may come pre-installed or can be installed via your distribution’s package manager. To run MTR, simply type:
mtr example.com
- macOS: MTR can be installed using Homebrew:
brew install mtr
mtr example.com
- Windows: While MTR is not natively available on Windows, third-party versions or similar tools can be used.
Interpreting MTR Results
MTR displays a dynamic output with each hop to the destination, including the average, best, and worst RTT, along with packet loss. This data helps in identifying not just the path but also performance metrics for each segment of the route over time.
ការធ្វើរោគវិនិច្ឆ័យកម្រិតខ្ពស់ជាមួយ PathPing
PathPing is another tool that combines elements of ping and traceroute, available on Windows. It sends multiple packets to each hop over a period, providing a detailed view of network performance at each point.
Running PathPing
In Command Prompt, type:
pathping example.com
Analyzing PathPing Output
PathPing first displays the route (like traceroute) and then follows up with ping statistics for each hop. This can take several minutes but provides a comprehensive view of where packets may be delayed or lost.
Traceroute ជម្មើសជំនួស និងការកែលម្អ
While traceroute is a fundamental tool for network diagnostics, several alternatives and enhancements offer additional features, improved accuracy, or different methodologies for tracing the path packets take through a network. These tools can provide deeper insights into network performance, topology, and issues, making them valuable additions to the network diagnostic toolkit.
Beyond Basic Traceroute: Tools like MTR, Tracepath, and Paris Traceroute
MTR (My Traceroute)
MTR combines the functionality of traceroute and ping, offering a dynamic, real-time view of the route between a source and a destination. It continuously sends packets to each hop in the path, providing updated statistics about latency and packet loss at each point.
Features:
- Real-time updates
- Combines ping and traceroute functionality
- Displays packet loss and latency for each hop
Example Usage on Linux:
mtr example.com
Interpreting MTR Output:
MTR’s output includes the hop number, IP address, packet loss percentage, and average latency for each hop. Continuous updates can help identify intermittent network issues that might not be apparent in a single traceroute or ping test.
Tracepath
Tracepath is similar to traceroute but does not require root privileges to run. It’s particularly useful on systems where users do not have the permission to execute traceroute with ICMP packets.
Features:
- No root privileges required
- Automatically adjusts packet size
- Identifies MTU (Maximum Transmission Unit) along the path
Example Usage on Linux:
tracepath example.com
Interpreting Tracepath Output:
Tracepath provides a simpler output than traceroute, focusing on the path and MTU. It’s particularly useful for identifying MTU issues that could cause packet fragmentation or loss.
Paris Traceroute
Paris Traceroute is an enhanced version of traceroute designed to address inaccuracies caused by load-balanced paths. Traditional traceroute can receive responses from multiple paths, leading to confusing or misleading output. Paris Traceroute ensures that all packets follow the same path, providing a more accurate representation of the route.
Features:
- Deals with load-balanced networks
- Ensures packets follow the same path
- Provides a clearer view of the network path
Example Usage:
Paris Traceroute may need to be installed separately and its usage can vary based on the installation. Check the documentation specific to your version for detailed usage instructions.
Interpreting Paris Traceroute Output:
The output is similar to traditional traceroute but avoids the inconsistencies seen in load-balanced paths, offering a clearer picture of the route packets take.
IPv6 Traceroute៖ ស្វែងរកផ្លូវក្នុងបណ្តាញទំនើប
As the internet transitions more towards IPv6, understanding how to perform traceroute in IPv6 networks becomes increasingly important. Most traceroute tools support IPv6 with specific flags or versions.
Example Usage with Traceroute on Linux for IPv6:
traceroute -6 example.com
Interpreting IPv6 Traceroute Output:
The output format is similar to IPv4 traceroute, showing each hop’s IPv6 address along with latency measurements. Understanding IPv6 routes is crucial for diagnosing connectivity issues in modern networks that use IPv6.
ការធ្វើតេស្ត Traceroute លើបណ្តាញ និងកម្មវិធីទូរស័ព្ទសម្រាប់ការវិភាគ Traceroute
Several online tools and mobile apps offer traceroute functionality without the need for command-line tools. These can be particularly useful for quick checks or for users not comfortable with command-line interfaces.
Online Tools:
- Websites like
ping.eu
និងwhatismyip.com
offer online traceroute tools that can be used from a web browser.
កម្មវិធីទូរស័ព្ទ៖
- កម្មវិធីដូចជា Fing (មានសម្រាប់ iOS និង Android) ផ្តល់នូវការតាមដានក្នុងចំណោមមុខងារវិភាគបណ្តាញផ្សេងទៀត។
អត្ថប្រយោជន៍៖
- ចំណុចប្រទាក់ងាយស្រួលប្រើ
- មិនចាំបាច់មានចំណេះដឹងអំពីបន្ទាត់ពាក្យបញ្ជាទេ។
- ភាពងាយស្រួលពីគ្រប់ទីកន្លែង
ធនធានបន្ថែម
សម្រាប់អ្នកដែលកំពុងស្វែងរកការយល់ដឹងកាន់តែស៊ីជម្រៅអំពី traceroute និងការវិនិច្ឆ័យបណ្តាញ ធនធានជាច្រើនអាចរកបាន។ នេះជាការណែនាំខ្លះៗ ដើម្បីបន្ថែមចំណេះដឹង និងជំនាញរបស់អ្នក៖
សៀវភៅ និងការបោះពុម្ពផ្សាយ
- “TCP/IP Illustrated, Volume 1: The Protocols” ដោយ W. Richard Stevens៖ សៀវភៅនេះផ្តល់នូវការមើលស៊ីជម្រៅអំពីពិធីការ TCP/IP រួមទាំងគោលការណ៍មូលដ្ឋាននៃឧបករណ៍ដូចជា traceroute ជាដើម។
- “ឧបករណ៍ដោះស្រាយបញ្ហាបណ្តាញ” ដោយ Joseph D. Sloan៖ ការណែនាំដ៏ទូលំទូលាយសម្រាប់ឧបករណ៍ដោះស្រាយបញ្ហាបណ្តាញផ្សេងៗ រួមទាំង traceroute និងរបៀបប្រើប្រាស់ពួកវាប្រកបដោយប្រសិទ្ធភាព។
វគ្គសិក្សា និងមេរៀនតាមអ៊ីនធឺណិត
- Cisco Networking Academy (NetAcad)៖ ផ្តល់ជូនវគ្គសិក្សាអំពីមូលដ្ឋានគ្រឹះនៃបណ្តាញ រួមទាំងម៉ូឌុលស្តីពីការដោះស្រាយបញ្ហាបណ្តាញ និងការវិនិច្ឆ័យ។
- Coursera និង Udemy៖ វេទិកាទាំងពីរមានវគ្គសិក្សាស្តីពីការគ្រប់គ្រងបណ្តាញ និងការដោះស្រាយបញ្ហាដែលគ្របដណ្តប់លើការប្រើប្រាស់ traceroute និងឧបករណ៍ពាក់ព័ន្ធ។
គេហទំព័រ និងឧបករណ៍អនឡាញ
- មជ្ឈមណ្ឌលសម្របសម្រួលបណ្តាញ RIPE (RIPE NCC) ឧបករណ៍៖ ផ្តល់នូវឈុតឧបករណ៍អនឡាញសម្រាប់ការវិភាគបណ្តាញ រួមទាំង traceroute ពីទីតាំងផ្សេងៗជុំវិញពិភពលោក។
- ឧបករណ៍ CAIDA៖ មជ្ឈមណ្ឌលសម្រាប់ការវិភាគទិន្នន័យតាមអ៊ីនធឺណិតដែលបានអនុវត្ត (CAIDA) ផ្តល់ជូននូវឧបករណ៍ និងធនធានសម្រាប់ការវាស់វែង និងការវិភាគបណ្តាញ រួមទាំងឧបករណ៍ដែលមានមូលដ្ឋានលើ traceroute ។
វេទិកា និងសហគមន៍
- វិស្វកម្មបណ្តាញផ្លាស់ប្តូរជង់៖ សហគមន៍ Q&A សម្រាប់អ្នកជំនាញបណ្តាញ ដែលអ្នកអាចសួរសំណួរ និងចែករំលែកចំណេះដឹងអំពី traceroute និងការវិភាគបណ្តាញ។
- Reddit r / បណ្តាញ៖ subreddit ឧទ្ទិសដល់បណ្តាញដែលអ្នកស្រលាញ់ និងអ្នកជំនាញពិភាក្សាអំពីឧបករណ៍ បច្ចេកវិទ្យា និងបច្ចេកទេសដោះស្រាយបញ្ហា។
កម្មវិធី និងកម្មវិធី
- Wireshark៖ ទោះបីជាមិនមែនជាឧបករណ៍ traceroute ក៏ដោយ Wireshark គឺជាអ្នកវិភាគពិធីការបណ្តាញដ៏មានអានុភាពដែលអាចបំពេញបន្ថែមការវិនិច្ឆ័យ traceroute ដោយផ្តល់នូវការយល់ដឹងលម្អិតអំពីចរាចរណ៍បណ្តាញ។
- GNS3៖ ផ្តល់ជូននូវកម្មវិធីត្រាប់តាមបណ្តាញដែលអាចត្រូវបានប្រើដើម្បីក្លែងធ្វើបណ្តាញស្មុគស្មាញ និងអនុវត្តជាមួយ traceroute និងឧបករណ៍វិភាគផ្សេងទៀតនៅក្នុងបរិយាកាសដែលបានគ្រប់គ្រង។
ការរុករក traceroute និងផ្នែកផ្សេងៗរបស់វាបង្ហាញពីតម្លៃដែលមិនអាចខ្វះបានរបស់វានៅក្នុងប្រអប់ឧបករណ៍របស់នរណាម្នាក់ដែលទទួលខុសត្រូវក្នុងការគ្រប់គ្រង ឬដោះស្រាយបញ្ហាបណ្តាញ។ នៅពេលដែលបណ្តាញឌីជីថលបន្តវិវឌ្ឍក្នុងភាពស្មុគស្មាញ និងទំហំ ជំនាញក្នុងការធ្វើរោគវិនិច្ឆ័យ និងបង្កើនប្រសិទ្ធភាពប្រតិបត្តិការបណ្តាញកាន់តែមានសារៈសំខាន់។ តាមរយៈការប្រើប្រាស់ធនធាន និងឧបករណ៍ដែលបានពិភាក្សា បុគ្គលម្នាក់ៗអាចបង្កើនសមត្ថភាពរបស់ពួកគេ ដោយធានាថាបណ្តាញដំណើរការយ៉ាងរលូន និងមានប្រសិទ្ធភាពសម្រាប់អ្នកប្រើប្រាស់ទាំងអស់។