membangun wan
A. GAMBARAN KERJA
B. ALAT DAN BAHAN
a) ALAT
No | NAMA ALAT | SPESIFIKASI | JUMLAH | SATUAN |
1 | Obeng Plus (+) | - | 1 | Buah |
2 | Obeng Minus (-) | - | 1 | Buah |
3 | Tang Potong | - | 1 | Buah |
4 | Tang Krimping | Konektor RJ-45 | 1 | Buah |
5 | UTP Cable Tester | Konektor RJ-45 | 1 | Buah |
6 | Sabuk Pengaman | - | 1 | Buah |
7 | AVO meter | 1 | Buah |
b) BAHAN
No | Nama Bahan | Spesifikasi | Jumlah | Satuan |
1 | PC Server dan Router | o PC Router 1 (OS Linux RedHat) o PC DNS Server (OS Linux Debian 4.0) o PC Web/Mail Server (OS Linux Debian Woody) o PC FTP Server (OS Linux Ubuntu Server 8) o PC Router 2 (OS Mikrotik) | 1 1 1 1 1 | Unit Unit Unit Unit Unit |
2 | PC Client | (OS Windows XP) | 10 | Unit |
3 | Laptop Client | (OS Linux Klixs) | 2 | Unit |
4 | Switch | 8 port 10/100 Mbps | 3 | Unit |
5 | Access Point | · TP-Link · Engenius | 1 2 | Unit Unit |
6 | Antena Grid | 2 | Unit | |
7 | Tower | - | 2 | Unit |
8 | NIC | Realtek | 10 | Unit |
9 | Jack | 5 port | 6 | Buah |
10 | Flashdisk | Kingstone 2 GB | 1 | Unit |
11 | Kabel UTP | Kategori 5 | Meter | |
12 | Konektor | 8 pin RJ-45 | Buah | |
13 | CD Installer Linux Ubuntu Server 8.0 | - | 1 | Keping |
14 | CD Installer Mikrotik | - | 1 | Keping |
15 | DVD Installer Debian 4.0 | - | 1 | Keping |
16 | CD Installer Debian Woody | CD 1, CD 2, CD 8, CD 9. | 12 | Keping |
17 | CD Installer Redhat | 3 | Keping | |
18 | CD Installer Klixs | 1 | Keping | |
19 | CD Installer Windows XP | Pack 1 | 1 | Keping |
20 | Winbox | |||
21 | Joomla |
C. Tabel Routing
No | Node | Device | IP Address | Perintah | |
1. | Router 1 ( Redhat) | eth0 | 202.110.101.2 | #route add default gw 10.10.10.1 #echo 1 > /proc/sys/net/ipv4/ip_forward #/sbin/iptables -t nat -A POSTROUTING -s 10.0.0.0/8 -j MASQUERADE #/sbin/iptables -t nat -A PREROUTING -s 10.0.0.0/8 -p tcp --dport 80 -j REDIRECT --to-port 3128 | |
eth1 | 10.10.10.1 | ||||
2 | Router 2 (Mikrotik) | Eth1 | 10.10.10.11 | Setting dari Winbox | |
Eth2 | 172.17.0.1 | ||||
2. | Klien | Eth2 | 192.168.254.0 (IP DHCP) 172.17.0.3-172.17.0.13 |
D. Membangun Router 1 (OS Redhat)
1. Masuk sebagai root
2. Check ip dengan perintah
#vi /etc/sysconfig/network-scripts/ifcfg-eth0
Kurang lebih tampil seperti dibawah ini :
Lakukan setting eth1 yang hampir sama dengan eth0, dengan ip sesuai Ketentuan.
#vi /etc/sysconfig/network-scripts/ifcfg-eth1
3. Edit file resolv.conf
#vi /etc/resolv.conf
4. Restart network
#service network restart
5. Aktifkan IP forward
#echo 1 > /proc/sys/net/ipv4/ip_forward
#vi /etc/sysctl.conf
Edit nilai net.ipv4.ip_forward yang awalnya 0 menjadi 1.
6. Setting firewall iptables
#route add default gw 10.10.10.1
#/sbin/iptables -t nat -A POSTROUTING -s 10.0.0.0/8 -j MASQUERADE
#/sbin/iptables -t nat -A PREROUTING -s 10.0.0.0/8 -p tcp --dport 80 -j REDIRECT --to-port 3128
#service iptables save
#chkconfig iptables on
#ping 202.110.101.1
#ping 10.210.254.2