Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

How to connect instance directly to ext-net(external network)

Im using openstack neutron with 3 nodes and all are working perfectly using virtual router that is connected to ext-net and internal interface,I would like to asks if its possible that the instance is directly connected to ext-net without virtual router and internal interface.

Network node interface configuration

#NETWORK NODE INTERFACE
vi /etc/network/interfaces

# The loopback network interface
auto lo
iface lo inet loopback

# The Management interface which is connected to bridge  br0 
auto eth0
iface eth0 inet static
        address 172.16.50.52
        netmask 255.255.0.0
        gateway 172.16.0.1
        dns-nameservers 8.8.8.8

#The tunnel interface which is connected to bridge br1
auto eth1
iface eth1 inet static
        address 10.0.50.52
        netmask 255.255.255.0

# The external network interface(for floating ip) which is connected to bridge  br0 
auto eth2
iface eth2 inet manual
  up ifconfig $IFACE 0.0.0.0 up
  up ip link set dev $IFACE promisc on
  down ip link set dev $IFACE promisc off
  down ifconfig $IFACE down

Compute node interface configuration

# The loopback network interface
auto lo
iface lo inet loopback

# The management network interface which is connected to bridge br0
auto eth0
iface eth0 inet static
        address 172.16.50.51
        netmask 255.255.0.0
        gateway 172.16.0.1
        dns-nameservers 8.8.8.8

#The tunnel interface which is connected to bridge br1
auto eth1
iface eth1 inet static
        address 10.0.50.51
        netmask 255.255.255.0

How to connect instance directly to ext-net(external network)network)?

Im using openstack neutron with 3 nodes and all are working perfectly using virtual router that is connected to ext-net and internal interface,I would like to asks if its possible that the instance is directly connected to ext-net without virtual router and internal interface.

Network node interface configuration

#NETWORK NODE INTERFACE
vi /etc/network/interfaces

# The loopback network interface
auto lo
iface lo inet loopback

# The Management interface which is connected to bridge  br0 
auto eth0
iface eth0 inet static
        address 172.16.50.52
        netmask 255.255.0.0
        gateway 172.16.0.1
        dns-nameservers 8.8.8.8

#The tunnel interface which is connected to bridge br1
auto eth1
iface eth1 inet static
        address 10.0.50.52
        netmask 255.255.255.0

# The external network interface(for floating ip) which is connected to bridge  br0 
auto eth2
iface eth2 inet manual
  up ifconfig $IFACE 0.0.0.0 up
  up ip link set dev $IFACE promisc on
  down ip link set dev $IFACE promisc off
  down ifconfig $IFACE down

Compute node interface configuration

# The loopback network interface
auto lo
iface lo inet loopback

# The management network interface which is connected to bridge br0
auto eth0
iface eth0 inet static
        address 172.16.50.51
        netmask 255.255.0.0
        gateway 172.16.0.1
        dns-nameservers 8.8.8.8

#The tunnel interface which is connected to bridge br1
auto eth1
iface eth1 inet static
        address 10.0.50.51
        netmask 255.255.255.0