Top Banner
Kasmawi, S.Kom (Networking ) The Lecturer of information technology program Politechnic of Bengkalis [email protected]
20

Kasmawi , S.Kom (Networking ) The Lecturer of information technology program

Jan 01, 2016

Download

Documents

lydia-olsen

Kasmawi , S.Kom (Networking ) The Lecturer of information technology program Politechnic of Bengkalis [email protected]. Membuat Jaringan Lokal dengan PC Router Menggunakan Sistem Operasi Linux Redhat 9. Kasmawi, S.Kom The Lecturer of information technology program - PowerPoint PPT Presentation
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Kasmawi ,  S.Kom (Networking ) The Lecturer of information technology program

Kasmawi, S.Kom

(Networking )

The Lecturer of information technology program

Politechnic of Bengkalis

[email protected]

Page 2: Kasmawi ,  S.Kom (Networking ) The Lecturer of information technology program

Membuat Jaringan Lokal dengan PC Router Menggunakan

Sistem Operasi Linux Redhat 9

Kasmawi, S.Kom The Lecturer of information technology program

Politechnic of Bengkalis, email : [email protected]

Page 3: Kasmawi ,  S.Kom (Networking ) The Lecturer of information technology program

PC Router adalah Personal Computer (PC) yang digunakan sebagai Router (routing) biasanya yang digunakan adalah PC Multihomed yaitu Komputer yang memiliki lebih dari 1 NIC ( Network Interface Card).

PC Router

Page 4: Kasmawi ,  S.Kom (Networking ) The Lecturer of information technology program

Kelengkapan peralatan

Kebutuhan yang diperlukan dalam mendesain jaringandengan PC Route adalah :1.Komputer2.Kartu Jaringan (NIC) 2 buah atau lebih3.Kabel jaringan4.Switch

Page 5: Kasmawi ,  S.Kom (Networking ) The Lecturer of information technology program

Kelengkapan Konfigurasi

1.CD OS Linux Redhat 92.Komputer ( Ready )3.Kartu Jaringan (NIC) 2 buah atau lebih ( Ready )4.Kabel jaringan ( Ready )5.Switch ( Ready)

Page 6: Kasmawi ,  S.Kom (Networking ) The Lecturer of information technology program
Page 7: Kasmawi ,  S.Kom (Networking ) The Lecturer of information technology program
Page 8: Kasmawi ,  S.Kom (Networking ) The Lecturer of information technology program

Lakukan Instalasi OS Linux Redhat 9

Page 9: Kasmawi ,  S.Kom (Networking ) The Lecturer of information technology program

Konfigurasi PC Router

Page 10: Kasmawi ,  S.Kom (Networking ) The Lecturer of information technology program

IP Privat ( Internet Service Provider - ISP)

IP Address : 202.124.13.100Netmask : 255.255.255.248Gateway : 202.124.13.100

DNS : 202.130.200.200

IP Address : 192.168.10.1/24 – 192.168.10.255/24Netmask : 255.255.255.0

IP lokal ( ip yang diberikan oleh admin)IP lokal ( ip yang diberikan oleh admin)

Page 11: Kasmawi ,  S.Kom (Networking ) The Lecturer of information technology program

NETWORKING=yesHOSTNAME=localhost.localdomainGATEWAY=192.168.1.254

1. Setting Network

# vi /etc/sysconfig/network

lalu simpan dengan menekan :wq

Page 12: Kasmawi ,  S.Kom (Networking ) The Lecturer of information technology program

DEVICE=eth0BOOTPROTO=noneONBOOT=yesIPADDR=192.168.1.200NETMASK=255.255.255.0USERCTL=noPEERDNS=noGATEWAY=192.168.1.254TYPE=EthernetNETWORK=192.168.1.0BROADCAST=192.168.1.255

2. Setting eth0

# vi /etc/sysconfig/network-scripts/ifcfg-eth0

lalu simpan dengan menekan :wq

Page 13: Kasmawi ,  S.Kom (Networking ) The Lecturer of information technology program

# vi /etc/sysconfig/network-scripts/ifcfg-eth1DEVICE=eth1BOOTPROTO=staticONBOOT=yesUSERCTL=noPEERDNS=noTYPE=EthernetIPADDR=192.168.10.1NETMASK=255.255.255.0NETWORK=192.168.10.0BROADCAST=192.168.10.255

setting eth1# vi /etc/sysconfig/network-scripts/ifcfg-eth1

lalu simpan dengan menekan : wq

Page 14: Kasmawi ,  S.Kom (Networking ) The Lecturer of information technology program

nameserver 202.130.200.200

search localdomain

3. Seting DNS resolv.conf

# vi /etc/resolv.conf

lalu simpan dengan menekan :wq

Page 15: Kasmawi ,  S.Kom (Networking ) The Lecturer of information technology program

net.ipv4.ip_forward = 0 menjadi 1

4. Setting ip_forwarding

# vi /etc/sysctl.conf

lalu simpan dengan menekan :wq

Page 16: Kasmawi ,  S.Kom (Networking ) The Lecturer of information technology program

# /etc/init.d/network restart

5.Restart Network

6. # chkconfig --level 2345 network on

Page 17: Kasmawi ,  S.Kom (Networking ) The Lecturer of information technology program

# ping 202.130.200.200

# ping google.com

7.Lakukan Pengujian

8. # /etc/init.d/named restart

9. #chkconfig --level 2345 named on

# /etc/init.d/network restart

10.Restart Network

Page 18: Kasmawi ,  S.Kom (Networking ) The Lecturer of information technology program

# /etc/init.d/iptables stop

11. Matikan iptablesnya

12. # /sbin/iptables -t nat -A POSTROUTING -o eth0 -s 192.168.10.0/24 -j SNAT --to-source 192.168.1.20013. # /sbin/iptables-save > /etc/sysconfig/iptables

14.# /etc/init.d/iptables restart

15. # iptables-save

Page 19: Kasmawi ,  S.Kom (Networking ) The Lecturer of information technology program

Ip Address : 192.168.10.2Netmask : 255.255.255.0Getway : 192.168.10.1DNS : 202.130.260.250

16. Seting IP Client1

Ip Address : 192.168.10.3Netmask : 255.255.255.0Getway : 192.168.10.1DNS : 202.130.260.250

17. Seting IP Client2

Page 20: Kasmawi ,  S.Kom (Networking ) The Lecturer of information technology program

Coba lakukan browser

Good Luck