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/plugins/openvswitch/ovs_quantum_plugin.ini to point to HostA
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:3eff:fe1d:72f9/64 Scope:Link 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 collisions:0 txqueuelen:1000 RX bytes:67734 (66.1 KiB) TX bytes:67244 (65.6 KiB) Interrupt:10 Base address:0xa000
eth1 Link encap:Ethernet HWaddr FA:16:3E:24:C2:B4 inet6 addr: fe80::f816:3eff:fe24:c2b4/64 Scope:Link 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 collisions:0 txqueuelen:1000 RX bytes:0 (0.0 B) TX bytes:1434 (1.4 KiB) Interrupt:11 Base address:0xe100
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 collisions:0 txqueuelen:0 RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
cat /etc/network/interfaces
$ cat /etc/network/interfaces
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/nova/networks/nova-gw-afc33410-c5.conf fa:16:3e:1d:72:f9,host-10.0.8.23.novalocal,10.0.8.23
ifconfig has following entry :
gw-afc33410-c5 Link encap:Ethernet HWaddr fa:16:3e ...