how to assign a different network for vm inside openstack? [closed]

asked 2013-11-19 23:52:53 -0500

Anand TS gravatar image

updated 2013-11-20 14:07:54 -0500

smaffulli gravatar image

I have setup openstack using packstack all in one installation without neutron. ie, nova networking.

I launched 4 virtual machines and assigned floating ip's say in 10.54.6.X network. But I want to launch an instance in the same setup that should have floating IP in a different network say in 10.1.1.X network.

This is my network configuration.

 [root@bfsiopenstack ~]# ifconfig
br100     Link encap:Ethernet  HWaddr FE:16:3E:17:9C:C6
          inet addr:192.168.32.1  Bcast:192.168.35.255  Mask:255.255.252.0
          inet6 addr: fe80::cc5:bbff:fe6b:b69/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:53992221 errors:0 dropped:0 overruns:0 frame:0
          TX packets:80900815 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:24474179928 (22.7 GiB)  TX bytes:14244926637 (13.2 GiB)

eth0      Link encap:Ethernet  HWaddr 40:F2:E9:0E:63:9C
          inet addr:10.54.6.75  Bcast:10.54.6.255  Mask:255.255.255.0
          inet6 addr: fe80::42f2:e9ff:fe0e:639c/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:110962182 errors:0 dropped:0 overruns:0 frame:0
          TX packets:54969781 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:16285916731 (15.1 GiB)  TX bytes:25334295232 (23.5 GiB)
          Memory:90580000-905a0000

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:22458298 errors:0 dropped:0 overruns:0 frame:0
          TX packets:22458298 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:7666669379 (7.1 GiB)  TX bytes:7666669379 (7.1 GiB)

virbr0    Link encap:Ethernet  HWaddr 52:54:00:E8:DD:85
          inet addr:192.168.122.1  Bcast:192.168.122.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)

vnet0     Link encap:Ethernet  HWaddr FE:16:3E:17:9C:C6
          inet6 addr: fe80::fc16:3eff:fe17:9cc6/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:19830898 errors:0 dropped:0 overruns:0 frame:0
          TX packets:24306655 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:500
          RX bytes:11027885485 (10.2 GiB)  TX bytes:6114553337 (5.6 GiB)

vnet1     Link encap:Ethernet  HWaddr FE:16:3E:21:28:A7
          inet6 addr: fe80::fc16:3eff:fe21:28a7/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:34840353 errors:0 dropped:0 overruns:0 frame:0
          TX packets:57481090 errors:0 dropped:0 overruns:8 carrier:0
          collisions:0 txqueuelen:500
          RX bytes:15182505056 ...
(more)
edit retag flag offensive reopen merge delete

Closed for the following reason question is not relevant or outdated by rbowen
close date 2016-09-27 11:19:00.201085

Comments

any specific reason for not using Neutron ?

mgunjan gravatar imagemgunjan ( 2016-08-08 14:15:18 -0500 )edit

Closing: This question relates to a version of OpenStack which has been marked End Of Life. If you are still experiencing this problem with a more recent version of OpenStack, please open a new question with updated details. Thanks!

rbowen gravatar imagerbowen ( 2016-09-27 11:18:55 -0500 )edit