Senin, 18 Oktober 2010

Konfigurasi ospf (Dynamic Routing )




Pada percobaan ini saya memilih ospf sebagai routing protocol. Masuk ke terminal ospf dengan perintah telnet localhost ospfd atau telnet localhost 2604.

$ telnet localhost 2604
Trying ::1...
telnet: connect to address ::1: Connection refused
Trying 127.0.0.1...
Connected to localhost.localdomain.
Escape character is '^]'.

Hello, this is zebra (version 0.95a).
Copyright 1996-2004 Kunihiro Ishiguro.

User Access Verification

Password:
ospfd> enable
Password:
ospfd#
Mendistribusikan network-network yang dimiliki router. Pada router saya, ada 2 interface, maka saya hanya mendefinisikan 2 network yang terhubung dengan router saya. Ketikkan perintah configure teminal, kemudian router ospf
ospfd# configure terminal
ospfd(config)# router ospf
ospfd(config-router)#
mendistribusikan network, ketikkan perintah network 10.10.33.0/27 area 0, network 10.10.34.0/27 area 0.
ospfd(config-router)# network 10.10.33.0/27 area 0
ospfd(config-router)# network 10.10.34.0/27 area 0
ospfd(config-router)# tekan ctrl+z
ospfd#
Untuk melihat konfigurasi yang telah dibuat ketikkan show running-config
ospfd# show running-config
Current configuration:
!
hostname ospfd
password 8 bJFoEOB0obLL6
enable password 8 4DwwIFdKLWvU.
log stdout
service password-encryption
!
interface ed0
!
interface rl0
!
router ospf
network 10.10.33.0/27 area 0.0.0.0
network 10.10.34.0/27 area 0.0.0.0
!
line vty
!
Simpan konfigurasi ospf yang telah dibuat dengan perintah write memory atau copy running-config startup-config
ospfd# copy running-config startup-config

Tidak ada komentar:

Posting Komentar