Sabtu, 10 Desember 2011

SETTING ROUTER RIP & NAT DENGAN SERVER WEB

sekedar info dulu ......
DCE dan DTE
Interface serial membutuhkan clock signal untuk mengontrol pewaktuan komunikasi yang dikenal dengan clock rate.
Peralatan Data Communications Equipment (DCE) seperti modem, atau CSU/DSU, menyediakan clock rate.
Secara default, router Cisco adalah peralatan Data Terminal Equipment (DTE).
Artinya router menerima clock rate dari peralatan DCE.
Konfigurasi Interface Serial
  • Tentukan jenis interface dan angka port-nya
  • Berikan deskripsi dari interface tersebut
  • Konfigurasi IP address dan subnet mask –nya
  • Pilih clock rate, apabila dikonfigurasikan sebagai DCE
  • Mengaktifkan interface tersebut 
-----------------------------------------------------------------------------------------------------------------------------
Langsung pada Pengaturan Router
tapi sebelum masuk ke konfigurasi Router lihat dulu bukannya pada Router1 Jalur Serial sudah kepakai, jadi kita harus menambahkan 1 hardware pendukung RC-45 untuk Serial 6/0 agar kita bisa membuat jalur lain.
Menambahkan 1 Ruang Router PT-ROUTER-NM-1S, tapi jangan lupa matikan Router dulu soalnya ntar ga bisa masuk...

ROUTER1

Router>en
Router#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
Router(config)#in fa0/0
Router(config-if)#ip add 172.16.2.1 255.255.255.240
Router(config-if)#no shut

%LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to up
Router(config-if)#exit
Router(config)#in s2/0
Router(config-if)#ip add 10.10.10.1 255.0.0.0
Router(config-if)#clock rate 64000
Router(config-if)#no shut

%LINK-5-CHANGED: Interface Serial2/0, changed state to down
Router(config-if)#exit
Router(config)#in s3/0
Router(config-if)#ip add 20.20.20.1 255.0.0.0
Router(config-if)#clock rate 64000
Router(config-if)#no shut

%LINK-5-CHANGED: Interface Serial3/0, changed state to down
Router(config-if)#exit
Router(config)#in s6/0
Router(config-if)#ip add 30.30.30.1 255.0.0.0
Router(config-if)#clock rate 64000
Router(config-if)#no shut

%LINK-5-CHANGED: Interface Serial6/0, changed state to down
Router(config-if)#exit
Router(config)#rou RIP
Router(config-router)#network 10.10.10.0
Router(config-router)#network 20.20.20.0
Router(config-router)#network 30.30.30.0
Router(config-router)#network 172.16.0.0
Router(config-router)#^Z
%SYS-5-CONFIG_I: Configured from console by console
Router#wr mem
Building configuration...
[OK]
Router#
Router#
Router#
Router#sh run
Building configuration...

Current configuration : 736 bytes
!
version 12.2
no service password-encryption
!
hostname Router
!
!
!
!
!
ip ssh version 1
!
!
interface FastEthernet0/0
 ip address 172.16.2.1 255.255.0.0
 duplex auto
 speed auto
!
interface FastEthernet1/0
 no ip address
 duplex auto
 speed auto
 shutdown
!
interface Serial2/0
 ip address 10.10.10.1 255.0.0.0
 clock rate 64000
!
interface Serial3/0
 ip address 20.20.20.1 255.0.0.0
 clock rate 64000
!
interface FastEthernet4/0
 no ip address
 shutdown
!
interface FastEthernet5/0
 no ip address
 shutdown
!
interface Serial6/0
 ip address 30.30.30.1 255.0.0.0
 clock rate 64000
!
router rip
 network 10.0.0.0
 network 20.0.0.0
 network 30.0.0.0
 network 172.16.0.0
!
ip classless
!
!
!
!
!
line con 0
line vty 0 4
 login
!
!
end

ROUTER2

Router>en 
Router#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
Router(config)#in fa0/0
Router(config-if)#ip add 200.200.200.1 255.255.255.0
Router(config-if)#no shut

%LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to up
Router(config-if)#in s2/0
Router(config-if)#ip add 20.20.20.2 255.0.0.0
Router(config-if)#no shut

%LINK-5-CHANGED: Interface Serial2/0, changed state to up
Router(config-if)#
%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial2/0, changed state to up
Router(config-if)#
Router(config-if)#exit
Router(config)#rou rip
Router(config-router)#network 20.0.0.0
Router(config-router)#network 200.200.200.0
Router(config-router)#no shut
                         ^
% Invalid input detected at '^' marker.
   
Router(config-router)#exit
Router(config)#^Z
%SYS-5-CONFIG_I: Configured from console by console
Router#wr mem
Building configuration...
[OK]
Router#
Router#sh run
Building configuration...

Current configuration : 591 bytes
!
version 12.2
no service password-encryption
!
hostname Router
!
!
!
!
!
ip ssh version 1
!
!
interface FastEthernet0/0
 ip address 200.200.200.1 255.255.255.0
 duplex auto
 speed auto
!
interface FastEthernet1/0
 no ip address
 duplex auto
 speed auto
 shutdown
!
interface Serial2/0
 ip address 20.20.20.2 255.0.0.0
!
interface Serial3/0
 no ip address
 shutdown
!
interface FastEthernet4/0
 no ip address
 shutdown
!
interface FastEthernet5/0
 no ip address
 shutdown
!
router rip
 network 20.0.0.0
 network 200.200.200.0
!
ip classless
!
!
!
!
!
line con 0
line vty 0 4
 login
!
!
end



ROUTER0 NAT

(Kenapa Router 0 kita Set terakhir, karena di Router ini kita menggunakan NAT,inside/outset, dimana kita bisa melakukan jalur masuk ke server/DNS akan tetapi dari DNS/Server tidak bisa masuk ke dalam jaringan kita....
Router>en
Router#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
Router(config)#in fa0/0
Router(config-if)#ip add 192.168.1.1 255.255.255.0
Router(config-if)#no shut

%LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to up
Router(config-if)#exit
Router(config)#in s2/0
Router(config-if)#ip add 10.10.10.2 255.0.0.0
Router(config-if)#no shut

%LINK-5-CHANGED: Interface Serial2/0, changed state to up
Router(config-if)#
%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial2/0, changed state to up
Router(config-if)#exit
Router(config)#ip route 0.0.0.0 0.0.0.0 s2/0
Router(config)#int fa0/0
Router(config-if)#in nat inside
                   ^
% Invalid input detected at '^' marker.
   

Router(config-if)#exit
Router(config)#in s2/0
Router(config-if)#ip nat outside
Router(config-if)#exit
Router(config)#ip nat inside source static 192.168.1.2 10.10.10.3   
Router(config)#no shut                      
Router(config)#exit
%SYS-5-CONFIG_I: Configured from console by console
Router#^Z
Router#wr mem
Building configuration...
[OK]
Router#


SEPERTI Pembahasan sebelumnya..... kita perlu chek apakan Jalur sudah Koneksi,
 dari SERVER ke SERVER Succesfully

 dari Pc ke SERVER Succesfully juga....

Uppssss kenapa dari SERVER ke PC Failed ya..... hehehehe lupa ya.. kan kita setting agar SERVER tidak bisa masuk ke Topologi Jaringan kita.....

jadi... segitu dulu tambahan kita hari ini... saya sedang belajar,semoga bisa lebih mengerti...

Tidak ada komentar:

Posting Komentar