Site to Site with Openstack
Posted: Thu Dec 03, 2015 4:02 pm
I tried to follow the instructions on how to do site to site VPN Layer-2 inside Openstack, but couldn't make it work.
Specifically, I think my problem resides on how to define the DHCP and bridges.
--- Home configuration [server] ----
At home, I have a DHCP server with IPs 192.168.1.x
I installed soft ether server on a computer with just one NIC card. I bridged the card and created two hosts (cloud and home).
-- Cloud configuration [remote] ---
On an Openstack cloud, I created two networks.
Network 1 with IP 10.10.10.x to connect with the provider network.
Network 2 with subnet 192.168.1.0/24 and NO DHCP and No default Gateway.
I launched an instance with two NICs, one in each network and installed BRIDGE.
I linked the hosts between the cloud instance and the server at home.
I created a bridge with the NIC on 192.168.1.0
---- On a second cloud computer ---
I created a new instance and attached to the Network 2.
This computer is unable to obtain an IP from DHCP
The expectation was that this cloud computer will broadcast a DHCP request on its NIC.
that the Cloud bridge will forward that request to the other end of the VPN to the Server
that the server will broadcast that message in the HOME network and provide an IP in the 192.168.1.x space
Any ideas on what could be wrong?
Thanks,
IB
Specifically, I think my problem resides on how to define the DHCP and bridges.
--- Home configuration [server] ----
At home, I have a DHCP server with IPs 192.168.1.x
I installed soft ether server on a computer with just one NIC card. I bridged the card and created two hosts (cloud and home).
-- Cloud configuration [remote] ---
On an Openstack cloud, I created two networks.
Network 1 with IP 10.10.10.x to connect with the provider network.
Network 2 with subnet 192.168.1.0/24 and NO DHCP and No default Gateway.
I launched an instance with two NICs, one in each network and installed BRIDGE.
I linked the hosts between the cloud instance and the server at home.
I created a bridge with the NIC on 192.168.1.0
---- On a second cloud computer ---
I created a new instance and attached to the Network 2.
This computer is unable to obtain an IP from DHCP
The expectation was that this cloud computer will broadcast a DHCP request on its NIC.
that the Cloud bridge will forward that request to the other end of the VPN to the Server
that the server will broadcast that message in the HOME network and provide an IP in the 192.168.1.x space
Any ideas on what could be wrong?
Thanks,
IB