How to execute command inside network namespace in OpenStack?

0 votes

Hello Guys,

How can I able to know inside which network namespace my instance is? Is this same as host only mode?

Thank You

Mar 17 in OpenStack by akhtar
• 25,210 points
126 views

1 answer to this question.

0 votes

Hi@akhtar,

Let’s assume you want to execute “ifconfig” command inside the network namespace. Follow the bellow given steps.

Network namespace of a tenant can be listed using “IP netns” command

$ ip netns list
DHCP-a51635b1-d023-419a-93b5-39de47755d2d
$ ip netns exec qdhcp-a51635b1-d023-419a-93b5-39de47755d2d “ifconfig”

Hope this will help you.

Thank You

answered Mar 17 by MD
• 57,060 points

Related Questions In OpenStack

0 votes
1 answer

How to create an image in OpenStack?

Hi@akhtar, Actually this is the fun in OpenStack. ...READ MORE

answered Mar 16 in OpenStack by MD
• 57,060 points
364 views
0 votes
1 answer

How to update an image properties in OpenStack?

Hi@akhtar, You can update your image properties. Follow ...READ MORE

answered Mar 16 in OpenStack by MD
• 57,060 points
67 views
0 votes
1 answer

How to delete image in OpenStack?

Hi@akhtar, There are two ways to delete an ...READ MORE

answered Mar 16 in OpenStack by MD
• 57,060 points
183 views
0 votes
1 answer

How to create an instance in OpenStack?

Hi@akhtar, When we try to launch an instance ...READ MORE

answered Mar 17 in OpenStack by anonymous
• 57,060 points
145 views
0 votes
1 answer

What is the meaning of term “Glance” in OpenStack service?

Hi@akhtar, Glance is image service in OpenStack. The ...READ MORE

answered Mar 16 in OpenStack by MD
• 57,060 points
78 views
0 votes
1 answer

What are the three different components of the modular OpenStack architecture model?

Hi@akhtar, There are three different types of modular OpenStack ...READ MORE

answered Mar 16 in OpenStack by MD
• 57,060 points
108 views
0 votes
1 answer

Can anyone explain me the Architecture of Glance service in OpenStack?

Hi, OpenStack Glance has a client-server architecture that ...READ MORE

answered Mar 16 in OpenStack by akhtar
• 25,210 points
184 views
0 votes
1 answer

What is basic OpenStack Architecture?

Hi@akhtar, Basic Architecture of OpenStack is given below. OpenStack ...READ MORE

answered Mar 16 in OpenStack by MD
• 57,060 points
116 views
0 votes
1 answer

How to create a network in OpenStack automatically?

Hi@akhtar, To create the router automatically, provide the ...READ MORE

answered Mar 18 in OpenStack by MD
• 57,060 points
87 views
0 votes
1 answer

How to create a public network in OpenStack?

Hi@akhtar,  In OpenStack you are the admin of ...READ MORE

answered Mar 18 in OpenStack by MD
• 57,060 points
511 views