Tutorial & Configuration
  • Home
  • Desktop
  • Server
  • Mikrotik
  • Tools
  • Home
  • Desktop
  • Server
  • VirtualBox
  • Cisco
  • Mikrotik
  • Tools
  • About
  • Contact

Kamis, 23 Maret 2023

Config VRF dan OSPF pada Cisco Router

 maouam     Maret 23, 2023     Cisco, Network     No comments   

 Config VRF dan OSPF pada Cisco Router


Config IP Address dan Hostname di R1

Router(config)# hostname R1

R1(config)# int e0/0

R1(config-if)# ip address 10.11.11.2 255.255.255.0

R1(config-if)# no shutdown

 

Config IP Address dan Hostname di R2

Router(config)# hostname R2

R2(config)# int e0/0

R2(config-if)# ip address 10.11.11.2 255.255.255.0

R2(config-if)# no shutdown

 

Config Hostname, VRF dan IP address di R-ISP-PE1

Router(config)# hostname R-ISP-PE1

R-ISP-PE1(config)# ip vrf PT.A

R-ISP-PE1(config-vrf)# rd 10.11.11.1:1

R-ISP-PE1(config)# ip vrf PT.B

R-ISP-PE1(config-vrf)# rd 10.11.11.1:2

 

R-ISP-PE1(config)# int e0/1

R-ISP-PE1(config-if)# ip vrf forwarding PT.A

R-ISP-PE1(config-if)# ip address 10.11.11.1 255.255.255.0

R-ISP-PE1(config-if)# no shutdown

R-ISP-PE1(config)# int e0/2

R-ISP-PE1(config-if)# ip vrf forwarding PT.B

R-ISP-PE1(config-if)# ip address 10.11.11.1 255.255.255.0

R-ISP-PE1(config-if)# no shutdown


Lakukan pengujian ping di R1, R2, dan R-ISP-PE1

R1# ping 10.11.11.1

R2# ping 10.11.11.1

R-ISP-PE1# ping vrf PT.A 10.11.11.2

R-ISP-PE1# ping vrf PT.B 10.11.11.2

 

Config juga di bagian sebelah kanan untuk R3, R4 dan R-ISP-PE2

Config IP Address dan Hostname di R3

Router(config)# hostname R3

R3(config)# int e0/0

R3(config-if)# ip address 10.11.12.2 255.255.255.0

R3(config-if)# no shutdown

R3(config)# lo1

R3(config-if)# ip address 10.5.1.1 255.255.255.255

R3(config)# lo2

R3(config-if)# ip address 10.5.2.1 255.255.255.255

R3(config)# lo3

R3(config-if)# ip address 10.5.3.1 255.255.255.255

 

Config IP Address dan Hostname di R4

Router(config)# hostname R4

R4(config)# int e0/0

R4(config-if)# ip address 10.11.12.2 255.255.255.0

R4(config-if)# no shutdown

R4(config)# lo1

R4(config-if)# ip address 10.6.1.1 255.255.255.255

R4(config)# lo2

R4(config-if)# ip address 10.6.2.1 255.255.255.255

R4(config)# lo3

R4(config-if)# ip address 10.6.3.1 255.255.255.255

 

Config Hostname, VRF dan IP address di R-ISP-PE2

Router(config)# hostname R-ISP-PE2

R-ISP-PE2(config)# ip vrf PT.A

R-ISP-PE2(config-vrf)# rd 10.11.12.1:1

R-ISP-PE2(config)# ip vrf PT.B

R-ISP-PE2(config-vrf)# rd 10.11.12.1:2

 

R-ISP-PE2(config)# int e0/1

R-ISP-PE2(config-if)# ip vrf forwarding PT.A

R-ISP-PE2(config-if)# ip address 10.11.12.1 255.255.255.0

R-ISP-PE2(config-if)# no shutdown

R-ISP-PE2(config)# int e0/2

R-ISP-PE2(config-if)# ip vrf forwarding PT.B

R-ISP-PE(config-if)# ip address 10.11.12.1 255.255.255.0

R-ISP-PE2(config-if)# no shutdown

 

Lakukan pengujian ping di R3, R4, dan R-ISP-PE2

R1# ping 10.11.12.1

R2# ping 10.11.12.1

R-ISP-PE2# ping vrf PT.A 10.11.12.2

R-ISP-PE2# ping vrf PT.B 10.11.12.2

 

Config Sub Interface, VRF dan IP address di R-ISP-PE1 yg mengarah ke R-ISP-PE2

R-ISP-PE1(config)# int e0/0.1

R-ISP-PE1(config-subif)# encapsulation dot1q 10

R-ISP-PE1(config-subif)# ip vrf forwarding PT.A

R-ISP-PE1(config-subif)# ip address 11.11.11.1 255.255.255.0

R-ISP-PE1(config-subif)# int e0/0.2

R-ISP-PE1(config-subif)# encapsulation dot1q 20

R-ISP-PE1(config-subif)# ip vrf forwarding PT.B

R-ISP-PE1(config-subif)# ip address 11.11.11.1 255.255.255.0

R-ISP-PE1(config-subif)# int e0/0

R-ISP-PE1(config-if)# no shutdown

 

Config Sub Interface, VRF dan IP address di R-ISP-PE2 yg mengarah ke R-ISP-PE1

R-ISP-PE2(config)# int e0/0.1

R-ISP-PE2(config-subif)# encapsulation dot1q 10

R-ISP-PE2(config-subif)# ip vrf forwarding PT.A

R-ISP-PE2(config-subif)# ip address 11.11.11.2 255.255.255.0

R-ISP-PE2(config-subif)# int e0/0.2

R-ISP-PE2(config-subif)# encapsulation dot1q 20

R-ISP-PE2(config-subif)# ip vrf forwarding PT.B

R-ISP-PE2(config-subif)# ip address 11.11.11.2 255.255.255.0

R-ISP-PE2(config-subif)# int e0/0

R-ISP-PE2(config-if)# no shutdown

 

Config OSPF di R-ISP-PE1

R-ISP-PE1(config)# router ospf 1 vrf PT.A

R-ISP-PE1(config-router)# router-id 0.0.1.1

R-ISP-PE1(config-router)# log-adjacency-changes

R-ISP-PE1(config-router)# network 0.0.0.0 0.0.0.0 area 0

R-ISP-PE1(config-router)# router ospf 1 vrf PT.B

R-ISP-PE1(config-router)# router-id 0.0.1.2

R-ISP-PE1(config-router)# log-adjacency-changes

R-ISP-PE1(config-router)# network 0.0.0.0 0.0.0.0 area 0

 

Config OSPF di R-ISP-PE2

R-ISP-PE2(config)# router ospf 1 vrf PT.A

R-ISP-PE2(config-router)# router-id 0.0.2.1

R-ISP-PE2(config-router)# log-adjacency-changes

R-ISP-PE2(config-router)# network 0.0.0.0 0.0.0.0 area 0

R-ISP-PE2(config-router)# router ospf 1 vrf PT.B

R-ISP-PE2(config-router)# router-id 0.0.2.2

R-ISP-PE2(config-router)# log-adjacency-changes

R-ISP-PE2(config-router)# network 0.0.0.0 0.0.0.0 area 0

 

Config OSPF di R1

R1(config)# router ospf 1

R1(config-router)# network 0.0.0.0 0.0.0.0 area 0

 

Config OSPF di R2

R2(config)# router ospf 1

R2(config-router)# network 0.0.0.0 0.0.0.0 area 0

 

Config OSPF di R3

R3(config)# router ospf 1

R3(config-router)# network 0.0.0.0 0.0.0.0 area 0

 

Config OSPF di R4

R4(config)# router ospf 1

R4(config-router)# network 0.0.0.0 0.0.0.0 area 0

Cek Routing dan ping





  • Share This:  
  •  Facebook
  •  Twitter
  •  Google+
  •  Stumble
  •  Digg
Kirimkan Ini lewat EmailBlogThis!Bagikan ke XBerbagi ke Facebook
Posting Lebih Baru Posting Lama Beranda

0 komentar:

Posting Komentar

Popular Posts

  • Install zenchain node di Ubuntu-Linux (self-host node)
      Install zenchain node di Ubuntu-Linux (self-host node)   #Buat wallet baru di metamask dan import ke OKX juga (EVM) #WL di web (supa...
  • Install 0GDA Node & Client di Ubuntu-Linux
    Install 0GDA Node & Client di Ubuntu-Linux Spec vps CPU 8 core RAM 16 GB Contabo spec VPS-3 #Buat Wallet EVM (buat di OKX simpan p...
  • Install PWR node di Linux-Ubuntu
    Install PWR Node DC PWR: https://discord.com/invite/Mu3ktCk4 #Update paket sudo su apt update #Install java apt install openjdk-19-jre-headl...
  • INSTALL CHASM NODE DI LINUX/UBUNTU
      INSTALL CHASM DI LINUX/UBUNTU   #Buka web https://console.groq.com/keys   | daftar #Jika sudah daftar, buat api di https://console.g...

LABELS

  • AWS
  • Cisco
  • Cloud
  • Desktop
  • DevOps
  • Mikrotik
  • Network
  • Nginx
  • node2an
  • Proxmox
  • Server
  • Tools
  • VirtualBox
  • Zimbra

Sosial Media

Facebook 35.4Fans
Twitter 519Followers
Instagram 1060Followers
google+ 16Followers
Youtube 24Subscriber

Widget

  • Home
  • About Us
  • Contact Us

Copyright © Tutorial & Configuration