Wednesday, June 26, 2019

Pertemuan 13, OSPF 3 Router 1 Switch 1 Komputer

PC 1 KE Router 3
--- System Configuration Dialog ---
Would you like to enter the initial configuration dialog? [yes/no]: no
Router>enable
Router#configure terminal
Router(config)#interface gig
Router(config)#interface gigabitEthernet 0/0
Router(config-if)#ip address 202.202.202.100 255.255.255.0
Router(config-if)#no shutdown
Router(config-if)#exit
Router(config)#interface gigabitEthernet 0/1
Router(config-if)#ip address 205.205.205.100 255.255.255.0
Router(config-if)#no shutdown
Router(config-if)#exit
Router(config)#interface serial 0/0/0
Router(config-if)#ip address 101.101.101.1 255.255.255.0
Router(config-if)#clock rate 64000
Router(config-if)#no shutdown
Router(config-if)#exit
Router(config)#interface serial 0.0
Router(config)#interface serial 0/0/0
Router(config-if)#ip address 102.102.102.2 255.255.255.0
Router(config-if)#clock rate 64000
Router(config-if)#no shutdown
Router(config-if)#exit
Router(config)#interface serial 0/0/1
Router(config-if)#ip address 101.101.101.1 255.255.255.0
Router(config-if)#clock rate 64000
Router(config-if)#no shutdown
Router(config-if)#exit
Router(config)#
Router(config)#router ospf 1
Router(config-router)#network 101.101.101.0 0.0.0.255 area 0
Router(config-router)#network 102.102.102.0 0.0.0.255 area 0
Router(config-router)#network 202.202.202.0 0.0.0.255 area 1
Router(config-router)#network 205.205.205.0 0.0.0.255 area 2
Router(config-router)#log-adjacency-changes

Router(config-router)#exit


PC 1 Ke Router 2
--- System Configuration Dialog ---
Would you like to enter the initial configuration dialog? [yes/no]: no
Router>enable
Router#configure terminal
Router(config)#interface gigabitEthernet 0/0
Router(config-if)#ip address 200.200.200.100 255.255.255.0
Router(config-if)#no shutdown
Router(config-if)#exit
Router(config)#interface gigabitEthernet 0/1
Router(config-if)#ip address 204.204.204.100 255.255.255.0
Router(config-if)#no shutdown
Router(config-if)#exit
Router(config)#interface serial 0/0/0
Router(config-if)#ip address 100.100.100.1 255.255.255.0
Router(config-if)#clock rate 64000
Router(config-if)#no shutdown
Router(config-if)#exit
Router(config)#interface serial 0/0/1
Router(config-if)#ip address 102.102.102.1 255.255.255.0
Router(config-if)#clock rate 64000
Router(config-if)#no shutdown
Router(config-if)#exit
Router(config)#
Router(config)#router ospf 1
Router(config-router)#network 101.101.101.0 0.0.0.255 area 0
Router(config-router)#network 100.100.100.0 0.0.0.255 area 1
Router(config-router)#network 201.201.201.0 0.0.0.255 area 1
Router(config-router)#network 204.204.204.0 0.0.0.255 area 2
Router(config-router)#log-adjacency-changes
Router(config-router)#exit

PC 1 Ke Router 1
--- System Configuration Dialog ---
Would you like to enter the initial configuration dialog? [yes/no]: NO
Router>enable
Router#configure terminal
Router(config)#interface gigabitEthernet 0/0
Router(config-if)#ip address 201.201.201.100 255.255.255.0
Router(config-if)#no shutdown
Router(config-if)#exit
Router(config)#interface gigabitEthernet 0/0
Router(config-if)#ip address 203.203.203.100 255.255.255.0
Router(config-if)#no shutdown
Router(config-if)#exit
Router(config)#interface serial 0/0/0
Router(config-if)#ip address 100.100.100.2 255.255.255.0

Router(config-if)#clock rate 64000
Router(config-if)#exit
Router(config)#interface serial 0/0/1

Router(config-if)#ip address 101.101.101.2 255.255.255.0
Router(config-if)#clockrate 64000
Router(config-if)#no shutdown
Router(config-if)#exit
Router(config)#interface serial 0/0/0
Router(config-if)#ip address 100.100.100.2 255.255.255.0
Router(config-if)#clock rate 64000
Router(config-if)#no shutdown
Router(config-if)#exit
Router(config)#
Router(config)#router ospf 1
Router(config-router)#network 100.100.100.0 0.0.0.255 area 1
Router(config-router)#network 102.102.102.0 0.0.0.255 area 0
Router(config-router)#network 200.200.200.0 0.0.0.255 area 1
Router(config-router)#network 203.203.203.0 0.0.0.255 area 2
Router(config-router)#log-adjacency-changes

Router(config-router)#exit
Share:

Related Posts:

0 comments:

Post a Comment