SlideShare uma empresa Scribd logo
1 de 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 :)

Mais conteúdo relacionado

Último

2024 April Patch Tuesday
2024 April Patch Tuesday2024 April Patch Tuesday
2024 April Patch TuesdayIvanti
 
What is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdfWhat is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdfMounikaPolabathina
 
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptxThe Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptxLoriGlavin3
 
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024BookNet Canada
 
Generative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information DevelopersGenerative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information DevelopersRaghuram Pandurangan
 
TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024Lonnie McRorey
 
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc
 
Decarbonising Buildings: Making a net-zero built environment a reality
Decarbonising Buildings: Making a net-zero built environment a realityDecarbonising Buildings: Making a net-zero built environment a reality
Decarbonising Buildings: Making a net-zero built environment a realityIES VE
 
A Journey Into the Emotions of Software Developers
A Journey Into the Emotions of Software DevelopersA Journey Into the Emotions of Software Developers
A Journey Into the Emotions of Software DevelopersNicole Novielli
 
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxThe Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxLoriGlavin3
 
Sample pptx for embedding into website for demo
Sample pptx for embedding into website for demoSample pptx for embedding into website for demo
Sample pptx for embedding into website for demoHarshalMandlekar2
 
The State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptxThe State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptxLoriGlavin3
 
Emixa Mendix Meetup 11 April 2024 about Mendix Native development
Emixa Mendix Meetup 11 April 2024 about Mendix Native developmentEmixa Mendix Meetup 11 April 2024 about Mendix Native development
Emixa Mendix Meetup 11 April 2024 about Mendix Native developmentPim van der Noll
 
Potential of AI (Generative AI) in Business: Learnings and Insights
Potential of AI (Generative AI) in Business: Learnings and InsightsPotential of AI (Generative AI) in Business: Learnings and Insights
Potential of AI (Generative AI) in Business: Learnings and InsightsRavi Sanghani
 
Long journey of Ruby standard library at RubyConf AU 2024
Long journey of Ruby standard library at RubyConf AU 2024Long journey of Ruby standard library at RubyConf AU 2024
Long journey of Ruby standard library at RubyConf AU 2024Hiroshi SHIBATA
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsSergiu Bodiu
 
Time Series Foundation Models - current state and future directions
Time Series Foundation Models - current state and future directionsTime Series Foundation Models - current state and future directions
Time Series Foundation Models - current state and future directionsNathaniel Shimoni
 
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...Wes McKinney
 
How to write a Business Continuity Plan
How to write a Business Continuity PlanHow to write a Business Continuity Plan
How to write a Business Continuity PlanDatabarracks
 
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyes
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyesHow to Effectively Monitor SD-WAN and SASE Environments with ThousandEyes
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyesThousandEyes
 

Último (20)

2024 April Patch Tuesday
2024 April Patch Tuesday2024 April Patch Tuesday
2024 April Patch Tuesday
 
What is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdfWhat is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdf
 
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptxThe Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
 
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
 
Generative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information DevelopersGenerative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information Developers
 
TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024
 
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
 
Decarbonising Buildings: Making a net-zero built environment a reality
Decarbonising Buildings: Making a net-zero built environment a realityDecarbonising Buildings: Making a net-zero built environment a reality
Decarbonising Buildings: Making a net-zero built environment a reality
 
A Journey Into the Emotions of Software Developers
A Journey Into the Emotions of Software DevelopersA Journey Into the Emotions of Software Developers
A Journey Into the Emotions of Software Developers
 
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxThe Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
 
Sample pptx for embedding into website for demo
Sample pptx for embedding into website for demoSample pptx for embedding into website for demo
Sample pptx for embedding into website for demo
 
The State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptxThe State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptx
 
Emixa Mendix Meetup 11 April 2024 about Mendix Native development
Emixa Mendix Meetup 11 April 2024 about Mendix Native developmentEmixa Mendix Meetup 11 April 2024 about Mendix Native development
Emixa Mendix Meetup 11 April 2024 about Mendix Native development
 
Potential of AI (Generative AI) in Business: Learnings and Insights
Potential of AI (Generative AI) in Business: Learnings and InsightsPotential of AI (Generative AI) in Business: Learnings and Insights
Potential of AI (Generative AI) in Business: Learnings and Insights
 
Long journey of Ruby standard library at RubyConf AU 2024
Long journey of Ruby standard library at RubyConf AU 2024Long journey of Ruby standard library at RubyConf AU 2024
Long journey of Ruby standard library at RubyConf AU 2024
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platforms
 
Time Series Foundation Models - current state and future directions
Time Series Foundation Models - current state and future directionsTime Series Foundation Models - current state and future directions
Time Series Foundation Models - current state and future directions
 
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...
 
How to write a Business Continuity Plan
How to write a Business Continuity PlanHow to write a Business Continuity Plan
How to write a Business Continuity Plan
 
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyes
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyesHow to Effectively Monitor SD-WAN and SASE Environments with ThousandEyes
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyes
 

Destaque

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
 

Destaque (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 :)