Skip to main content

OSPF Redistribute – Connected

 

OSPF Redistribute – Connected



 

stub connected : melakukan advertising hanya pada connected routes

hapus konfig sebelumnya karena ini lab lanjutan

R1

R1(config)#router ospf 1

R1(config-router)#no default-information originate always

R1(config-router)#exit


R2

R2(config)#no ip route 100.100.100.4 255.255.255.255 12.12.12.1

R2(config)#router ospf 2

R2(config-router)#no redistribute static subnets

R2(config-router)#ex


R1

R1(config)#router ospf 1

R1(config-router)#redistribute connected

% Only classful networks will be redistributed


Cek di R3 do sh ip route ospf

R3

R3#sh ip route ospf

 1.0.0.0/32 is subnetted, 1 subnets

O IA 1.1.1.1 [110/3] via 23.23.23.2, 00:25:02, FastEthernet1/0

 2.0.0.0/32 is subnetted, 1 subnets

O 2.2.2.2 [110/2] via 23.23.23.2, 00:25:02, FastEthernet1/0

 12.0.0.0/24 is subnetted, 1 subnets

O IA 12.12.12.0 [110/2] via 23.23.23.2, 00:25:02, FastEthernet1/0

 100.0.0.0/32 is subnetted, 3 subnets

O IA 100.100.100.1 [110/3] via 23.23.23.2, 00:21:35, FastEthernet1/0

O IA 100.100.100.2 [110/3] via 23.23.23.2, 00:21:35, FastEthernet1/0

O IA 100.100.100.3 [110/3] via 23.23.23.2, 00:21:35, FastEthernet1/0


nah tidak muncul apa apa , mengarah ke pesan di awal seperti dibawah ini

% Only classful networks will be redistributed


R1

R1(config)#router ospf 1

R1(config-router)#redistribute connected ?

 metric Metric for redistributed routes

 metric-type OSPF/IS-IS exterior metric type for redistributed routes

 nssa-only Limit redistributed routes to NSSA areas

 route-map Route map reference

subnets Consider subnets for redistribution into OSPF

 tag Set tag for routes redistributed into OSPF

 <cr>


R1(config-router)#redistribute connected subnets

R1(config-router)#ex

Cek Lagi di R3 do sh ip route ospf


R3

R3#sh ip route ospf

 1.0.0.0/32 is subnetted, 1 subnets

O IA 1.1.1.1 [110/3] via 23.23.23.2, 01:47:44, FastEthernet1/0

 2.0.0.0/32 is subnetted, 1 subnets

O 2.2.2.2 [110/2] via 23.23.23.2, 01:47:44, FastEthernet1/0

 12.0.0.0/24 is subnetted, 1 subnets

O IA 12.12.12.0 [110/2] via 23.23.23.2, 01:47:44, FastEthernet1/0

 100.0.0.0/32 is subnetted, 7 subnets

O IA 100.100.100.1 [110/3] via 23.23.23.2, 01:44:17, FastEthernet1/0

O IA 100.100.100.2 [110/3] via 23.23.23.2, 01:44:17, FastEthernet1/0

O IA 100.100.100.3 [110/3] via 23.23.23.2, 01:44:17, FastEthernet1/0

O E2 100.100.100.4 [110/20] via 23.23.23.2, 01:20:09, FastEthernet1/0

O E2 100.100.100.5 [110/20] via 23.23.23.2, 01:20:09, FastEthernet1/0

O E2 100.100.100.6 [110/20] via 23.23.23.2, 01:20:09, FastEthernet1/0

O E2 100.100.100.7 [110/20] via 23.23.23.2, 01:20:09, FastEthernet1/0


dan selesai

Comments

Popular posts from this blog

Phase 1 Dynamic Mapping With EIGRP

  Phase 1 Dynamic  Mapping With EIGRP Tentu kalian sudah tau, apa yang akan kita bahas pada blogg ini yaitu    Phase 1 Dynamic Mapping With EIGRP . ..  Nah Pada lab Sekarang buat routing eigrp pada setiap router baik hub  atau spoke untuk menghubungkan jaringan local masing-masing spoke  atau hub, dalam hal ini ip loopback akan kita anggap sebagai ip jaringan  local kita gaessss. Dan disini seperti di judul, kita menggunakan routing EIGRP lagi yaa... Oiya, karena ini adalah lab lanjutan dari lab VPN sebelumnya... soo saya hanya melakukan konfigurasi yang hanya pada lab ini saja, dan jika temen - temen ingin melihat konfigurasi dasarnya dari lab ini... temen - temen bisa lihat di lab - lab sebelumnya... silahkan copy dan paste link dibawah ini.. 👉https://insinyurbocah2109.blogspot.com/2020/11/belajar-vpn-gre-tunnel.html BELAJAR VPN ( GRE TUNNEL ) - Lab 1 VPN 👉 https://insinyurbocah2109.blogspot.com/2020/11/belajar-vpn-ipsec-tunnel-mode.html BELAJ...

IP SLA With EEM Script

  IP SLA With EEM Script topologi seperti di gambar EEM dengan IP SLA, yang mana nantinya IP SLA ini digunakan untuk fitur monitoring, jadi jika IP SLA mendetect suatu link down maka EEM akan mengirimkan log ke email kita R1 R1(config)#ip sla 1 R1(config-ip-sla)#icmp-echo 2.2.2.2 R1(config-ip-sla-echo)#frequency 10 R1(config-ip-sla-echo)#exit R1(config)#ip sla schedule 1 life forever start-time now R1(config)#track 1 ip sla 1 reachability Konfigurasi EEM pada R1 R1 R1(config)#event manager applet TRACK_IP_DOWN R1(config-applet)#event track 1 state down R1(config-applet)#action 1.0 syslog msg "IP SLA 1 is down" R1(config-applet)#action 2.0 mail server "smtp.gmail.com" to "idn.id" from "support@idn.id" subject "IP SLA 1 is down" body "IP SLA 1 tidak menerima lagi ICMP packet" R1(config-applet)#exit  R1 R1(config)#event manager applet IP_SLA_1_UP R1(config-applet)#event track 1 state up R1(config-applet)#action 1.0 syslog msg ...

Konfigurasi Event CLI

Konfigurasi Event CLI =LAB INI LANJUTAN DARI LAB SEBELUMNYA TOPOLOGI 1 R1(config)#event manager applet SHOW_INTERFACE_UP R1(config-applet)#event cli pattern "show ip interface brief" sync yes R1(config-applet)#action 1.0 cli command "enable" R1(config-applet)#action 2.0 cli command "show ip interface brief | include up" R1(config-applet)#action 3.0 puts "$_cli_result" R1(config-applet)#action 4.0 set $_exit_status "0" SETELAH ITU BISA KALIAN CEK DENGAN DO SH IP INT BR