+ All Categories
Home > Documents > Kasmawi , S.Kom (Networking ) The Lecturer of information technology program

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

Date post: 01-Jan-2016
Category:
Upload: lydia-olsen
View: 27 times
Download: 0 times
Share this document with a friend
Description:
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
Popular Tags:
20
Kasmawi, S.Kom (Networking ) The Lecturer of information technology program Politechnic of Bengkalis [email protected]
Transcript

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

Politechnic of Bengkalis, email : [email protected]

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

Kelengkapan peralatan

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

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)

Lakukan Instalasi OS Linux Redhat 9

Konfigurasi PC Router

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)

NETWORKING=yesHOSTNAME=localhost.localdomainGATEWAY=192.168.1.254

1. Setting Network

# vi /etc/sysconfig/network

lalu simpan dengan menekan :wq

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

# 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

nameserver 202.130.200.200

search localdomain

3. Seting DNS resolv.conf

# vi /etc/resolv.conf

lalu simpan dengan menekan :wq

net.ipv4.ip_forward = 0 menjadi 1

4. Setting ip_forwarding

# vi /etc/sysctl.conf

lalu simpan dengan menekan :wq

# /etc/init.d/network restart

5.Restart Network

6. # chkconfig --level 2345 network on

# 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

# /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

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

Coba lakukan browser

Good Luck


Recommended