Sabtu, 16 April 2016

LAB OSPF



Objective : 

·        Mempelajari cara mengkonfigurasi routing protocol OSPF
·        Mendeskripsikan berbagai type area yang dimiliki oleh OSPF

Topologi Lab :


Metoda Lab :
  • Menggunakan 3 buah router logical
  • Konfigure IP Address
  • Konfigure OSPF
Konfigurasi Lab :

1.      Konfigurasi IP Address

logical-routers {
    R1 {
        interfaces {
            em0 {
                unit 12 {
                    vlan-id 12;
                    family inet {
                        address 12.12.12.1/24;
                    }
                }
            }
            lo0 {
                unit 0 {
                    family inet {
                        address 1.1.1.1/32;
                    }
                }
            }
        }
    }
    R2 {
        interfaces {
            em0 {
                unit 23 {
                    vlan-id 23;
                    family inet {
                        address 23.23.23.2/24;
                    }
                }
            }
            em1 {
                unit 12 {
                    vlan-id 12;
                    family inet {
                        address 12.12.12.2/24;
                    }
                }
            }
            lo0 {
                unit 1 {
                    family inet {
                        address 2.2.2.2/32;
                    }
                }
            }
        }
    }
    R3 {
        interfaces {
            em1 {
                unit 23 {
                    vlan-id 23;
                    family inet {
                        address 23.23.23.3/24;
                    }
                }
            }
            lo0 {
                unit 2 {
                    family inet {
                        address 3.3.3.3/32;
                    }
                }
            }
        }
    }
}
interfaces {
    em0 {
        vlan-tagging;
    }
    em1 {
        vlan-tagging;
    }              
}


Verifikasi:
Pastikan bisa ping point-to-point setiap interfacenya

2.    Konfigurasi Routing Protocol OSPF

R1
---
root# run show configuration logical-routers R1 protocols ospf
area 0.0.0.0 {
    interface em0.12;
    interface lo0.0;
}

R2
---
root# run show configuration logical-routers R2 protocols ospf
area 0.0.0.0 {
    interface em1.12;
}
area 0.0.0.1 {
    interface lo0.1;
    interface em0.23;
}

R3
---
root# run show configuration logical-routers R3 protocols ospf   
area 0.0.0.1 {
    interface lo0.2;
    interface em1.23;
}

Verifikasi:

Pastikan OSPF neighbor nya up dan bisa ping antar loopback



Tidak ada komentar:

Posting Komentar