SlideShare a Scribd company logo
1 of 4
wenkhairu
Administrator
Posts: 679
Joined: Dec 2009
Reputation: 33
Seting Mikrotik untuk Warnet
udah banyak pastinya artikel yang ngebahas masalah ini, kali ini ane coba nambahin aja, maaf
kalo threadnya ga berbobot ya, maklum masih hijau ane :)
spesifikasi yang kita butuhkan
Code:
- 1 Line Internet DSL 1 MBPS MAX
- Routerboard RB450, RB450g atau PC
- 5 Interface
- Bandwidth Limit dan Bandwidth Shapping
- CIR 64kbps
- MIR 256kbps
- No Hotspot
- PC Optimal Up to 10 PC + 1 Billing
- IP Ether1 : 10.10.10.1 ( to LAN)
- IP Ether2 : 10.10.11.2 (to Modem Dsl)
- IP LAN Modem DSL 10.10.11.1
- DNS Resolver dapat di ubah sesuai dengan kebutuhan
- IP Terimal Rang 10.10.10.100 - 10.10.10.110
- Netmask 255.255.255.0
- Gateway 10.10.10.1
- DNS Primary Terminal 10.10.10.1
- DNS Secondary Terimal di set sesuai kebutuhan
- Topologi : Modem DSL --> ether2 Mikrotik --> Router Mikrotik --> Ether1
Mikrotik --> Switch --> PC Terminal
langkah 1
install mikrotik OS, ane rasa dah banyak yang bahas ini :)
langkah 2
Set Ip Address Tiap interface
Code:
ip address add address=10.10.10.1/24 interface=ether1
ip address add address=10.10.11.2/24 interface=ether2
langkah 3
Setting DNS Resolver Mikrotik dan PC
Code:
ip dns static add name=sobatkucyber.com address=10.10.10.1
ip dns set primary-dns=10.10.11.2 secondary-dns=202.134.1.1 allow-remote-
requests=yes
langkah 4
Masq Jaringan LAN
Code:
ip firewall nat add chain=srcnat src-address=10.10.10.0/24 action=masquerade
langkah 5
Memberikan Nama Router
Code:
system identity set name=sobatku
langkah 6
Set jam Otomatis
Code:
system ntp client set primary-ntp=0.pool.ntp.org secondary-
ntp=3.pool.ntp.org enabled=yes
langkah 7
menentukan Default Routing
Code:
ip route gateway=10.10.11.1
langkah 8
Membuat Mark Connection yang nantinya di pakai untuk memilah Paket
Code:
ip firewall mangle add chain=forward src-address=10.10.10.100 action=mark-
connection new-connection-mark=billing
ip firewall mangle add chain=forward src-address=10.10.10.101 action=mark-
connection new-connection-mark=pc1
ip firewall mangle add chain=forward src-address=10.10.10.102 action=mark-
connection new-connection-mark=pc2
ip firewall mangle add chain=forward src-address=10.10.10.103 action=mark-
connection new-connection-mark=pc3
ip firewall mangle add chain=forward src-address=10.10.10.104 action=mark-
connection new-connection-mark=pc4
ip firewall mangle add chain=forward src-address=10.10.10.105 action=mark-
connection new-connection-mark=pc5
ip firewall mangle add chain=forward src-address=10.10.10.106 action=mark-
connection new-connection-mark=pc6
ip firewall mangle add chain=forward src-address=10.10.10.107 action=mark-
connection new-connection-mark=pc7
ip firewall mangle add chain=forward src-address=10.10.10.108 action=mark-
connection new-connection-mark=pc8
ip firewall mangle add chain=forward src-address=10.10.10.109 action=mark-
connection new-connection-mark=pc9
ip firewall mangle add chain=forward src-address=10.10.10.110 action=mark-
connection new-connection-mark=pc10
langkah 9
Membuat mark packet untuk Queue, yang didapat dari mark connection
Code:
ip firewall mangle add chain=forward connection-mark=billing action=mark-
packet new-packet-mark=billing
ip firewall mangle add chain=forward connection-mark=pc1 action=mark-packet
new-packet-mark=pc1
ip firewall mangle add chain=forward connection-mark=pc2 action=mark-packet
new-packet-mark=pc2
ip firewall mangle add chain=forward connection-mark=pc3 action=mark-packet
new-packet-mark=pc3
ip firewall mangle add chain=forward connection-mark=pc4 action=mark-packet
new-packet-mark=pc4
ip firewall mangle add chain=forward connection-mark=pc5 action=mark-packet
new-packet-mark=pc5
ip firewall mangle add chain=forward connection-mark=pc6 action=mark-packet
new-packet-mark=pc6
ip firewall mangle add chain=forward connection-mark=pc7 action=mark-packet
new-packet-mark=pc7
ip firewall mangle add chain=forward connection-mark=pc8 action=mark-packet
new-packet-mark=pc8
ip firewall mangle add chain=forward connection-mark=pc9 action=mark-packet
new-packet-mark=pc9
ip firewall mangle add chain=forward connection-mark=pc10 action=mark-packet
new-packet-mark=pc10
langkah 10
Membuat Parent tertinggi Queue
Code:
queue tree add name=sobatku parent=ether2 max-limit=10000000
langkah 11
Membuat Queue per terminal
Code:
queue tree add name=pcbil packet-mark=billing parent=sobatku limit-at=64000
max-limit=250000
queue tree add name=pc1 packet-mark=pc1 parent=sobatku limit-at=64000 max-
limit=250000
queue tree add name=pc2 packet-mark=pc2 parent=sobatku limit-at=64000 max-
limit=250000
queue tree add name=pc3 packet-mark=pc3 parent=sobatku limit-at=64000 max-
limit=250000
queue tree add name=pc4 packet-mark=pc4 parent=sobatku limit-at=64000 max-
limit=250000
queue tree add name=pc5 packet-mark=pc5 parent=sobatku limit-at=64000 max-
limit=250000
queue tree add name=pc6 packet-mark=pc6 parent=sobatku limit-at=64000 max-
limit=250000
queue tree add name=pc7 packet-mark=pc7 parent=sobatku limit-at=64000 max-
limit=250000
queue tree add name=pc8 packet-mark=pc8 parent=sobatku limit-at=64000 max-
limit=250000
queue tree add name=pc9 packet-mark=pc9 parent=sobatku limit-at=64000 max-
limit=250000
queue tree add name=pc10 packet-mark=pc10 parent=sobatku limit-at=64000 max-
limit=250000
Untuk CIR dan MIR dapat di sesuaikan dengan kesiapain Bandwidth yang didapat dari ISP
Saran untuk setting CIR adalah total dari jumlah PC yang di queue kan jika di kalikan dengan
Nilai CIR tidak melebihi Bandwidth minimal yang bisa di dapat dari ISP biasanya menggunakan
64k, total dari 64kx11 PC sekitar 700an kbps. Jika ente yakin ISP ente bisa memberikan 1 mbps
pada saat peak time, ente dapat mendapatkan Nilai CIR dari total Bandwidth di bagi jumlah PC.
semoga bermanfaat,
maaf kalo cupu, ini untuk kasus sederhana :)

More Related Content

Recently uploaded

Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slidespraypatel2
 
Benefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksBenefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksSoftradix Technologies
 
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptxMaking_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptxnull - The Open Security Community
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreternaman860154
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitecturePixlogix Infotech
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machinePadma Pradeep
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking MenDelhi Call girls
 
Pigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions
 
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | DelhiFULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhisoniya singh
 
Hyderabad Call Girls Khairatabad ✨ 7001305949 ✨ Cheap Price Your Budget
Hyderabad Call Girls Khairatabad ✨ 7001305949 ✨ Cheap Price Your BudgetHyderabad Call Girls Khairatabad ✨ 7001305949 ✨ Cheap Price Your Budget
Hyderabad Call Girls Khairatabad ✨ 7001305949 ✨ Cheap Price Your BudgetEnjoy Anytime
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Allon Mureinik
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticscarlostorres15106
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationSafe Software
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking MenDelhi Call girls
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationMichael W. Hawkins
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking MenDelhi Call girls
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsEnterprise Knowledge
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsMemoori
 
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Alan Dix
 

Recently uploaded (20)

Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slides
 
Benefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksBenefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other Frameworks
 
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptxMaking_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC Architecture
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machine
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 
Pigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food Manufacturing
 
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | DelhiFULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
 
Hyderabad Call Girls Khairatabad ✨ 7001305949 ✨ Cheap Price Your Budget
Hyderabad Call Girls Khairatabad ✨ 7001305949 ✨ Cheap Price Your BudgetHyderabad Call Girls Khairatabad ✨ 7001305949 ✨ Cheap Price Your Budget
Hyderabad Call Girls Khairatabad ✨ 7001305949 ✨ Cheap Price Your Budget
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial Buildings
 
The transition to renewables in India.pdf
The transition to renewables in India.pdfThe transition to renewables in India.pdf
The transition to renewables in India.pdf
 
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
 

Featured

PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024Neil Kimberley
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)contently
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024Albert Qian
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsKurio // The Social Media Age(ncy)
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Search Engine Journal
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summarySpeakerHub
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next Tessa Mero
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentLily Ray
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best PracticesVit Horky
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project managementMindGenius
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...RachelPearson36
 
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Applitools
 
12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at WorkGetSmarter
 
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...DevGAMM Conference
 

Featured (20)

Skeleton Culture Code
Skeleton Culture CodeSkeleton Culture Code
Skeleton Culture Code
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
 
How to have difficult conversations
How to have difficult conversations How to have difficult conversations
How to have difficult conversations
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best Practices
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project management
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
 
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
 
12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work
 
ChatGPT webinar slides
ChatGPT webinar slidesChatGPT webinar slides
ChatGPT webinar slides
 
More than Just Lines on a Map: Best Practices for U.S Bike Routes
More than Just Lines on a Map: Best Practices for U.S Bike RoutesMore than Just Lines on a Map: Best Practices for U.S Bike Routes
More than Just Lines on a Map: Best Practices for U.S Bike Routes
 
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
 

Setting Warnet Untuk 10 Client

  • 1. wenkhairu Administrator Posts: 679 Joined: Dec 2009 Reputation: 33 Seting Mikrotik untuk Warnet udah banyak pastinya artikel yang ngebahas masalah ini, kali ini ane coba nambahin aja, maaf kalo threadnya ga berbobot ya, maklum masih hijau ane :) spesifikasi yang kita butuhkan Code: - 1 Line Internet DSL 1 MBPS MAX - Routerboard RB450, RB450g atau PC - 5 Interface - Bandwidth Limit dan Bandwidth Shapping - CIR 64kbps - MIR 256kbps - No Hotspot - PC Optimal Up to 10 PC + 1 Billing - IP Ether1 : 10.10.10.1 ( to LAN) - IP Ether2 : 10.10.11.2 (to Modem Dsl) - IP LAN Modem DSL 10.10.11.1 - DNS Resolver dapat di ubah sesuai dengan kebutuhan - IP Terimal Rang 10.10.10.100 - 10.10.10.110 - Netmask 255.255.255.0 - Gateway 10.10.10.1 - DNS Primary Terminal 10.10.10.1 - DNS Secondary Terimal di set sesuai kebutuhan - Topologi : Modem DSL --> ether2 Mikrotik --> Router Mikrotik --> Ether1 Mikrotik --> Switch --> PC Terminal langkah 1 install mikrotik OS, ane rasa dah banyak yang bahas ini :) langkah 2 Set Ip Address Tiap interface Code: ip address add address=10.10.10.1/24 interface=ether1 ip address add address=10.10.11.2/24 interface=ether2 langkah 3 Setting DNS Resolver Mikrotik dan PC Code:
  • 2. ip dns static add name=sobatkucyber.com address=10.10.10.1 ip dns set primary-dns=10.10.11.2 secondary-dns=202.134.1.1 allow-remote- requests=yes langkah 4 Masq Jaringan LAN Code: ip firewall nat add chain=srcnat src-address=10.10.10.0/24 action=masquerade langkah 5 Memberikan Nama Router Code: system identity set name=sobatku langkah 6 Set jam Otomatis Code: system ntp client set primary-ntp=0.pool.ntp.org secondary- ntp=3.pool.ntp.org enabled=yes langkah 7 menentukan Default Routing Code: ip route gateway=10.10.11.1 langkah 8 Membuat Mark Connection yang nantinya di pakai untuk memilah Paket Code: ip firewall mangle add chain=forward src-address=10.10.10.100 action=mark- connection new-connection-mark=billing ip firewall mangle add chain=forward src-address=10.10.10.101 action=mark- connection new-connection-mark=pc1 ip firewall mangle add chain=forward src-address=10.10.10.102 action=mark- connection new-connection-mark=pc2 ip firewall mangle add chain=forward src-address=10.10.10.103 action=mark- connection new-connection-mark=pc3 ip firewall mangle add chain=forward src-address=10.10.10.104 action=mark- connection new-connection-mark=pc4 ip firewall mangle add chain=forward src-address=10.10.10.105 action=mark- connection new-connection-mark=pc5 ip firewall mangle add chain=forward src-address=10.10.10.106 action=mark- connection new-connection-mark=pc6 ip firewall mangle add chain=forward src-address=10.10.10.107 action=mark- connection new-connection-mark=pc7 ip firewall mangle add chain=forward src-address=10.10.10.108 action=mark- connection new-connection-mark=pc8 ip firewall mangle add chain=forward src-address=10.10.10.109 action=mark-
  • 3. connection new-connection-mark=pc9 ip firewall mangle add chain=forward src-address=10.10.10.110 action=mark- connection new-connection-mark=pc10 langkah 9 Membuat mark packet untuk Queue, yang didapat dari mark connection Code: ip firewall mangle add chain=forward connection-mark=billing action=mark- packet new-packet-mark=billing ip firewall mangle add chain=forward connection-mark=pc1 action=mark-packet new-packet-mark=pc1 ip firewall mangle add chain=forward connection-mark=pc2 action=mark-packet new-packet-mark=pc2 ip firewall mangle add chain=forward connection-mark=pc3 action=mark-packet new-packet-mark=pc3 ip firewall mangle add chain=forward connection-mark=pc4 action=mark-packet new-packet-mark=pc4 ip firewall mangle add chain=forward connection-mark=pc5 action=mark-packet new-packet-mark=pc5 ip firewall mangle add chain=forward connection-mark=pc6 action=mark-packet new-packet-mark=pc6 ip firewall mangle add chain=forward connection-mark=pc7 action=mark-packet new-packet-mark=pc7 ip firewall mangle add chain=forward connection-mark=pc8 action=mark-packet new-packet-mark=pc8 ip firewall mangle add chain=forward connection-mark=pc9 action=mark-packet new-packet-mark=pc9 ip firewall mangle add chain=forward connection-mark=pc10 action=mark-packet new-packet-mark=pc10 langkah 10 Membuat Parent tertinggi Queue Code: queue tree add name=sobatku parent=ether2 max-limit=10000000 langkah 11 Membuat Queue per terminal Code: queue tree add name=pcbil packet-mark=billing parent=sobatku limit-at=64000 max-limit=250000 queue tree add name=pc1 packet-mark=pc1 parent=sobatku limit-at=64000 max- limit=250000 queue tree add name=pc2 packet-mark=pc2 parent=sobatku limit-at=64000 max- limit=250000 queue tree add name=pc3 packet-mark=pc3 parent=sobatku limit-at=64000 max- limit=250000 queue tree add name=pc4 packet-mark=pc4 parent=sobatku limit-at=64000 max- limit=250000 queue tree add name=pc5 packet-mark=pc5 parent=sobatku limit-at=64000 max- limit=250000 queue tree add name=pc6 packet-mark=pc6 parent=sobatku limit-at=64000 max-
  • 4. limit=250000 queue tree add name=pc7 packet-mark=pc7 parent=sobatku limit-at=64000 max- limit=250000 queue tree add name=pc8 packet-mark=pc8 parent=sobatku limit-at=64000 max- limit=250000 queue tree add name=pc9 packet-mark=pc9 parent=sobatku limit-at=64000 max- limit=250000 queue tree add name=pc10 packet-mark=pc10 parent=sobatku limit-at=64000 max- limit=250000 Untuk CIR dan MIR dapat di sesuaikan dengan kesiapain Bandwidth yang didapat dari ISP Saran untuk setting CIR adalah total dari jumlah PC yang di queue kan jika di kalikan dengan Nilai CIR tidak melebihi Bandwidth minimal yang bisa di dapat dari ISP biasanya menggunakan 64k, total dari 64kx11 PC sekitar 700an kbps. Jika ente yakin ISP ente bisa memberikan 1 mbps pada saat peak time, ente dapat mendapatkan Nilai CIR dari total Bandwidth di bagi jumlah PC. semoga bermanfaat, maaf kalo cupu, ini untuk kasus sederhana :)