<html><head><meta http-equiv="Content-Type" content="text/html charset=iso-8859-1"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Either your switch is dropping the packets or they are getting blocked by security group rules. You will have to do some tcpdump on various interfaces to figure out where the packets are getting dropped.<div><br></div><div>Vish</div><div><br><div><div>On Jan 3, 2013, at 11:07 AM, Umar Draz <<a href="mailto:unix.co@gmail.com">unix.co@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div>Hi Vish</div><div> </div><div>Here is updated output.</div><div> </div><div><a href="mailto:root@compute1">root@compute1</a>:~# ifconfig</div><div> </div><div>br100 Link encap:Ethernet HWaddr 00:50:56:b2:01:5f<br>
inet addr:10.10.10.3 Bcast:10.10.10.255 Mask:255.255.255.0<br> inet6 addr: fe80::30b0:a8ff:fefe:5a32/64 Scope:Link<br> UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1<br> RX packets:2891 errors:0 dropped:20 overruns:0 frame:0<br>
TX packets:523 errors:0 dropped:0 overruns:0 carrier:0<br> collisions:0 txqueuelen:0<br> RX bytes:158946 (158.9 KB) TX bytes:53844 (53.8 KB)</div><div> </div><div>eth0 Link encap:Ethernet HWaddr 00:50:56:b2:01:5c<br>
inet addr:63.55.xx.39 Bcast:64.22.82.127 Mask:255.255.255.128<br> inet6 addr: fe80::250:56ff:feb2:15c/64 Scope:Link<br> UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1<br> RX packets:12697 errors:0 dropped:20 overruns:0 frame:0<br>
TX packets:10651 errors:0 dropped:0 overruns:0 carrier:0<br> collisions:0 txqueuelen:1000<br> RX bytes:4687350 (4.6 MB) TX bytes:3680637 (3.6 MB)</div><div> </div><div>eth1 Link encap:Ethernet HWaddr 00:50:56:b2:01:5f<br>
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1<br> RX packets:2772 errors:0 dropped:0 overruns:0 frame:0<br> TX packets:214 errors:0 dropped:0 overruns:0 carrier:0<br> collisions:0 txqueuelen:1000<br>
RX bytes:181158 (181.1 KB) TX bytes:14768 (14.7 KB)</div><div> </div><div>lo Link encap:Local Loopback<br> inet addr:127.0.0.1 Mask:255.0.0.0<br> inet6 addr: ::1/128 Scope:Host<br> UP LOOPBACK RUNNING MTU:16436 Metric:1<br>
RX packets:88 errors:0 dropped:0 overruns:0 frame:0<br> TX packets:88 errors:0 dropped:0 overruns:0 carrier:0<br> collisions:0 txqueuelen:0<br> RX bytes:9296 (9.2 KB) TX bytes:9296 (9.2 KB)</div>
<div> </div><div>vnet0 Link encap:Ethernet HWaddr fe:16:3e:67:b1:59<br> inet6 addr: fe80::fc16:3eff:fe67:b159/64 Scope:Link<br> UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1<br> RX packets:354 errors:0 dropped:0 overruns:0 frame:0<br>
TX packets:2746 errors:0 dropped:0 overruns:0 carrier:0<br> collisions:0 txqueuelen:500<br> RX bytes:38188 (38.1 KB) TX bytes:191306 (191.3 KB)</div><div> </div><div><br>------------------------------------------------------------------------------------------------</div>
<div> </div><div><a href="mailto:root@compute2">root@compute2</a>:~# ifconfig</div><div> </div><div>br100 Link encap:Ethernet HWaddr 00:50:56:b2:01:60<br> inet addr:10.10.10.5 Bcast:10.10.10.255 Mask:255.255.255.0<br>
inet6 addr: fe80::dc64:3dff:fe5b:f2b0/64 Scope:Link<br> UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1<br> RX packets:664 errors:0 dropped:0 overruns:0 frame:0<br> TX packets:261 errors:0 dropped:0 overruns:0 carrier:0<br>
collisions:0 txqueuelen:0<br> RX bytes:38164 (38.1 KB) TX bytes:24979 (24.9 KB)</div><div> </div><div>eth0 Link encap:Ethernet HWaddr 00:50:56:b2:01:5a<br> inet addr:63.55.xx.40 Bcast:64.22.82.127 Mask:255.255.255.128<br>
inet6 addr: fe80::250:56ff:feb2:15a/64 Scope:Link<br> UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1<br> RX packets:3383 errors:0 dropped:1 overruns:0 frame:0<br> TX packets:2795 errors:0 dropped:0 overruns:0 carrier:0<br>
collisions:0 txqueuelen:1000<br> RX bytes:1319723 (1.3 MB) TX bytes:1029018 (1.0 MB)</div><div> </div><div>eth1 Link encap:Ethernet HWaddr 00:50:56:b2:01:60<br> UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1<br>
RX packets:617 errors:0 dropped:0 overruns:0 frame:0<br> TX packets:116 errors:0 dropped:0 overruns:0 carrier:0<br> collisions:0 txqueuelen:1000<br> RX bytes:39694 (39.6 KB) TX bytes:7620 (7.6 KB)</div>
<div> </div><div>lo Link encap:Local Loopback<br> inet addr:127.0.0.1 Mask:255.0.0.0<br> inet6 addr: ::1/128 Scope:Host<br> UP LOOPBACK RUNNING MTU:16436 Metric:1<br> RX packets:74 errors:0 dropped:0 overruns:0 frame:0<br>
TX packets:74 errors:0 dropped:0 overruns:0 carrier:0<br> collisions:0 txqueuelen:0<br> RX bytes:7798 (7.7 KB) TX bytes:7798 (7.7 KB)</div><div> </div><div>vnet0 Link encap:Ethernet HWaddr fe:16:3e:03:e6:fa<br>
inet6 addr: fe80::fc16:3eff:fe03:e6fa/64 Scope:Link<br> UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1<br> RX packets:155 errors:0 dropped:0 overruns:0 frame:0<br> TX packets:698 errors:0 dropped:0 overruns:0 carrier:0<br>
collisions:0 txqueuelen:500<br> RX bytes:15718 (15.7 KB) TX bytes:51677 (51.6 KB)</div><div> </div><div>---------------------------------------------------------------------------------------------------------------</div>
<div><br>Now I have 2 virtual machines as follows</div><div> </div><div>1) 10.10.10.2 on compute1<br>1) 10.10.10.4 on compute2</div><div> </div><div>I can not ping 10.10.10.4 from compute1 node, and same I can not ping 10.10.10.2 from compute 2 node.</div>
<div> </div><div>But I can ping 10.10.10.3 and 10.10.10.5 from each compute nodes. Above is the output of ifconfig of both nodes.</div><div> </div><div>Best Regards,</div><div> </div><div>Umar<br></div><div><br> </div><div class="gmail_quote">
On Thu, Jan 3, 2013 at 11:57 PM, Vishvananda Ishaya <span dir="ltr"><<a href="mailto:vishvananda@gmail.com" target="_blank">vishvananda@gmail.com</a>></span> wrote:<br><blockquote style="margin:0px 0px 0px 0.8ex;padding-left:1ex;border-left-color:rgb(204,204,204);border-left-width:1px;border-left-style:solid" class="gmail_quote">
<div style="word-wrap:break-word">You won't be able to ping the nodes from the controller since it has no ip address on the guest network.<div><br></div><div>It looks like eth1 is bridged in properly on the compute node you showed, although I don't see it showing up in the interface list. It looks like maybe eth1 is not up? Try:</div>
<div><br></div><div>ifconfig eth1 up</div><div><br></div><div>you should be able to ping from 10.10.10.3 - 10.10.10.4 if your eth1s are up and plugged in and your switch isn't filtering traffic.</div><div><br></div><div>
Vish</div><div><div class="h5"><div><br></div><div><br><div><div>On Jan 3, 2013, at 10:25 AM, Umar Draz <<a href="mailto:unix.co@gmail.com" target="_blank">unix.co@gmail.com</a>> wrote:</div><br><blockquote type="cite">
<div>Hi Vish</div><div> </div><div>Here is the ifconfig output of <strong>compute node</strong></div><div> </div><div>br100 Link encap:Ethernet HWaddr 00:50:56:b2:01:5f<br> inet addr:10.10.10.3 Bcast:10.10.10.255 Mask:255.255.255.0<br>
inet6 addr: fe80::c895:59ff:fe29:f708/64 Scope:Link<br> UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1<br> RX packets:16 errors:0 dropped:0 overruns:0 frame:0<br> TX packets:66 errors:0 dropped:0 overruns:0 carrier:0<br>
collisions:0 txqueuelen:0<br> RX bytes:1646 (1.6 KB) TX bytes:4194 (4.1 KB)<br></div><div>vnet0 Link encap:Ethernet HWaddr fe:16:3e:00:91:2c<br> inet6 addr: fe80::fc16:3eff:fe00:912c/64 Scope:Link<br>
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1<br> RX packets:16 errors:0 dropped:0 overruns:0 frame:0<br> TX packets:81 errors:0 dropped:0 overruns:0 carrier:0<br> collisions:0 txqueuelen:500<br>
RX bytes:1870 (1.8 KB) TX bytes:5820 (5.8 KB)<br></div><div>And here is the output of brctl show</div><div> </div><div><strong>bridge name bridge id STP enabled interfaces<br>br100 8000.005056b2015f no eth1<br>
vnet0</strong><br></div><div>the virtual machine ip address is = 10.10.10.5</div><div> </div><div>1) I can ping this ip from compute node but from controller node I can't ping this.</div>
<div>2) But on controller node there is not any br100, brctl show nothing here is the ouput of ifconfig of controller node</div><div> </div><div>eth0 Link encap:Ethernet HWaddr 00:50:56:b2:01:58<br> inet addr:63.55.xx.38 Bcast:64.22.82.127 Mask:255.255.255.128<br>
inet6 addr: fe80::250:56ff:feb2:158/64 Scope:Link<br> UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1<br> RX packets:3136 errors:0 dropped:0 overruns:0 frame:0<br> TX packets:2636 errors:0 dropped:0 overruns:0 carrier:0<br>
collisions:0 txqueuelen:1000<br> RX bytes:941305 (941.3 KB) TX bytes:1173739 (1.1 MB)</div><div> </div><div>eth1 Link encap:Ethernet HWaddr 00:50:56:b2:01:5e<br> BROADCAST MULTICAST MTU:1500 Metric:1<br>
RX packets:0 errors:0 dropped:0 overruns:0 frame:0<br> TX packets:0 errors:0 dropped:0 overruns:0 carrier:0<br> collisions:0 txqueuelen:1000<br> RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)<br>
</div><div> </div><div>Best Regards,</div><div> </div><div>Umar<br> </div><div class="gmail_quote">On Thu, Jan 3, 2013 at 10:57 PM, Vishvananda Ishaya <span dir="ltr"><<a href="mailto:vishvananda@gmail.com" target="_blank">vishvananda@gmail.com</a>></span> wrote:<br>
<blockquote style="margin:0px 0px 0px 0.8ex;padding-left:1ex;border-left-color:rgb(204,204,204);border-left-width:1px;border-left-style:solid" class="gmail_quote"><div style="word-wrap:break-word">Based on the below it could be :<div>
<br></div><div>a) eth1 is not plugged in</div><div><br></div><div>or</div><div><br></div><div>b) eth1 is plugged into a switch that is filtering traffic in the <a href="http://10.10.10.0/24" target="_blank">10.10.10.0/24</a> range</div>
<div><br></div><div>or</div><div><br></div><div>c) br100 is not bridged into eth1</div><div><br></div><div>(this would appear in brctl show which you didn't send)</div><div><br></div><div><br></div><div>Vish</div><div>
<div><div><br></div><div><div><div>On Jan 3, 2013, at 9:23 AM, Umar Draz <<a href="mailto:unix.co@gmail.com" target="_blank">unix.co@gmail.com</a>> wrote:</div><br><blockquote type="cite"><div>Hi Vish</div>
<div> </div><div>Here is .....</div><div> </div><div><br>Controller (nova.conf)<br></div><div>network_manager=nova.network.manager.FlatDHCPManager<br>force_dhcp_release=True<br>dhcpbridge_flagfile=/etc/nova/nova.conf<br>
firewall_driver=nova.virt.libvirt.firewall.IptablesFirewallDriver<br>my_ip=63.55.xx.x2<br>public_interface=eth0<br>vlan_interface=eth1<br>flat_network_bridge=br100<br>flat_interface=eth1<br>fixed_range=<a href="http://10.10.10.0/24" target="_blank">10.10.10.0/24</a></div>
<div>auto eth0<br>iface eth0 inet static<br> address 63.55.xx.x2<br> netmask 255.255.255.128<br> gateway 63.55.xx.x1<br> <br>auto eth1<br>iface eth1 inet static</div><div>---------------------------------------------------------------------------------------------</div>
<div> </div><div> </div><div>Compute (nova.conf)<br></div><div>network_manager=nova.network.manager.FlatDHCPManager<br>force_dhcp_release=True<br>dhcpbridge_flagfile=/etc/nova/nova.conf<br>firewall_driver=nova.virt.libvirt.firewall.IptablesFirewallDriver<br>
my_ip=63.55.xx.x3<br>public_interface=eth0<br>vlan_interface=eth1<br>flat_network_bridge=br100<br>flat_interface=eth1<br>fixed_range=<a href="http://10.10.10.0/24" target="_blank">10.10.10.0/24</a></div><div>auto eth0<br>
iface eth0 inet static<br>
address 63.55.xx.x3<br> netmask 255.255.255.128<br> gateway 63.55.xx.x1<br> <br>auto eth1<br>iface eth1 inet static</div><div><br>-------------------------------------------------------------------------------------------------</div>
<div>Here is the command of network</div><div>nova-manage network create --label=myNetwork --fixed_range_v4=<a href="http://10.10.10.0/24" target="_blank">10.10.10.0/24</a> --bridge=br100 --num_networks=1 --multi_host=T</div>
<div> </div>
<div>Best Regards,</div><div> </div><div>Umar<br><br></div><div class="gmail_quote">On Thu, Jan 3, 2013 at 10:13 PM, Vishvananda Ishaya <span dir="ltr"><<a href="mailto:vishvananda@gmail.com" target="_blank">vishvananda@gmail.com</a>></span> wrote:<br>
<blockquote style="margin:0px 0px 0px 0.8ex;padding-left:1ex;border-left-color:rgb(204,204,204);border-left-width:1px;border-left-style:solid" class="gmail_quote"><div style="word-wrap:break-word"><div>Need a little more info:</div>
<div><br></div><div>a) what does your nova.config look like? Specifically what is the setting for flat_interface?</div><div><br></div><div>b) what command did you use to create your network?</div><div><br></div><div>c) what is the output of brctl show?</div>
<div><br></div><div>d) what is the output of ip addr show?</div><div><br></div><div>Vish</div><div><br></div><div><div><div><div>On Jan 2, 2013, at 11:11 PM, Umar Draz <<a href="mailto:unix.co@gmail.com" target="_blank">unix.co@gmail.com</a>> wrote:</div>
<br></div><blockquote type="cite"><div><div style="font-family:"times new roman","new york",times,serif;font-size:10pt"><div>
Hi</div><div><br></div><div style="font-family:"times new roman","new york",times,serif;font-size:13.33px;font-style:normal;background-color:transparent">
here is my setup</div><div style="font-family:"times new roman","new york",times,serif;font-size:13.33px;font-style:normal;background-color:transparent"><br></div><div style="font-family:"times new roman","new york",times,serif;font-size:13.33px;font-style:normal;background-color:transparent">
1) controller -> 63.73.22.22</div><div style="font-family:"times new roman","new york",times,serif;font-size:13.33px;font-style:normal;background-color:transparent">2) compute-1 - > 63.73.22.23</div>
<div style="font-family:"times new roman","new york",times,serif;font-size:13.33px;font-style:normal;background-color:transparent">3) compute-2 -> 63.73.22.24</div><div style="font-family:"times new roman","new york",times,serif;font-size:13.33px;font-style:normal;background-color:transparent">
<br></div><div style="font-family:"times new roman","new york",times,serif;font-size:13.33px;font-style:normal;background-color:transparent">The Local network is <a href="http://10.10.10.0/24" target="_blank">10.10.10.0/24</a> for <span>virtual machines</span>.</div>
<div style="font-family:"times new roman","new york",times,serif;font-size:13.33px;font-style:normal;background-color:transparent"><br></div><div style="font-family:"times new roman","new york",times,serif;font-size:13.33px;font-style:normal;background-color:transparent">
I have created 2 virtual machines. Controller automatically creates 1 Virtual machine on compute-1 and 2nd on compute-2.</div><div style="font-family:"times new roman","new york",times,serif;font-size:13.33px;font-style:normal;background-color:transparent">
<br></div><div style="font-family:"times new roman","new york",times,serif;font-size:13.33px;font-style:normal;background-color:transparent">1) Compute-1's <span>Virtual Machine</span> local ip is 10.10.10.3</div>
<div style="font-family:"times new roman","new york",times,serif;font-size:13.33px;font-style:normal;background-color:transparent">2) Compute-2's Virtual Machine local ip is
10.10.10.4</div><div style="font-family:"times new roman","new york",times,serif;font-size:13.33px;font-style:normal;background-color:transparent"><br></div><div style="font-family:"times new roman","new york",times,serif;font-size:13.33px;font-style:normal;background-color:transparent">
Now
the problem is I can not ping 10.10.10.3 from Compute-2's virtual
machine. and Same thing on Compute-1's virtual machine. Even I can not
ping or access both virtual machines from controller node.</div><div style="font-family:"times new roman","new york",times,serif;font-size:13.33px;font-style:normal;background-color:transparent">
<br></div><div style="font-family:"times new roman","new york",times,serif;font-size:13.33px;font-style:normal;background-color:transparent">Compute-1 can only access its own virtual machine and Compute-2 can only access its own
virtual machines.</div><div style="font-family:"times new roman","new york",times,serif;font-size:13.33px;font-style:normal;background-color:transparent"><br></div><div style="font-family:"times new roman","new york",times,serif;font-size:13.33px;font-style:normal;background-color:transparent">
Would you please help me what should I do?</div><div style="font-family:"times new roman","new york",times,serif;font-size:13.33px;font-style:normal;background-color:transparent">
<br></div><div style="font-family:"times new roman","new york",times,serif;font-size:13.33px;font-style:normal;background-color:transparent">Best Regards,</div><div style="font-family:"times new roman","new york",times,serif;font-size:13.33px;font-style:normal;background-color:transparent">
<br></div><div style="font-family:"times new roman","new york",times,serif;font-size:13.33px;font-style:normal;background-color:transparent">Umar</div></div></div><div>
_______________________________________________<br>Mailing list: <a href="https://launchpad.net/~openstack" target="_blank">https://launchpad.net/~openstack</a><br>Post to : <a href="mailto:openstack@lists.launchpad.net" target="_blank">openstack@lists.launchpad.net</a><br>
Unsubscribe : <a href="https://launchpad.net/~openstack" target="_blank">https://launchpad.net/~openstack</a><br>More help : <a href="https://help.launchpad.net/ListHelp" target="_blank">https://help.launchpad.net/ListHelp</a><br>
</div></blockquote></div><br></div></div></blockquote></div><br><br clear="all"><br>-- <br>Umar Draz<br>Network Architect
</blockquote></div><br></div></div></div></div></blockquote></div><br><br clear="all"><br>-- <br>Umar Draz<br>Network Architect
</blockquote></div><br></div></div></div></div></blockquote></div><br><br clear="all"><br>-- <br>Umar Draz<br>Network Architect
</blockquote></div><br></div></body></html>