SlideShare ist ein Scribd-Unternehmen logo
1 von 6
SETTING UBUNTU SERVER SEBAGAI PC ROUTER :
1. Aktifkan account root :
$ sudo passwd root
$ su root
2. Login melalui account root :
login as: root
root@192.168.10.1's password:
3. Setting protocol TCP/IP :
root@tkj1:~# vim /etc/network/interfaces
auto eth0
iface eth0 inet static
address 192.168.255.5
netmask 255.255.255.224
network 192.168.255.0
broadcast 192.168.255.31
gateway 192.168.255.1 name server
auto eth1
iface eth1 inet static
address 192.168.10.1
netmask 255.255.255.0
network 192.168.10.0
broadcast 192.168.10.255
4. Setting DNS RESOLVER :
root@tkj1:~# vim /etc/resolv.conf
search www.smk-hkbp.sch.id
nameserver 192.168.255.1
nameserver 180.131.145.145
10.17.125.288/3.244
ADD 10.0.2.15/255
Mask 255====0
5. Setting ip_forwarding :
root@tkj1:~# vim /etc/sysctl.conf
net.ipv4.ip_forward=1
6. Restart konfigurasi TCP/IP :
root@tkj1:~# /etc/init.d/networking restart
[ OK ]
7. Ping default gateway :
root@tkj1:~# ping 192.168.255.1
PING 192.168.255.1 (192.168.255.1) 56(84) bytes of data.
64 bytes from 192.168.255.1: icmp_req=1 ttl=64 time=0.217 ms
8. Setting protocol TCP/IP computer client :
9. Test koneksi antara Server dan Client :
-dari server :
root@tkj1:/etc# ping 192.168.10.2
PING 192.168.10.2 (192.168.10.2) 56(84) bytes of data.
64 bytes from 192.168.10.2: icmp_req=1 ttl=128 time=0.133 ms
-dari client
C:Documents and SettingsStenly and Suwi>ping 192.168.10.1
Pinging 192.168.10.1 with 32 bytes of data:
Reply from 192.168.10.1: bytes=32 time<1ms TTL=64
Reply from 192.168.10.1: bytes=32 time<1ms TTL=64
Reply from 192.168.10.1: bytes=32 time<1ms TTL=64
Reply from 192.168.10.1: bytes=32 time<1ms TTL=64
IP Address : 192.168.10.2
Netmask : 255.255.255.0
Gateway : 192.168.10.1
Ping statistics for 192.168.10.1:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 0ms, Maximum = 0ms, Average = 0ms
C:Documents and SettingsStenly and Suwi>
10. Setting NAT agar client dapat terhubung internet :
root@tkj1:~# vim /etc/rc.local
iptables -t nat -A POSTROUTING -s 192.168.10.0/24 -d 0.0.0.0/0 -j MASQUERADE
root@tkj1:~# cd /etc
root@tkj1:/etc# ./rc.local
11. Reboot system :
root@tkj1:/etc# shutdown -r now
12. Test koneksi internet dari client :
C:Documents and SettingsStenly and Suwi>ping www.google.com
Pinging www.google.com [173.194.38.144] with 32 bytes of data:
Reply from 173.194.38.144: bytes=32 time=151ms TTL=49
Reply from 173.194.38.144: bytes=32 time=175ms TTL=49
Reply from 173.194.38.144: bytes=32 time=152ms TTL=49
Reply from 173.194.38.144: bytes=32 time=169ms TTL=49
Ping statistics for 173.194.38.144:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 151ms, Maximum = 175ms, Average = 161ms
C:Documents and SettingsStenly and Suwi>
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 151ms, Maximum = 175ms, Average = 161ms
C:Documents and SettingsStenly and Suwi>

Weitere ähnliche Inhalte

Was ist angesagt?

PURL and vers: The Mostly Universal Package URL and Version Ranges Identifier...
PURL and vers: The Mostly Universal Package URL and Version Ranges Identifier...PURL and vers: The Mostly Universal Package URL and Version Ranges Identifier...
PURL and vers: The Mostly Universal Package URL and Version Ranges Identifier...Michael Herzog
 
install active directory and configure domain controller
install active directory and configure domain controllerinstall active directory and configure domain controller
install active directory and configure domain controllerAlRomaniRashad
 
Proteksi Brute Force pada Proxmox Virtual Environment (PVE) menggunakan Fail2Ban
Proteksi Brute Force pada Proxmox Virtual Environment (PVE) menggunakan Fail2BanProteksi Brute Force pada Proxmox Virtual Environment (PVE) menggunakan Fail2Ban
Proteksi Brute Force pada Proxmox Virtual Environment (PVE) menggunakan Fail2BanI Putu Hariyadi
 
Getting Started With WebAuthn
Getting Started With WebAuthnGetting Started With WebAuthn
Getting Started With WebAuthnFIDO Alliance
 
CyberOps Associate Modul 25 Network Security Data
CyberOps Associate Modul 25 Network Security DataCyberOps Associate Modul 25 Network Security Data
CyberOps Associate Modul 25 Network Security DataPanji Ramadhan Hadjarati
 
02-Active Directory Domain Services.pptx
02-Active Directory Domain Services.pptx02-Active Directory Domain Services.pptx
02-Active Directory Domain Services.pptxAdiWidyanto2
 
Group policy preferences
Group policy preferencesGroup policy preferences
Group policy preferencesRob Dunn
 
Active directory architecture
Active directory architectureActive directory architecture
Active directory architecturerahuldaredia21
 
CompTIA Network+ Lesson
CompTIA Network+ LessonCompTIA Network+ Lesson
CompTIA Network+ LessonPhoenix TS
 
CyberOps Associate Modul 26 Evaluating Alerts
CyberOps Associate Modul 26 Evaluating AlertsCyberOps Associate Modul 26 Evaluating Alerts
CyberOps Associate Modul 26 Evaluating AlertsPanji Ramadhan Hadjarati
 
What is active directory
What is active directoryWhat is active directory
What is active directoryAdeel Khurram
 
netis無線網路模式 Client
netis無線網路模式 Clientnetis無線網路模式 Client
netis無線網路模式 Client臺灣塔米歐
 
Troubleshooting MySQL from a MySQL Developer Perspective
Troubleshooting MySQL from a MySQL Developer PerspectiveTroubleshooting MySQL from a MySQL Developer Perspective
Troubleshooting MySQL from a MySQL Developer PerspectiveMarcelo Altmann
 

Was ist angesagt? (20)

PURL and vers: The Mostly Universal Package URL and Version Ranges Identifier...
PURL and vers: The Mostly Universal Package URL and Version Ranges Identifier...PURL and vers: The Mostly Universal Package URL and Version Ranges Identifier...
PURL and vers: The Mostly Universal Package URL and Version Ranges Identifier...
 
install active directory and configure domain controller
install active directory and configure domain controllerinstall active directory and configure domain controller
install active directory and configure domain controller
 
Proteksi Brute Force pada Proxmox Virtual Environment (PVE) menggunakan Fail2Ban
Proteksi Brute Force pada Proxmox Virtual Environment (PVE) menggunakan Fail2BanProteksi Brute Force pada Proxmox Virtual Environment (PVE) menggunakan Fail2Ban
Proteksi Brute Force pada Proxmox Virtual Environment (PVE) menggunakan Fail2Ban
 
Getting Started With WebAuthn
Getting Started With WebAuthnGetting Started With WebAuthn
Getting Started With WebAuthn
 
Beyond Pass Words
Beyond Pass WordsBeyond Pass Words
Beyond Pass Words
 
CyberOps Associate Modul 25 Network Security Data
CyberOps Associate Modul 25 Network Security DataCyberOps Associate Modul 25 Network Security Data
CyberOps Associate Modul 25 Network Security Data
 
02-Active Directory Domain Services.pptx
02-Active Directory Domain Services.pptx02-Active Directory Domain Services.pptx
02-Active Directory Domain Services.pptx
 
Group policy preferences
Group policy preferencesGroup policy preferences
Group policy preferences
 
IT system and network administrator
IT system and network administratorIT system and network administrator
IT system and network administrator
 
Active directory architecture
Active directory architectureActive directory architecture
Active directory architecture
 
Active directory slides
Active directory slidesActive directory slides
Active directory slides
 
Polygon (Matic)
Polygon (Matic)Polygon (Matic)
Polygon (Matic)
 
22410B_03.pptx
22410B_03.pptx22410B_03.pptx
22410B_03.pptx
 
CCNP CERTIFICATE
CCNP CERTIFICATECCNP CERTIFICATE
CCNP CERTIFICATE
 
CompTIA Network+ Lesson
CompTIA Network+ LessonCompTIA Network+ Lesson
CompTIA Network+ Lesson
 
CyberOps Associate Modul 26 Evaluating Alerts
CyberOps Associate Modul 26 Evaluating AlertsCyberOps Associate Modul 26 Evaluating Alerts
CyberOps Associate Modul 26 Evaluating Alerts
 
What is active directory
What is active directoryWhat is active directory
What is active directory
 
netis無線網路模式 Client
netis無線網路模式 Clientnetis無線網路模式 Client
netis無線網路模式 Client
 
DHCP & DNS
DHCP & DNSDHCP & DNS
DHCP & DNS
 
Troubleshooting MySQL from a MySQL Developer Perspective
Troubleshooting MySQL from a MySQL Developer PerspectiveTroubleshooting MySQL from a MySQL Developer Perspective
Troubleshooting MySQL from a MySQL Developer Perspective
 

Andere mochten auch

Cara setting jaringan workgroup di windows xp
Cara setting jaringan workgroup di windows xpCara setting jaringan workgroup di windows xp
Cara setting jaringan workgroup di windows xpAJIB- PUJIANTO
 
Manajemen jaringan server web server
Manajemen jaringan server   web serverManajemen jaringan server   web server
Manajemen jaringan server web serverDela Handayani
 
Instalasi Ubuntu Server di Virtual Box
Instalasi Ubuntu Server di Virtual BoxInstalasi Ubuntu Server di Virtual Box
Instalasi Ubuntu Server di Virtual Boxnooradiana
 
Tutorial Lengkap Instalasi ubuntu server 12.04 [sigernetwork.com]
Tutorial Lengkap Instalasi ubuntu server 12.04 [sigernetwork.com]Tutorial Lengkap Instalasi ubuntu server 12.04 [sigernetwork.com]
Tutorial Lengkap Instalasi ubuntu server 12.04 [sigernetwork.com]pakmin
 
Materi 1 TKJ - Membangun PC Router
Materi 1 TKJ - Membangun PC RouterMateri 1 TKJ - Membangun PC Router
Materi 1 TKJ - Membangun PC RouterWalid Umar
 
Tutorial Cara Instalasi Ubuntu Linux Lengkap
Tutorial Cara Instalasi Ubuntu Linux LengkapTutorial Cara Instalasi Ubuntu Linux Lengkap
Tutorial Cara Instalasi Ubuntu Linux Lengkapcreatorb dev
 
Mahir administrasi server dan router ubuntu server
Mahir administrasi server dan router ubuntu serverMahir administrasi server dan router ubuntu server
Mahir administrasi server dan router ubuntu serverAcep Nugraha
 
Laporan Installasi ubuntu server
Laporan Installasi ubuntu serverLaporan Installasi ubuntu server
Laporan Installasi ubuntu serverAlda Abad
 
2013 12. Administrasi Server Linux Ubuntu
2013 12. Administrasi Server Linux Ubuntu2013 12. Administrasi Server Linux Ubuntu
2013 12. Administrasi Server Linux UbuntuSyiroy Uddin
 
Tutorial Cara Membuat Aplikasi RSS Android - creatorb
Tutorial Cara Membuat Aplikasi RSS Android - creatorbTutorial Cara Membuat Aplikasi RSS Android - creatorb
Tutorial Cara Membuat Aplikasi RSS Android - creatorbcreatorb dev
 
Ubuntu server-904 membuat-server_dengan_ubuntu
Ubuntu server-904 membuat-server_dengan_ubuntuUbuntu server-904 membuat-server_dengan_ubuntu
Ubuntu server-904 membuat-server_dengan_ubuntuRaden Ozan
 
Ukk 2016 administrasi server ubuntu 14.04 lts - sahrul gunawan
Ukk 2016   administrasi server ubuntu 14.04 lts - sahrul gunawanUkk 2016   administrasi server ubuntu 14.04 lts - sahrul gunawan
Ukk 2016 administrasi server ubuntu 14.04 lts - sahrul gunawanSyiroy Uddin
 
Makalah dhcp, dns, dan web server
Makalah dhcp, dns, dan web serverMakalah dhcp, dns, dan web server
Makalah dhcp, dns, dan web serverGumilar Rahmat
 
Membangun Web Server Menggunakan Linux Ubuntu
Membangun Web Server Menggunakan Linux UbuntuMembangun Web Server Menggunakan Linux Ubuntu
Membangun Web Server Menggunakan Linux UbuntuRizky Fadillah
 
Tutorial Lengkap Cara Membuat Aplikasi Android Sederhana
Tutorial Lengkap Cara Membuat Aplikasi Android SederhanaTutorial Lengkap Cara Membuat Aplikasi Android Sederhana
Tutorial Lengkap Cara Membuat Aplikasi Android Sederhanacreatorb dev
 

Andere mochten auch (18)

Setting PROXY Ubuntu Server
Setting PROXY Ubuntu ServerSetting PROXY Ubuntu Server
Setting PROXY Ubuntu Server
 
Cara setting jaringan workgroup di windows xp
Cara setting jaringan workgroup di windows xpCara setting jaringan workgroup di windows xp
Cara setting jaringan workgroup di windows xp
 
Manajemen jaringan server web server
Manajemen jaringan server   web serverManajemen jaringan server   web server
Manajemen jaringan server web server
 
Tutorial instalasi ubuntu server 12.04, setting DNS server dan Web server
Tutorial instalasi ubuntu server 12.04, setting DNS server dan Web serverTutorial instalasi ubuntu server 12.04, setting DNS server dan Web server
Tutorial instalasi ubuntu server 12.04, setting DNS server dan Web server
 
Makalah ubuntu server
Makalah ubuntu serverMakalah ubuntu server
Makalah ubuntu server
 
Instalasi Ubuntu Server di Virtual Box
Instalasi Ubuntu Server di Virtual BoxInstalasi Ubuntu Server di Virtual Box
Instalasi Ubuntu Server di Virtual Box
 
Tutorial Lengkap Instalasi ubuntu server 12.04 [sigernetwork.com]
Tutorial Lengkap Instalasi ubuntu server 12.04 [sigernetwork.com]Tutorial Lengkap Instalasi ubuntu server 12.04 [sigernetwork.com]
Tutorial Lengkap Instalasi ubuntu server 12.04 [sigernetwork.com]
 
Materi 1 TKJ - Membangun PC Router
Materi 1 TKJ - Membangun PC RouterMateri 1 TKJ - Membangun PC Router
Materi 1 TKJ - Membangun PC Router
 
Tutorial Cara Instalasi Ubuntu Linux Lengkap
Tutorial Cara Instalasi Ubuntu Linux LengkapTutorial Cara Instalasi Ubuntu Linux Lengkap
Tutorial Cara Instalasi Ubuntu Linux Lengkap
 
Mahir administrasi server dan router ubuntu server
Mahir administrasi server dan router ubuntu serverMahir administrasi server dan router ubuntu server
Mahir administrasi server dan router ubuntu server
 
Laporan Installasi ubuntu server
Laporan Installasi ubuntu serverLaporan Installasi ubuntu server
Laporan Installasi ubuntu server
 
2013 12. Administrasi Server Linux Ubuntu
2013 12. Administrasi Server Linux Ubuntu2013 12. Administrasi Server Linux Ubuntu
2013 12. Administrasi Server Linux Ubuntu
 
Tutorial Cara Membuat Aplikasi RSS Android - creatorb
Tutorial Cara Membuat Aplikasi RSS Android - creatorbTutorial Cara Membuat Aplikasi RSS Android - creatorb
Tutorial Cara Membuat Aplikasi RSS Android - creatorb
 
Ubuntu server-904 membuat-server_dengan_ubuntu
Ubuntu server-904 membuat-server_dengan_ubuntuUbuntu server-904 membuat-server_dengan_ubuntu
Ubuntu server-904 membuat-server_dengan_ubuntu
 
Ukk 2016 administrasi server ubuntu 14.04 lts - sahrul gunawan
Ukk 2016   administrasi server ubuntu 14.04 lts - sahrul gunawanUkk 2016   administrasi server ubuntu 14.04 lts - sahrul gunawan
Ukk 2016 administrasi server ubuntu 14.04 lts - sahrul gunawan
 
Makalah dhcp, dns, dan web server
Makalah dhcp, dns, dan web serverMakalah dhcp, dns, dan web server
Makalah dhcp, dns, dan web server
 
Membangun Web Server Menggunakan Linux Ubuntu
Membangun Web Server Menggunakan Linux UbuntuMembangun Web Server Menggunakan Linux Ubuntu
Membangun Web Server Menggunakan Linux Ubuntu
 
Tutorial Lengkap Cara Membuat Aplikasi Android Sederhana
Tutorial Lengkap Cara Membuat Aplikasi Android SederhanaTutorial Lengkap Cara Membuat Aplikasi Android Sederhana
Tutorial Lengkap Cara Membuat Aplikasi Android Sederhana
 

Ähnlich wie Setting ubuntu server sebagai pc router

Konfigurasi Server Gateway dengan fitur PROXY, WEBSERVER dan DHCP
Konfigurasi Server Gateway dengan fitur PROXY, WEBSERVER dan DHCPKonfigurasi Server Gateway dengan fitur PROXY, WEBSERVER dan DHCP
Konfigurasi Server Gateway dengan fitur PROXY, WEBSERVER dan DHCPWalid Umar
 
Configure Mikrotik Khmer.pdf
Configure Mikrotik Khmer.pdfConfigure Mikrotik Khmer.pdf
Configure Mikrotik Khmer.pdfBT Digital
 
Load balancing n_fail_over
Load balancing n_fail_overLoad balancing n_fail_over
Load balancing n_fail_overmiissie
 
Networking in Gnu/Linux
Networking in Gnu/LinuxNetworking in Gnu/Linux
Networking in Gnu/LinuxAhmed Mekkawy
 
DNS server packet tracer
DNS server packet tracerDNS server packet tracer
DNS server packet tracerJalalMiah5
 
Sharing your-internet-connection-on-linux
Sharing your-internet-connection-on-linuxSharing your-internet-connection-on-linux
Sharing your-internet-connection-on-linuxjasembo
 
Openstack 101
Openstack 101Openstack 101
Openstack 101POSSCON
 
Cyber security and ethical hacking 3
Cyber security and ethical hacking 3Cyber security and ethical hacking 3
Cyber security and ethical hacking 3Mehedi Hasan
 
Linux Network commands
Linux Network commandsLinux Network commands
Linux Network commandsHanan Nmr
 
1.4.2-basic-configuration-with-mikrotik-cli.pdf
1.4.2-basic-configuration-with-mikrotik-cli.pdf1.4.2-basic-configuration-with-mikrotik-cli.pdf
1.4.2-basic-configuration-with-mikrotik-cli.pdfDeivysVargas
 
Tick Stack - Listen your infrastructure and please sleep
Tick Stack - Listen your infrastructure and please sleepTick Stack - Listen your infrastructure and please sleep
Tick Stack - Listen your infrastructure and please sleepGianluca Arbezzano
 
Networking For Application Developers by Roy Kim
Networking For Application Developers by Roy KimNetworking For Application Developers by Roy Kim
Networking For Application Developers by Roy KimRoy Kim
 
packet traveling (pre cloud)
packet traveling (pre cloud)packet traveling (pre cloud)
packet traveling (pre cloud)iman darabi
 
05 module managing your network enviornment
05  module managing your network enviornment05  module managing your network enviornment
05 module managing your network enviornmentAsif
 
DNS Server configuration in cisco packet tracer
DNS Server configuration in cisco packet tracerDNS Server configuration in cisco packet tracer
DNS Server configuration in cisco packet tracerShovonKumar1
 

Ähnlich wie Setting ubuntu server sebagai pc router (20)

Konfigurasi Server Gateway dengan fitur PROXY, WEBSERVER dan DHCP
Konfigurasi Server Gateway dengan fitur PROXY, WEBSERVER dan DHCPKonfigurasi Server Gateway dengan fitur PROXY, WEBSERVER dan DHCP
Konfigurasi Server Gateway dengan fitur PROXY, WEBSERVER dan DHCP
 
Configure Mikrotik Khmer.pdf
Configure Mikrotik Khmer.pdfConfigure Mikrotik Khmer.pdf
Configure Mikrotik Khmer.pdf
 
Load balancing n_fail_over
Load balancing n_fail_overLoad balancing n_fail_over
Load balancing n_fail_over
 
Networking in Gnu/Linux
Networking in Gnu/LinuxNetworking in Gnu/Linux
Networking in Gnu/Linux
 
Hyperlink
HyperlinkHyperlink
Hyperlink
 
DNS server packet tracer
DNS server packet tracerDNS server packet tracer
DNS server packet tracer
 
Sharing your-internet-connection-on-linux
Sharing your-internet-connection-on-linuxSharing your-internet-connection-on-linux
Sharing your-internet-connection-on-linux
 
Openstack 101
Openstack 101Openstack 101
Openstack 101
 
Cyber security and ethical hacking 3
Cyber security and ethical hacking 3Cyber security and ethical hacking 3
Cyber security and ethical hacking 3
 
Linux Network commands
Linux Network commandsLinux Network commands
Linux Network commands
 
1.4.2-basic-configuration-with-mikrotik-cli.pdf
1.4.2-basic-configuration-with-mikrotik-cli.pdf1.4.2-basic-configuration-with-mikrotik-cli.pdf
1.4.2-basic-configuration-with-mikrotik-cli.pdf
 
Modul quick debserver
Modul quick debserverModul quick debserver
Modul quick debserver
 
Tick Stack - Listen your infrastructure and please sleep
Tick Stack - Listen your infrastructure and please sleepTick Stack - Listen your infrastructure and please sleep
Tick Stack - Listen your infrastructure and please sleep
 
Networking For Application Developers by Roy Kim
Networking For Application Developers by Roy KimNetworking For Application Developers by Roy Kim
Networking For Application Developers by Roy Kim
 
packet traveling (pre cloud)
packet traveling (pre cloud)packet traveling (pre cloud)
packet traveling (pre cloud)
 
Stu t17 a
Stu t17 aStu t17 a
Stu t17 a
 
05 module managing your network enviornment
05  module managing your network enviornment05  module managing your network enviornment
05 module managing your network enviornment
 
DNS Server configuration in cisco packet tracer
DNS Server configuration in cisco packet tracerDNS Server configuration in cisco packet tracer
DNS Server configuration in cisco packet tracer
 
DNS,SMTP and POP3
DNS,SMTP and POP3DNS,SMTP and POP3
DNS,SMTP and POP3
 
main
mainmain
main
 

Kürzlich hochgeladen

Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfciinovamais
 
9548086042 for call girls in Indira Nagar with room service
9548086042  for call girls in Indira Nagar  with room service9548086042  for call girls in Indira Nagar  with room service
9548086042 for call girls in Indira Nagar with room servicediscovermytutordmt
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...EduSkills OECD
 
Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3JemimahLaneBuaron
 
Class 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdfClass 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdfAyushMahapatra5
 
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhikauryashika82
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingTechSoup
 
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...christianmathematics
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfsanyamsingh5019
 
fourth grading exam for kindergarten in writing
fourth grading exam for kindergarten in writingfourth grading exam for kindergarten in writing
fourth grading exam for kindergarten in writingTeacherCyreneCayanan
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdfQucHHunhnh
 
Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104misteraugie
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)eniolaolutunde
 
APM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAPM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAssociation for Project Management
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactPECB
 
General AI for Medical Educators April 2024
General AI for Medical Educators April 2024General AI for Medical Educators April 2024
General AI for Medical Educators April 2024Janet Corral
 

Kürzlich hochgeladen (20)

Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
 
9548086042 for call girls in Indira Nagar with room service
9548086042  for call girls in Indira Nagar  with room service9548086042  for call girls in Indira Nagar  with room service
9548086042 for call girls in Indira Nagar with room service
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
 
Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3
 
Class 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdfClass 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdf
 
Advance Mobile Application Development class 07
Advance Mobile Application Development class 07Advance Mobile Application Development class 07
Advance Mobile Application Development class 07
 
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptxINDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
 
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy Consulting
 
Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1
 
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdf
 
fourth grading exam for kindergarten in writing
fourth grading exam for kindergarten in writingfourth grading exam for kindergarten in writing
fourth grading exam for kindergarten in writing
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
 
Mattingly "AI & Prompt Design: The Basics of Prompt Design"
Mattingly "AI & Prompt Design: The Basics of Prompt Design"Mattingly "AI & Prompt Design: The Basics of Prompt Design"
Mattingly "AI & Prompt Design: The Basics of Prompt Design"
 
Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)
 
APM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAPM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across Sectors
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global Impact
 
General AI for Medical Educators April 2024
General AI for Medical Educators April 2024General AI for Medical Educators April 2024
General AI for Medical Educators April 2024
 

Setting ubuntu server sebagai pc router

  • 1. SETTING UBUNTU SERVER SEBAGAI PC ROUTER : 1. Aktifkan account root : $ sudo passwd root $ su root 2. Login melalui account root : login as: root root@192.168.10.1's password: 3. Setting protocol TCP/IP : root@tkj1:~# vim /etc/network/interfaces auto eth0 iface eth0 inet static address 192.168.255.5 netmask 255.255.255.224 network 192.168.255.0 broadcast 192.168.255.31 gateway 192.168.255.1 name server auto eth1 iface eth1 inet static address 192.168.10.1 netmask 255.255.255.0 network 192.168.10.0 broadcast 192.168.10.255
  • 2. 4. Setting DNS RESOLVER : root@tkj1:~# vim /etc/resolv.conf search www.smk-hkbp.sch.id nameserver 192.168.255.1 nameserver 180.131.145.145 10.17.125.288/3.244 ADD 10.0.2.15/255 Mask 255====0 5. Setting ip_forwarding : root@tkj1:~# vim /etc/sysctl.conf net.ipv4.ip_forward=1 6. Restart konfigurasi TCP/IP : root@tkj1:~# /etc/init.d/networking restart [ OK ] 7. Ping default gateway : root@tkj1:~# ping 192.168.255.1 PING 192.168.255.1 (192.168.255.1) 56(84) bytes of data. 64 bytes from 192.168.255.1: icmp_req=1 ttl=64 time=0.217 ms
  • 3. 8. Setting protocol TCP/IP computer client : 9. Test koneksi antara Server dan Client : -dari server : root@tkj1:/etc# ping 192.168.10.2 PING 192.168.10.2 (192.168.10.2) 56(84) bytes of data. 64 bytes from 192.168.10.2: icmp_req=1 ttl=128 time=0.133 ms -dari client C:Documents and SettingsStenly and Suwi>ping 192.168.10.1 Pinging 192.168.10.1 with 32 bytes of data: Reply from 192.168.10.1: bytes=32 time<1ms TTL=64 Reply from 192.168.10.1: bytes=32 time<1ms TTL=64 Reply from 192.168.10.1: bytes=32 time<1ms TTL=64 Reply from 192.168.10.1: bytes=32 time<1ms TTL=64 IP Address : 192.168.10.2 Netmask : 255.255.255.0 Gateway : 192.168.10.1
  • 4. Ping statistics for 192.168.10.1: Packets: Sent = 4, Received = 4, Lost = 0 (0% loss), Approximate round trip times in milli-seconds: Minimum = 0ms, Maximum = 0ms, Average = 0ms C:Documents and SettingsStenly and Suwi> 10. Setting NAT agar client dapat terhubung internet : root@tkj1:~# vim /etc/rc.local iptables -t nat -A POSTROUTING -s 192.168.10.0/24 -d 0.0.0.0/0 -j MASQUERADE root@tkj1:~# cd /etc root@tkj1:/etc# ./rc.local 11. Reboot system : root@tkj1:/etc# shutdown -r now 12. Test koneksi internet dari client : C:Documents and SettingsStenly and Suwi>ping www.google.com Pinging www.google.com [173.194.38.144] with 32 bytes of data: Reply from 173.194.38.144: bytes=32 time=151ms TTL=49 Reply from 173.194.38.144: bytes=32 time=175ms TTL=49 Reply from 173.194.38.144: bytes=32 time=152ms TTL=49 Reply from 173.194.38.144: bytes=32 time=169ms TTL=49 Ping statistics for 173.194.38.144:
  • 5. Packets: Sent = 4, Received = 4, Lost = 0 (0% loss), Approximate round trip times in milli-seconds: Minimum = 151ms, Maximum = 175ms, Average = 161ms C:Documents and SettingsStenly and Suwi>
  • 6. Packets: Sent = 4, Received = 4, Lost = 0 (0% loss), Approximate round trip times in milli-seconds: Minimum = 151ms, Maximum = 175ms, Average = 161ms C:Documents and SettingsStenly and Suwi>