Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

DB Schema changes

 

Following schema objects will be added to the MS schema:

 

network_details:  The zone level dynamic routing parameters for public network will be saved in network details table.

network_offering: the table will be modified and a new field dynamic_routing will be added to it. 

user_vm_details: for capturing priority of the OSPF router in order to facilitate selection of designated router.

 

Quagga Configuration

 

zebra.conf (minimal)

hostname Quagga Router VPC-VR1 (hostname: r-6-VM)

#

interface eth0
   description link to link local network
   ip address 169.254.3.148/24
    link detect
interface eth1
    description link to public network

password zebra

enable password zebra

!

! Interface's description.

!

interface eth1

  description link to area 0

  ip address

    ip address

192.168.100.68/24

 

   link

link-detect

interface eth2
   description link to VPC tier1
   ip address 200.100.100.0/27
interface eth3
    description link to VPC tier 2
     ip address 200.100.100.32/27
interface lo
    ip address 200.100.100.255
     link detect
hostname r-6-VM
router ospf
   network 200.100.100.0/27 area 0   
    network 200.100.100.32/27 area 0
    network 169.254.0.0/24 area 0
    network 182.168.100.0/24 area 0
line vty
   no login
enable password <password>

 

 

Static Routes:

 

Kernel IP routing table

Destination     Gateway              Genmask         Flags Metric Ref    Use Iface

0.0.0.0               192.168.100.1   0.0.0.0         UG    0      0        0 eth1

169.254.0.0         0.0.0.0             255.255.0.0     U     0      0        0 eth0

## Not set 200.100.100.0      0.0.0.0            255.255.255.224   U     0      0        0 eth2

## Not set  200.100.100.32      0.0.0.0          255.255.255.224   U     0      0        0 eth3

192.168.100.0         0.0.0.0         255.255.255.0   U     0      0        0 eth1

!

log file /var/log/quagga/zebra.log


ospf.conf (minimal)

#

hostname r-4-VM

password zebra

!enable password please-set-at-here

!

!

interface eth1

!

router ospf

 ospf router-id 192.168.100.67

 redistribute connected

 no passive-interface eth1

 network 192.168.100.0/24 area 0

 network 200.200.1.0/24 area 67

 network 200.200.2.0/24 area 67

 

!

log file /var/log/quagga/ospfd.log

---

vtysh -c "show ip ospf neighbor"

 

    Neighbor ID Pri State           Dead Time Address         Interface            RXmtL RqstL DBsmL

192.168.100.68    1 Full/DR           34.090s 192.168.100.68  eth1:192.168.100.67      0     0     0

 

---

Sample command output:

 

vtysh -c "show ip ospf route"

============ OSPF network routing table ============

N    200.200.1.0/24         [10] area: 0.0.0.67

                           directly attached to eth2

N    200.200.2.0/24         [10] area: 0.0.0.67

                           directly attached to eth3

N IA 200.200.5.0/24         [20] area: 0.0.0.0

                           via 192.168.100.68, eth1

N IA 200.200.6.0/24         [20] area: 0.0.0.0

                           via 192.168.100.68, eth1

N    200.200.100.0/24      [10] area: 0.0.0.0

                           directly attached to eth1

 

============ OSPF router routing table =============

R    192.168.100.68        [10] area: 0.0.0.0, ABR, ASBR

                           via 192.168.100.68, eth1

 

============ OSPF external routing table ===========