Search what you want

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

No comments:

Post a Comment