[Openstack] OSPF Configuration in cloud private network

Satya Narayana pvrsatya at gmail.com
Fri Feb 7 15:14:02 UTC 2014


Hi All,

I am facing a problem with OSPF configuration on vyatta in openstack
cloud environment. Below is the setup

=====================================
IXIA --- Host --- Vyatta Vm
======================================

In Cloud my Public Network is 192.168.30.0/24

Private Network is 10.0.0.0/24

Communicatin between Public and private network with the help of
qRouter in Cloud openstack

Launched Vyatta Vm in Private network and assgned floating IP which is
in same subnet of Public network

After assigning floating Ip, i am  able to communicate with external
network directly( without using "IP netns" )


Ixia Side I configured IP as  192.168.30.X /24
Able to configure OSPF properly  and able to ping vyatta Vm (floating IP )


Below is the vyatta configuration :
Vyatta ethernet IP is 10.0.0.X  and assigned floating IP is 192.168.30.x


Vyatta is having one physical ethernet interface and it is allocated
with private IP 10.0.0.X/24 and Floating IP : 192.168.30.x/24



Vyatta configuration:

vyatta at vyatta:~$ sudo ifconfig
eth1      Link encap:Ethernet  HWaddr fa:16:3e:90:3e:a7
          inet addr:10.0.0.3  Bcast:10.0.0.255  Mask:255.255.255.0
          inet6 addr: fe80::f816:3eff:fe90:3ea7/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:143 errors:0 dropped:0 overruns:0 frame:0
          TX packets:106 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:18483 (18.0 KiB)  TX bytes:12565 (12.2 KiB)

vyatta at vyatta# show protocols
 ospf {
     area 0 {
         network 192.168.30.0/24
         network 10.0.0.0/24
     }
     neighbor 192.168.30.50 {
     }
     redistribute {
         connected {
         }
         static {
         }
     }
 }

 }
static {
    route 192.168.30.0/24 {
        next-hop 10.0.0.3 {
        }
   }
}

[edit]





Even I havn't observed any ospf specific route 192.168.30.X/24 in show
Ip route table.


vyatta at vyatta:~$ show ip route
Codes: K - kernel route, C - connected, S - static, R - RIP, O - OSPF,
       I - ISIS, B - BGP, > - selected route, * - FIB route

S>* 0.0.0.0/0 [210/0] via 10.0.0.1, eth1
O   10.0.0.0/24 [110/10] is directly connected, eth1, 00:41:51
C>* 10.0.0.0/24 is directly connected, eth1
C>* 127.0.0.0/8 is directly connected, lo
S>* 192.168.30.0/24 [1/0] via 10.0.0.3 eth1

If suppose if we add two ethernet NIC's to vyatta VM also we observed
same problem.


Ospf neighbor relationship is not forming in between IXIA and Vyatta
VM. Even Packets are not forwarding to floating IP.

How vyatta will forward OSPF packets to floating IP or else DO I need
to do any extra configuration on vyatta ?

Can anyone please help me to form a ospf Neighbor relationship in
between IXIA and Vyatta.


Thanks In Advance
Satya




More information about the Openstack mailing list