Senin, 13 Desember 2010

router

Router 1

Router>ena
Router#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#int s2/0
Router(config-if)#ip add 192.168.1.1 255.255.255.0
Router(config-if)#no shut
Router(config-if)#clock rate 9600
Router(config-if)#exit
Router(config)#int fa0/0
Router(config-if)#ip add 192.168.2.1 255.255.255.0
Router(config-if)#no shut
Router(config-if)#exit

Konfigurasi perutingan OSPF
Router(config)#router ospf 1
Router(config-router)#log-adjacency-changes
Router(config-router)#network 192.168.1.0 0.0.0.255 area 0
Router(config-router)#network 192.168.2.0 0.0.0.255 area 1

Router 2

Router>ena
Router#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#int s3/0
Router(config-if)#ip add 192.168.3.1 255.255.255.0
Router(config-if)#no shut
Router(config-if)#clock rate 9600
Router(config-if)#exit
Router(config)#int fa0/0
Router(config-if)#ip add 192.168.4.1 255.255.255.0
Router(config-if)#no shut
Router(config-if)#exit

Konfigurasi perutingan OSPF
Router(config)#router ospf 1
Router(config-router)#log-adjacency-changes
Router(config-router)#network 192.168.3.0 0.0.0.255 area 0
Router(config-router)#network 192.168.4.0 0.0.0.255 area 2





Router 3

Router>ena
Router#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#int s4/0
Router(config-if)#ip add 192.168.5.1 255.255.255.0
Router(config-if)#no shut
Router(config-if)#clock rate 9600
Router(config-if)#exit
Router(config)#int fa0/0
Router(config-if)#ip add 192.168.6.1 255.255.255.0
Router(config-if)#no shut
Router(config-if)#exit

Konfigurasi perutingan OSPF
Router(config)#router ospf 1
Router(config-router)#log-adjacency-changes
Router(config-router)#network 192.168.5.0 0.0.0.255 area 0
Router(config-router)#network 192.168.6.0 0.0.0.255 area 3

Router 0

Router>en
Router#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#int fa0/0
Router(config-if)#no shutdown
Router(config-if)#ip add 192.168.7.1 255.255.255.0
Router(config-if)#int s2/0
Router(config-if)#no shutdown
Router(config-if)#ip add 192.168.1.2 255.255.255.0
Router(config-if)#clock rate 9600
Router(config-if)#int s3/0
Router(config-if)#no shutdown
Router(config-if)#ip add 192.168.3.2 255.255.255.0
Router(config-if)#clock rate 9600
Router(config-if)#int s7/0
Router(config-if)#no shutdown
Router(config-if)#ip add 192.168.5.2 255.255.255.0
Router(config-if)#clock rate 9600
Router(config-if)#exit




Konfigurasi Perutingan OSPF

Router(config)#router ospf 1
Router(config-router)#log-adjacency-changes
Router(config-router)#network 192.168.7.0 0.0.0.255 area 0
Router(config-router)#network 192.168.1.0 0.0.0.255 area 0
Router(config-router)#network 192.168.3.0 0.0.0.255 area 0
Router(config-router)#network 192.168.5.0 0.0.0.255 area 0

Tidak ada komentar:

Posting Komentar