Router Kampus A & Router Kampus B saling terkoneksi
Konfigurasi untuk Router I
--- System Configuration Dialog ---
Continue with configuration dialog? [yes/no]: n
Press RETURN to get started!
Router>enable à (untuk meng-enable router)
Memberi nama router
Router#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#hostname Kampus_A
Membuat Banner
Kampus_A(config)#banner motd a
Enter TEXT message. End with the character 'a'.
-------------------------------------------------------
= Welcome To KAmpus A =
= < SAFRIAN > =
-------------------------------------------------------
a
Membuat Password
Kampus_A(config)#enable password 1234
Setting IP Serial 0/0/0
Kampus_A(config)#interface serial 0/0/0
Kampus_A(config-if)#ip address 192.168.1.2 255.255.255.0
Kampus_A(config-if)#clock rate 64000
Kampus_A(config-if)#no shutdown
%LINK-5-CHANGED: Interface Serial0/0/0, changed state to down
Kampus_A(config-if)#exit
Setting Telnet
Kampus_A(config)#line vty 0 4
Kampus_A(config-line)#password 1234
Kampus_A(config-line)#login
Kampus_A(config-line)#exit
Kampus_B(config)#exit
Mengecek seluruh konfigurasi yang telah di buat:
Kampus_A#show running-config
Building configuration...
Current configuration : 884 bytes
!
version 12.4
no service timestamps log datetime msec
no service timestamps debug datetime msec
no service password-encryption
!
hostname Kampus_A
!
!
!
enable secret 5 $1$mERr$4dpRATIgxQacPVK0CfNV4/
enable password 1234
!
!
!
!
interface Serial0/0/0
ip address 192.168.1.2 255.255.255.0
clock rate 64000
!
ip classless
!
!
!
!
!
!
!
banner motd ^C
------------------------------------------------
= Welcome To KAmpus A =
= < SAFRIAN > =
------------------------------------------------
^C
!
!
!
line con 0
password 123
login
line vty 0 4
login
!
!
!
End
Mengecek koneksi IP router Kampus A yang telah di konfigurasi:
Kampus_A#ping 192.168.1.2
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 192.168.1.2, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 7/7/9 ms
Konfiigurasi untuk Router II
--- System Configuration Dialog ---
Continue with configuration dialog? [yes/no]: n
Press RETURN to get started!
Router>enable à (untuk meng-enable router)
Memberi nama router
Router#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#hostname Kampus_B
Membuat Banner
Kampus_B(config)#
Kampus_B(config)#banner motd a
Enter TEXT message. End with the character 'a'.
------------------------------------------------------
= Welcome To KAmpus B =
= < SAFRIAN > =
------------------------------------------------------
a
Membuat Password
Kampus_B(config)#enable password 12345
Setting IP Serial 0/0/1
Kampus_B(config)#interface serial 0/0/1
Kampus_B(config-if)#ip address 192.168.1.3 255.255.255.0
Kampus_B(config-if)#clock rate 64000
Kampus_B(config-if)#no shutdown
%LINK-5-CHANGED: Interface Serial0/0/1, changed state to up
Kampus_B(config-if)#exit
Setting Telnet
Kampus_B(config)#line vty 0 4
Kampus_B(config-line)#password 12345
Kampus_B(config-line)#login
Kampus_B(config-line)#exit
Kampus_B(config)#exit
Mengecek seluruh konfigurasi yang telah di buat:
Kampus_B#show running-config
Building configuration...
Current configuration : 842 bytes
!
version 12.4
no service timestamps log datetime msec
no service timestamps debug datetime msec
no service password-encryption
!
hostname Kampus_B
!
!
!
enable secret 5 $1$mERr$/Q/mbs3O9oHsKR7rNG4e81
enable password 12345
!
!
!
!
!
!
interface Serial0/0/1
ip address 192.168.1.3 255.255.255.0
!
!
!
!
ip classless
!
!
!
banner motd ^C
------------------------------------------------------
= Welcome To KAmpus B =
= < SAFRIAN > =
------------------------------------------------------
^C
!
line con 0
line vty 0 4
login
!
!
!
End
Mengecek koneksi IP router Kampus B yang telah di konfigurasi:
Kampus_B#ping 192.168.1.3
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 192.168.1.3, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 3/17/50 ms
Mengkoneksikan Router Kampus A ke Router Kampus B:
Kampus_A#telnet 192.168.1.3
Trying 192.168.1.3 ...Open
[Connection to 192.168.1.3 closed by foreign host]
Kampus_A#telnet 192.168.1.3
Trying 192.168.1.3 ...Open
------------------------------------------------------
= Welcome To KAmpus B =
= < SAFRIAN > =
------------------------------------------------------
User Access Verification
Password:
Kampus_B> à Router kampus A telah terkoneksi ke Router kampus B
Mengkoneksikan Router Kampus B ke Router Kampus A:
Kampus_B#telnet 192.168.1.2
Trying 192.168.1.2 ...Open
-------------------------------------------------------
= Welcome To KAmpus A =
= < SAFRIAN > =
-------------------------------------------------------
User Access Verification
Password:
Kampus_A> à Router kampus B telah terkoneksi ke Router kampus A