Search what you want

Labels

Showing posts with label komdat. Show all posts
Showing posts with label komdat. Show all posts

Thursday, May 7, 2015

menambahkan jaringna dari router ke router

1. tambahkan satu jaringan baru secara fisik ( router, switch, 2 komputer)
2. tambahkan jaringa baru di server
- klik server pada jaringan satu
- pilih tab desktop
- pilih menu DHCP
Jaringan 4->
nama                : network1
Default Getway : 192.168.5.1
DNS Server     : 192.168.1.4
Start IP Address: 192.168.5.11
Subnet Mask    : 225.225.225.0
Maximum number of User: 240
- klik add

3. setting jaringan 4 dari R2 (router yang baru ditambahkan)
- hubungkan kabel konsole dari laptop ke router2
- masuk ke terminal di laptop

$ enable
//masuk ke konfigurasi
$ configure terminal
//ganti nama server
$ hostname R2
//beri password jaringan ini agar tidak dapat diakses oleh jaringan luar
// enable secret <password>
$ enable secret *****
// setting jaringan pertama, masuk ke interface jaringan 4
// Fa0/0 atau Fastethernet0/0
$ int Fastethernet0/0
// masukan ip jaringan pertama
$ ip address 192.168.5.1 255.255.255.0
$ ip helper addres 192.168.1.2
//restart router
// shut atau shutdown
$ no shutdown
$ <enter>
//melihat konfigurasi apakah sudah oke?
$ do wr
// jaringan satu selesai di setting

4. setting router2 agar terhubung ke router0
$ R2(config)#int fa4/0
$ R2(config-if)#ip address 192.168.4.2 255.255.255.0
$ R2(config-if)#no shut

%LINK-5-CHANGED: Interface FastEthernet4/0, changed state to down
$ R2(config-if)#exit
$ R2(config)#exit
$ R2#
%SYS-5-CONFIG_I: Configured from console by console
$ R2

5. setting router0 agar terhubung ke router2
$ R0>enable
$ Password:
$ R0#configure terminal
Enter configuration commands, one per line.  End with CNTL/Z.
$ R0(config)#int fa4/0                           

$ R0(config-if)#ip address 192.168.4.1 255.255.255.0
$ R0(config-if)#no shut

$ R0(config-if)#
%LINK-5-CHANGED: Interface FastEthernet4/0, changed state to up

%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet4/0, changed state to up

$ R0(config-if)#do wr
Building configuration...
[OK]
$ R0(config-if)#exit
$ R0(config)#exit
$ R0#
%SYS-5-CONFIG_I: Configured from console by console

$ R0#disable
$ R0>

6. setting jaringan 1 dan 2 melalui R0 agar terhubung ke jaringan 4 melalui R2
- conect computer melalui konsole ke R0
- buka terminal

$ R0>enable
$ Password:
$ R0#configure terminal
Enter configuration commands, one per line.  End with CNTL/Z.
$ R0(config)#ip route 192.168.5.0 255.255.255.0 192.168.4.2
$ R0(config)#end
$ R0#
% SYS-5-CONFIG_I: Configured from console by console

$ R0#show ip route
Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP
       D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
       N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
       E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP
       i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter area
       * - candidate default, U - per-user static route, o - ODR
       P - periodic downloaded static route

Gateway of last resort is not set

C    192.168.0.0/24 is directly connected, FastEthernet5/0
C    192.168.1.0/24 is directly connected, FastEthernet0/0
C    192.168.2.0/24 is directly connected, FastEthernet1/0
S    192.168.3.0/24 [1/0] via 192.168.0.2
C    192.168.4.0/24 is directly connected, FastEthernet4/0
S    192.168.5.0/24 [1/0] via 192.168.4.2
$ R0#

6. setting jaringan 4 melalui R2 agar terhubung ke jaringan 1 dan 2 melalui R0 dan
- conect computer melalui konsole ke R0
- buka terminal
$ R2>enable
$ Password:
$ R2#configure terminal
$ Enter configuration commands, one per line.  End with CNTL/Z.
$ R2(config)#ip route 192.168.1.0 255.255.255.0 192.168.4.1
$ R2(config)#ip route 192.168.2.0 255.255.255.0 192.168.4.1

Thursday, April 30, 2015

setting network with router

1. make network

2.  set server ip
-klik server
-klik menu Desktop
-set static IP : 192.168.1.2 then-> press tab
- set default getway 192.168.1.1   // karena server ada di jaringan 1
3. set ip untuk  dua jaringan.
- klik pada server di jaringan pertama.
- klik menu config
- klik menu DHCP
Jaringan1->
nama                : serverPool
Default Getway : 192.168.1.1
DNS Server     : 192.168.1.4
Start IP Address: 192.168.1.11
Subnet Mask    : 225.225.225.0
Maximum number of User: 240
klik save

Jaringan 2->
nama                : network1
Default Getway : 192.168.2.1
DNS Server     : 192.168.1.4
Start IP Address: 192.168.2.11
Subnet Mask    : 225.225.225.0
Maximum number of User: 240
klik add

4. setting router from laptop
-klik laptop
-klik tab desktop
- klik terminal






 -type "no", press enter

5. type command to set network
$ enable
//masuk ke konfigurasi
$ configure terminal
//ganti nama server
$ hostname R0
//beri password jaringan ini agar tidak dapat diakses oleh jaringan luar
// enable secret <password>
$ enable secret *****
// setting jaringan pertama, masuk ke interface jaringan 1
// Fa0/0 atau Fastethernet0/0
$ int Fastethernet0/0
// masukan ip jaringan pertama
$ ip address 192.168.1.1 255.255.255.0
//restart router
// shut atau shutdown
$ no shutdown
$ <enter>
//melihat konfigurasi apakah sudah oke?
$ do wr
// jaringan satu selesai di setting

// setting jaringan pertama, masuk ke interface jaringan2
// Fa1/0 atau Fastethernet1/0
$ int Fa1/0
// masukan ip jaringan pertama
$ ip address 192.168.2.1 255.255.255.0
//setting ip bantuan agar user di jaringan 2 dapat mengakses server di jaringan 1
$ ip helper-address 192.168.1.2
//restart router
// shut atau shutdown
$ no shutdown
$ <enter>
//melihat konfigurasi apakah sudah oke?
$ do wr
// jaringan 2 selesai di setting

//exit
$ exit
$ exit

// melihat hasil dari settingan yang telah kita lakukan
$ sh ip inter br
//untuk mengakhiri
$ disable
6. aktifkan DHCP pada masing- masing kompuer untuk mendapatkan IP dari server
-klik pada komputer user
-klik desktop
-klik IP configuration
-aktifkan DHCP
-lakukan pada semua komputer

7. tunggu hingga node(kelap-kelip menjadi berwarna hijau semua

Monday, March 30, 2015

Wget and command

     GNU Wget, seringkali hanya disebut wget, adalah sebuah program komputer sederhana yang mengambil materi dari web server, dan merupakan bagian dari Proyek GNU. Namanya diturunkan dari World Wide Web dan get, konotatif dari fungsi primernya. Program ini mendukung pengunduhan melalui protokol HTTP, HTTPS, dan FTP, protokol berbasis TCP/IP yang paling luas digunakan untuk penjelajahan web.
     Fitur-fiturnya meliputi pengunduhan rekursif, konversi pranala untuk peninjauan offline dari HTML lokal, mendukung proxy, dan lebih banyak lagi. Pertama kali muncul pada tahun 1996, dilatarbelakangi oleh ledakan penggunaan Web, menyebabkan penggunaan yang luas di antara para pengguna Unix dan distribusi Linux terkemuka. Ditulis menggunakan bahasa C portabel, Wget dapat diinstal secara mudah pada sistem mirip-Unix apa saja dan telah diportasi ke beberapa lingkungan, termasuk Mac OS X, Microsoft Windows, OpenVMS dan AmigaOS.
        Wget digunakan sebagai basis program-program GUI semisal Gwget untuk desktop GNOME. Dirilis di bawah Lisensi Publik Umum GNU v3, Wget adalah perangkat lunak bebas.


wget http://www.computerhope.com/
mendownload homepage (index.htm) dari  www.computerhope.com

wget --limit-rate=200k http://www.example.org/files/archive.zip
mendownlaod file archive.zip dari www.example.org, dengan limit bandwidth download mencapai 200k/s.

wget -c http://www.example.org/files/archive.zip
Download archive.zip from example.org, and if a partial download exists in the current directory, resume the download where it left off.

wget -b http://www.example.org/files/archive.zip

mendownload archive.zip di backgroud.

wget --spider http://www.example.org/files/archive.zip

Uses "web spider" mode to check if a remote file exists. Output will resemble the following:
Spider mode enabled. Check if remote file exists.
HTTP request sent, awaiting response... 200 OK
Length: 1206 (1.2K) [application/zip]
Remote file exists.
 
wget --mirror -p --convert-links -P ./example-mirror http://www.example.org

mendownload sebuah salinan komplit dari website www.example.org ke folder lokal  ./example-mirror untuk di akses secara lokal.

wget -Q5m http://www.example.org/files/archive.zip

Stop downloading archive.zip once 5megabytes have been successfully transferred. This transfer can then later be resumed using the -c option.

sumber:
http://id.wikipedia.org/wiki/Wget
http://en.wikipedia.org/wiki/Wget
http://www.computerhope.com/unix/wget.htm 
http://www.tecmint.com/10-wget-command-examples-in-linux/