how to configure second network interface as tunneling for network and compute nodes

asked 2015-02-05 12:57:45 -0600

rp1393 gravatar image

updated 2015-02-05 22:53:50 -0600

I am installing openstack neutron debian 7 from official manual (nodes are virtual machines)

at the very beginning where we have to configure network interfaces, i dont understand how to configure second interface (eth1) for network and compute nodes as tunnel interfaces i just did it normal way and all nodes ping each other (controller, compute, network, eth1 interfaces) is it correct?

##########################CONTROLLER NODE############################

root@controller:/home/controller# cat /etc/network/interfaces 
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

# The loopback network interface
auto lo
iface lo inet loopback

auto eth0
iface eth0 inet static
    address 192.168.1.11
    netmask 255.255.255.0
    gateway 192.168.1.1
    dns-nameservers 8.8.8.8 8.8.4.4
root@controller:/home/controller# 

**************************NETWORK NODE ******************************

root@network:/home/network# cat /etc/network/interfaces 
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

# The loopback network interface
auto lo
iface lo inet loopback


auto eth0
iface eth0 inet static
    address 192.168.1.21
    netmask 255.255.255.0
    gateway 192.168.1.1
    dns-nameservers 8.8.8.8 8.8.4.4

auto eth1
iface eth1 inet static
    address 192.168.2.21
    netmask 255.255.255.0
    gateway 192.168.1.1
    dns-nameservers 8.8.8.8 8.8.4.4

auto eth2
iface eth2 inet manual 
    up ip link set dev $IFACE up
    down ip link set dev $IFACE down
root@network:/home/network# 


$$$$$$$$$$$$$$$$$$$$$$$$$$COMPUTE1 NODE$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$

root@compute1:/home/compute1# cat /etc/network/interfaces 
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

# The loopback network interface
auto lo
iface lo inet loopback

auto eth0
iface eth0 inet static
    address 192.168.1.31
    netmask 255.255.255.0
    gateway 192.168.1.1
    dns-nameservers 8.8.8.8 8.8.4.4


auto eth1 
iface eth1 inet static
    address 192.168.2.31
    netmask 255.255.255.0
    gateway 192.168.1.1
    dns-nameservers 8.8.8.8 8.8.4.4
root@compute1:/home/compute1#
edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2015-02-06 04:10:06 -0600

dbaxps gravatar image

updated 2015-02-06 04:18:53 -0600

I would try to add [ovs] section to /etc/neutron/plugins/ml2/ml2_conf.ini on Controller with entry

local_ip=192.168.0.127 ( for instance)
and in ovs_neutron_plugin.ini on Compute nodes
[ovs]
local_ip=192.168.0.137 ( for instance)

With IPs matching corresponding values in network configuration files.

At least entry in answer-file on  RDO Juno:-
CONFIG_NEUTRON_OVS_TUNNEL_IF=enp5s1
does it pretty clear on RH Compute nodes except Controller, it also creates ml2_vxlan_endpoints table in Neutron DB 
containing IPs of corresponding VXLAN Ethernet endpoints interfaces
edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

Stats

Asked: 2015-02-05 12:57:45 -0600

Seen: 499 times

Last updated: Feb 06 '15