how to configure second network interface as tunneling for network and compute nodes
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#