Does quantum support multi-nic setup ?
Host setup :
==========
Host A : Controller node. This has everything running via devstack/stack.sh
Host B :
- Only nova-network and q-agt
- nova.conf from HostA copied over to HostB, and references for localhost replaced pointing to HostA (mysql, rabbit etc)
- Also updated sql_Connection entry in /etc/quantum/
I have not added multi-host flag to my nova.conf (Should I ????)
Network Setup :
===============
created two networks for "demo" tenant using "nova-manage network create" 10.0.8.0/24 and 10.0.9.0/24
Associated 10.0.9.0/24 with HostB using "nova-manage network modify --host"
Launched an instance for demo tenant - VM gets two fixed IPs, one each from 10.0.8.x and 10.0.9.x networks.
I can ssh to VM from HostA using 10.0.8.x IP
Problem :
========
I can't ssh to VM using 10.0.9.x IP from either HostA or HostB
Output from VM
===============
When I sshed into VM, I see following on VM :
$ ifconfig -a
eth0 Link encap:Ethernet HWaddr FA:16:3E:1D:72:F9
inet addr:10.0.8.23 Bcast:10.0.8.255 Mask:255.255.255.0
inet6 addr: fe80::f816:
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:790 errors:0 dropped:0 overruns:0 frame:0
TX packets:505 errors:0 dropped:0 overruns:0 carrier:0
RX bytes:67734 (66.1 KiB) TX bytes:67244 (65.6 KiB)
eth1 Link encap:Ethernet HWaddr FA:16:3E:24:C2:B4
inet6 addr: fe80::f816:
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:9 errors:0 dropped:0 overruns:0 carrier:0
RX bytes:0 (0.0 B) TX bytes:1434 (1.4 KiB)
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:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
cat /etc/network/
$ cat /etc/network/
# Configure Loopback
auto lo
iface lo inet loopback
auto eth0
iface eth0 inet dhcp
I added entry for eth1 (similar to eth0) manually and executed following :
$ sudo ifup eth1
udhcpc (v1.18.5) started
Sending discover...
Sending discover...
Sending discover...
No lease, failing
On Host A
=========
dnsmasq for 10.0.8.x is running here, with following conf file
cat /opt/stack/
fa:16:3e:
ifconfig has following entry :
gw-afc33410-c5 Link encap:Ethernet HWaddr fa:16:3e:5e:82:fd
inet addr:10.0.8.1 Bcast:10.0.8.255 Mask:255.255.255.0
inet6 addr: fe80::f816:
UP BROADCAST RUNNING PROMISC MULTICAST MTU:1500 Metric:1
RX packets:6048 errors:0 dropped:5 overruns:0 frame:0
TX packets:4739 errors:0 dropped:0 overruns:0 carrier:0
RX bytes:1359020 (1.3 MB) TX bytes:801255 (801.2 KB)
On Host B
=========
dnsmasq for 10.0.9.x is running here, with following conf file
cat /opt/stack/
fa:16:3e:
ifconfig -a does NOT have an entry for gw-d173143a-33
So what am I doing wrong ? Is this kind of setup supported by Quantum ?
Let me know if you need additional information
Thanks !!!
Question information
- Language:
- English Edit question
- Status:
- Answered
- For:
- neutron Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Can you help with this problem?
Provide an answer of your own, or ask Mandar Vaze for more information if necessary.