Skip to main content

7 Example to Use Ifconfig

ពាក្យបញ្ជា ifconfig ប្រើដើម្បី​ configure network interfaceហើយវាក៍ជាជំហ៊រ នៃ interface configurator នោះដែរ ពាក្យបញ្ជានេះ ត្រូវបានគេប្រើប្រាស់យ៉ាងទូលំទូលាយ ក្នុងការធ្វើអោយ network interface ដំណើរការ និងបញ្ឈប់ដំណើរការ ។
នៅក្នុងអត្ថបទនេះ យើងនិងបង្ហាញ ៧ ចំនុច នៃការប្រើប្រាស់ របស់ពាក្យបញ្ជា ifconfig



image86.png

១. បង្ហាញ network setting នៃ Ethernet Adapter
ពាក្យ ifconfig ពេលដែលប្រើដោយគ្នានអថេរភ្ជាប់ជាមួយវានិងបង្ហាញពីទិន្នន័យបច្ចុប្បន្នដែលកំពុងដំណើរការ នៃ interface ។ បើសិនជាមានអថេរ ជាឈ្មោះរបស់ interface នោះ ភ្ជាប់មកជាមួយ វាបង្ហាញទិន្នន័យទាំងអស់ដែលជា របស់ interface នោះ ។

២. បង្ហាញ interface ទាំងអស់ រួមទាំង interface ដែលមិនដំណើរការ
៣. disable interface
៤. Enable an Interface
៥. ផ្ដល់ ip-address សំរាប់​ interface
ផ្ដល់ ip-address : 192.168.2.2 សំរាប់ interface eth0
ប្ដូរ Subnet mask របស់ interface eth0
ប្ដូរ Broadcast address របស់ interface eth0
ផ្ដល់ ip-address, netmask និង broadcast ក្នុងពេលជាមួយគ្នាសំរាប់ interface eht0
៦. ប្ដូរ MTU
វានិងប្ដូរ Maximum transmission unit (MTU) ទៅជា XX MTU គឺជាចំនួន octets អតិបរមា របស់ interface ដែលអាចដំណើរការ បញ្ជូនមួយដង ។ សំរាប់ ethernet ចំនួន Maximum transmission គឺ ១៥០០ ។
៧. Promiscuous mode
ជាជំហ៊ានដំបូង ពេលដែល network card ទទូល packet វានិងត្រួតពិនិត្យ packet នោះជារបស់ខ្លួន។បើសិនជា មិនមែន interface card នោះ និង drop packet នោះចោល ។ប៉ុន្ដែនៅក្នុង premiscuous mode ចំពោះ card មិន drop packet នោះទេ ។​វាជំនួស ទទួល គ្រប់ packet ទាំងអស់ ដែលឆ្លងកាត់ network card
ត្រូវមានសិទិ្ធ Superuser privilege ដើម្បី set interface នោះអោយនៅក្នុង premiscuous mode ។ ជាទូទៅ Tool ដែលសំរាប់ធ្វើការ monitor network គឺប្រើ premiscuous mode ដើម្បី capture packet ហើយ សំរាប់ analyze network traffic
ឧទាហរណ៍ខាងក្រោមនេះនិង ដាក់ interface អោយនៅក្នុង premiscuous mode
ឧទាហរណ៍បន្តទៀតនេះនិង ដាក់ interface អោយនៅក្នុង normal mode
By Sam Vichea

Comments

Popular posts from this blog

Windows 7 Boot Updater

ជាទូទៅអ្នកតែងតែឃើញនូវរូប Logo របស់ Windows 7 រៀងរាល់ពេលដែល អ្នកបើកដំនើរការ កុំព្យូទ័រ ដែលគេហៅថា BootScreen។ ដូច្នេះនៅក្នុងអត្ថបទនេះ អាយធីកូនខ្មែរ នឹងបង្ហាញពីរ របៀបផ្លាស់ប្តូរ BootScreen របស់ Windows 7។ ជំហានទី ១៖ អ្នកត្រូវធ្វើការទាញយកកម្មវិធី Windows 7 Boot Updater  ចុចត្រង់នេះ ជំហានទី ២៖ បើកដំនើរការកម្មវិធីបន្ទាប់មកនៅក្នុងប្រអប់ Animation ជ្រើសរើសយកជំរើស Animation

Orkida English-Khmer Dictionary

ថ្ងៃ​នេះ​សុំ លើក​យក​វត្ថុ​បូរាណ​ ប៉ុន្តែ​ពេញ​និយម ដែល​ត្រូវ​បាន​ដំឡើង​ស្ទើគ្រប់​កុំព្យូទ័រ​បង​ប្អូន​ខ្មែរ​យើងគឺ វចនានុក្រម Orkida English<->Khmer ។ សង្ឃឹម​ថា​ម្ចាស់​បង្កើតវចនា​នុក្រម​នេះ មិន​យល់​ទាស់​អី​ទេ ដែល​ខ្ញុំ​ដាក់​អោយ​គេ​ទាញ​យក​ជាសាធារណះ​ដូច្នេះ ព្រោះ​ថា​វា​កម្មវិធី​ដែល​បង្កើត​ឡើង​តាំង​ពីឆ្នាំ ១៩៩៨មក​ម្ល៉េះ ម្យ៉ាង​វិញ​ទៀតបង​ប្អូន​យើង​បាន​ចម្លង​ពីមួយ​ទៅ​មួយស្ទើរ​គ្រប់​កុំព្យូទ័រ​ ទៅ​ហើយ។ ដោយ​ឡែក​ពេល​ខ្ញុំ​សាកល្បង​ស្វែង​រក​ក្នុង Google អំពី​វចនា​នុក្រម​នេះ ហាក់​ដូច​ជា​ស្ងាត់​ឈឹង​ មិនសូវ​មាន​កន្លែង​ Download សោះ ! ដូច្នេះ​ដើម្បី​អោយ​ការ​ស្វែង​រកក្នុង​អ៊ិនធឺណិត​ទាក់​ទង​នឹង​ស្រុក​ខ្មែរ​ យើងកាន់​តែមាន​​ប្រសិទ្ធភាព ខ្ញុំ​សម្រេច​ចិត្ត​ Upload វា​ចូល​ក្នុង Hosting របស់​ខ្ញុំ​ ហើយ​ចែក​អោយ​បងប្អូន​ដែល​ត្រូវ​ការ​វា​ យក​ទៅ​ប្រើ​ប្រាស់​ចុះ។ ថ្វីត្បិត​តែ​វា​រាង​ចំណាស់​បន្តិច​មែន តែ​រហូត​មក​ដល់​ Windows 7 ហើយ​ វា​នៅ​តែ​អាច​ដំឡើង​និង​ប្រើ​បាន​ជា​ធម្មតា។ ទាញ​យកវចនានុក្រម​ Orkida By : Sam Vichea

Mongkol Borey, i was born in here ..:'(

Mongkol Borei District (Khmer: ស្រុកមង្គលបុរី) is a district (srok) in the south of Banteay Meanchey Province, in north-western Cambodia. The district capital is Mongkol Borei town located around 8 kilometres south of the provincial capital of Sisophon by road. Mongkol Borei District is the southern-most district of Banteay Meanchey. The district shares a border with Battambang Province to the south. The main railway line from Phnom Penh to Poipet on the border with Thailand runs through the district from north to south.[2] The district is easily accessed by road from Sisophon (8 km) Battambang (city) (60 km) and Siem Reap (city) (110 km). Mongkol Borei District is one of the smallest districts in Banteay Meanchey province by land area and only Serei Saophoan District is smaller. However, it has the largest district population in the province due to its central location and transport infrastructure. National Highway 5 which begins in Phnom Penh and ends at Poipet and the National rai...