[Openstack] dhcp snat

2012-05-23 Thread William Herry
Hi

I use FlatDHCP network and I create two provate network which is 10.0.0.0/24and
10.0.1.0/24

I launched a instance and give him a public ip address, but can't ping to
it, (it is very odd that I can mtr it)

after debug I find that the vm's default gateway is set to 10.0.1.1, and on
host only have a SNAT of 10.0.0.0

after change gateway, it start to work,

my question is that, does the SNAT of 10.0.0.0 is hard coded? or other way
to solve my problem(use two private network)

Thanks in advance
Best Regards


-- 

===
William Herry

williamherrych...@gmail.com
___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


Re: [Openstack] dhcp snat

2012-05-23 Thread Yong Sheng Gong
 As far as I know, OpenStack snated just one network specified by:fixed_range=10.0.0.0/24 in nova/nova.conf. It is done when the nova-network starts.-openstack-bounces+gongysh=cn.ibm@lists.launchpad.net wrote: -To: openstack@lists.launchpad.netFrom: William Herry Sent by: openstack-bounces+gongysh=cn.ibm@lists.launchpad.netDate: 05/23/2012 04:26PMSubject: [Openstack]  dhcp snatHiI use FlatDHCP network and I create two provate network which is 10.0.0.0/24 and 10.0.1.0/24I launched a instance and give him a public ip address, but can't ping to it, (it is very odd that I can mtr it)
after debug I find that the vm's default gateway is set to 10.0.1.1, and on host only have a SNAT of 10.0.0.0after change gateway, it start to work,my question is that, does the SNAT of 10.0.0.0 is hard coded? or other way to solve my problem(use two private network)
Thanks in advanceBest Regards-- ===
William Herrywilliamherrych...@gmail.com

___Mailing list: https://launchpad.net/~openstackPost to   : openstack@lists.launchpad.netUnsubscribe : https://launchpad.net/~openstackMore help  : https://help.launchpad.net/ListHelp

___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp