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
• 4,500 points
21 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
• 8,870 points

Related Questions In OpenStack

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
• 8,870 points
20 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
• 8,870 points
31 views
0 votes
1 answer

How to reset error state of a instance into active in OpenStack env?

Hi@akhtar, There are some scenarios where some instances ...READ MORE

answered Mar 17 in OpenStack by MD
• 8,870 points
32 views
0 votes
1 answer

How can I do SSH inside my instance in OpenStack?

Hi@akhtar, Yes, there is nothing wrong with your ...READ MORE

answered Mar 17 in OpenStack by MD
• 8,870 points
26 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
• 8,870 points
21 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
• 8,870 points
18 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
• 4,500 points
23 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
• 8,870 points
26 views
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
• 8,870 points
24 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
• 8,870 points
22 views