A. Setting Router Edmonton
Edmonton>ena
Edmonton#configure terminal
Edmonton(config)#interface fastEthernet 0/0
Edmonton(config-if)#ip address 172.16.10.1 255.255.255.0
Edmonton(config-if)#no shutdown
Edmonton(config-if)#exit
Edmonton(config)#interface fastEthernet 1/0
Edmonton(config-if)#ip address 172.16.20.1 255.255.255.0
Edmonton(config-if)#no shutdown
Edmonton(config-if)#exit
Edmonton(config)#interface serial 2/0
Edmonton(config-if)#ip address 172.16.30.1 255.255.255.0
Edmonton(config-if)#no shutdown
Edmonton(config-if)#exit
Edmonton(config)#interface serial 2/0
Edmonton(config-if)#clock rate 64000
Edmonton(config-if)#no shutdown
Edmonton(config-if)#exit
Edmonton>ena
Edmonton#configure terminal
Edmonton(config)#router ospf 100
Edmonton#configure terminal
Edmonton(config-edmonton)#network 172.16.10.0 0.0.0.255 area
0
Edmonton(config-edmonton)#network 172.16.20.0 0.0.0.255 area
0
Edmonton(config-edmonton)#network 172.16.30.0 0.0.0.255 area
0
Edmonton(config-edmonton)#exit
Edmonton(config)#access-list 115 deny ip host 172.16.10.5
host 172.16.50.7 //Mencegah host 172.16.10.5
mengakses host 172.16.50.7
Edmonton(config)#no
shu
Edmonton(config)#access-list 115 permit ip any any
Edmonton(config)#interface fa 0/0
Edmonton(config-if)#ip access-group 115 in
Edmonton(config-if)#no shutdown
============================================================
B . Setting Router
Reddeer
Reddeer>ena
Reddeer#conf
Reddeer#configure t
Reddeer#configure terminal
Reddeer(config)#interface serial 2/0
Reddeer(config-if)#ip address 172.16.30.2 255.255.255.0
Reddeer(config-if)#no shutdown
Reddeer(config-if)#exit
Reddeer(config)#interface fastEthernet 0/0
Reddeer(config-if)#ip address 172.16.40.1 255.255.255.0
Reddeer(config-if)#no shutdown
Reddeer(config)#interface serial 3/0
Reddeer(config-if)#ip add172.16.60.1
Reddeer(config-if)#ip address 172.16.60.1 255.255.255.0
Reddeer(config-if)#no shutdown
Reddeer#configure terminal
Reddeer(config)#interface fastEthernet 1/0
Reddeer(config-if)#ip address 172.16.50.1 255.255.255.0
Reddeer(config-if)#no shutdown
Reddeer(config-if)#exit
Reddeer(config)#interface serial 3/0
Reddeer(config-if)#ip address 172.16.60.1 255.255.255.0
Reddeer(config-if)#no shutdown
Reddeer(config-if)#exit
Reddeer(config)#interface serial 3/0
Reddeer(config-if)#clock rate 64000
Reddeer(config-if)#no shutdown
Reddeer(config-if)#exit
Reddeer>ena
Reddeer#configure terminal
Reddeer(config)#reddeer ospf 100
Reddeer(config-reddeer)#network 172.16.30.0 0.0.0.255 area 0
Reddeer(config-reddeer)#network 172.16.40.0 0.0.0.255 area 0
Reddeer(config-reddeer)#network 172.16.50.0 0.0.0.255 area 0
Reddeer(config-reddeer)#network 172.16.60.0 0.0.0.255 area 0
Reddeer(config-reddeer)#exit
Reddeer(config)#access-list 10 deny 172.16.10.0 0.0.0.255 //mencegah network 172.16.10.0 mengakses network
172.16.40.0
Reddeer(config)#access-list 10 permit any
Reddeer(config)#interface fastEthernet 0/0
Reddeer(config-if)#ip access-group 10 out
Reddeer(config-if)#no shutdown
Reddeer (config)#access-list 20 permit host 172.16.10.5 // Mengijinkan host 172.16.10.5 melakukan
telnet terhadap router Reddeer
Reddeer (config)#line vty 0 4
Reddeer (config-line)#access-class 20 in
Reddeer (config-line)#exit
3 . Setting Router Calgary
Calgary>ena
Calgary#configure terminal
Calgary(config)#interface fastEthernet 0/0
Calgary(config-if)#ip address 172.16.70.1 255.255.255.0
Calgary(config-if)#no shutdown
Calgary(config-if)#exit
Calgary(config)#interface serial 2/0
Calgary(config-if)#ip address 172.16.60.2 255.255.255.0
Calgary(config-if)#no shutdown
Calgary(config-if)#exit
Calgary(config)#interface fastEthernet 1/0
Calgary(config-if)#ip address 172.16.80.1 255.255.255.0
Calgary(config-if)#no shutdown
Calgary(config-if)#exit
Calgary>ena
Calgary#configure terminal
Calgary(config)#router ospf 100
Calgary(config-calgary)#network 172.16.60.0 0.0.0.255 area 0
Calgary(config-calgary)#network 172.16.70.0 0.0.0.255 area 0
Calgary(config-calgary)#network 172.16.80.0 0.0.0.255 area 0
1 komentar: