Ask Your Question
0

how to ping the instance in other network segment

asked 2015-06-03 01:24:29 -0500

shawn gravatar image

updated 2015-06-03 02:46:21 -0500

SGPJ gravatar image

now i have finished deploying the openstack in 20.20.20.* . and I set the instance network segment in 10.10.10.*

i want to know how to ping the 10.10.10.* from the same intranet(20.20.20.) and how to ping the 10.10.10. from other intranet(30.30.30.*)

for ex :

1. my instance IP is 10.10.10.5

2. pc1:20.20.20.5 /  pc2: 30.30.30.5

3. in network node ,i use the command 
netrun subnet-create ext-net --name ext-subnet --allocation-pool start=20.20.20.101,end=20.20.20.200 disable-dhcp --gateway 20.20.20.254 20.20.20.0/24

4. 20.20.20.* and 30.30.30.* can ping each other without limit.

so how to ping the 10.10.10.5 from pc1 and pc2

thanks

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2015-06-04 08:25:32 -0500

hello,

i believe you created a router and attached interfaces of 20.20.20.* and 30.30.30.* network. if these two are pinging then each other then your router is fine.

check from host machine i.e. from 10.10.10.5 type ip netns show from a network node

this will return few values like qdhcp-* for your network and qrouter- for your router.

you can ping like ip netns exec qrouter-********** ping 20.20.20.*

if this all works fine then create br-ex and attach public network gateway to it. you can check the details in network topology from dashboard. after creating br-ex you can directly ping to you neutron instances without using namespace.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2015-06-03 01:24:29 -0500

Seen: 378 times

Last updated: Jun 04 '15