The issue is your laptop doesn't have a route to that network.  Try running this on your laptop to see if this makes it work: <div><br></div><div>sudo ip route add <a href="http://192.168.4.0/24">192.168.4.0/24</a>  dev wlan0 # replace wlan0 with the correct interface</div>
<div><br></div><div>If that doesn't work perhaps give this one a shot: </div><div><br></div><div>route add -net 192.168.4.0 netmask 255.255.255.0 gw 192.168.1.10 dev wlan0 # replace wlan0 with correct interface</div><div>
<br></div><div>The correct solution though is to add a static route for <a href="http://192.168.4.0/24">192.168.4.0/24</a> to 192.168.4.1 on your router. </div><div><br></div><div>Aaron</div><div><div><br></div><div class="gmail_quote">
On Sun, Feb 17, 2013 at 9:25 PM, jeffty <span dir="ltr"><<a href="mailto:wantwatering@gmail.com" target="_blank">wantwatering@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello,<br>
<br>
I installed openstack in my PC. The IP of my router is 192.168.1.1 and<br>
the PC's nic IP is static - 192.168.1.2.<br>
<br>
Then I created images and instances, assigned private IP as manual<br>
states in website. e.g. 192.168.4.40.<br>
<br>
I can ping/ssh instance in PC 192.168.1.10. But fail to do that in my<br>
laptop(IP: 192.168.1.3).<br>
<br>
How to access instance then? Do I need to configure sth for that?<br>
<br>
And I found that if I run<br>
<br>
sudo kvm -m xxx file=linux.img ... -vnc :0<br>
<br>
The instance can access Internet. But if it's running automatically by<br>
Nova, I cannot connect to Internet when SSH/VNC onto it.<br>
<br>
Thanks a lot.<br>
<br>
_______________________________________________<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>
</blockquote></div><br>
</div>