1 / 20

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

Kasmawi , S.Kom (Networking ) The Lecturer of information technology program Politechnic of Bengkalis kasmawi@polbeng.ac.id. Membuat Jaringan Lokal dengan PC Router Menggunakan Sistem Operasi Linux Redhat 9. Kasmawi, S.Kom The Lecturer of information technology program

lydia-olsen
Download Presentation

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

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Kasmawi, S.Kom (Networking )The Lecturer of information technology program Politechnic of Bengkalis kasmawi@polbeng.ac.id

  2. Membuat Jaringan Lokal dengan PC Router Menggunakan Sistem Operasi Linux Redhat 9 Kasmawi, S.KomThe Lecturer of information technology program Politechnic of Bengkalis, email : kasmawi@polbeng.ac.id

  3. PC Router 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).

  4. Kelengkapan peralatan • Kebutuhan yang diperlukan dalam mendesain jaringan • dengan PC Route adalah : • Komputer • Kartu Jaringan (NIC) 2 buah atau lebih • Kabel jaringan • Switch

  5. Kelengkapan Konfigurasi • CD OS Linux Redhat 9 • Komputer ( Ready ) • Kartu Jaringan (NIC) 2 buah atau lebih ( Ready ) • Kabel jaringan ( Ready ) • Switch ( Ready)

  6. Lakukan Instalasi OS Linux Redhat 9

  7. Konfigurasi PC Router

  8. IP Privat ( Internet Service Provider - ISP) IP Address : 202.124.13.100 Netmask : 255.255.255.248 Gateway : 202.124.13.100 DNS : 202.130.200.200 IP lokal ( ip yang diberikan oleh admin) IP Address : 192.168.10.1/24 – 192.168.10.255/24 Netmask : 255.255.255.0

  9. Setting Network # vi /etc/sysconfig/network NETWORKING=yes HOSTNAME=localhost.localdomain GATEWAY=192.168.1.254 lalu simpan dengan menekan :wq

  10. 2. Setting eth0 # vi /etc/sysconfig/network-scripts/ifcfg-eth0 DEVICE=eth0 BOOTPROTO=none ONBOOT=yes IPADDR=192.168.1.200 NETMASK=255.255.255.0 USERCTL=no PEERDNS=no GATEWAY=192.168.1.254 TYPE=Ethernet NETWORK=192.168.1.0 BROADCAST=192.168.1.255 lalu simpan dengan menekan :wq

  11. setting eth1 # vi /etc/sysconfig/network-scripts/ifcfg-eth1 # vi /etc/sysconfig/network-scripts/ifcfg-eth1 DEVICE=eth1 BOOTPROTO=static ONBOOT=yes USERCTL=no PEERDNS=no TYPE=Ethernet IPADDR=192.168.10.1 NETMASK=255.255.255.0 NETWORK=192.168.10.0 BROADCAST=192.168.10.255 lalu simpan dengan menekan : wq

  12. 3. Seting DNS resolv.conf # vi /etc/resolv.conf nameserver 202.130.200.200 search localdomain lalu simpan dengan menekan :wq

  13. 4. Setting ip_forwarding # vi /etc/sysctl.conf net.ipv4.ip_forward = 0 menjadi 1 lalu simpan dengan menekan :wq

  14. 5.Restart Network # /etc/init.d/network restart 6. # chkconfig --level 2345 network on

  15. 7.Lakukan Pengujian # ping 202.130.200.200 # ping google.com 8. # /etc/init.d/named restart 9. #chkconfig --level 2345 named on 10.Restart Network # /etc/init.d/network restart

  16. 11. Matikan iptablesnya # /etc/init.d/iptables stop 12. # /sbin/iptables -t nat -A POSTROUTING -o eth0 -s 192.168.10.0/24 -j SNAT --to-source 192.168.1.200 13. # /sbin/iptables-save > /etc/sysconfig/iptables 14.# /etc/init.d/iptables restart 15. # iptables-save

  17. 16. Seting IP Client1 Ip Address : 192.168.10.2 Netmask : 255.255.255.0 Getway : 192.168.10.1 DNS : 202.130.260.250 17. Seting IP Client2 Ip Address : 192.168.10.3 Netmask : 255.255.255.0 Getway : 192.168.10.1 DNS : 202.130.260.250

  18. Coba lakukan browser Good Luck

More Related