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, 2020 in OpenStack by akhtar
• 38,260 points
1,308 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, 2020 by MD
• 95,460 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, 2020 in OpenStack by MD
• 95,460 points
2,882 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, 2020 in OpenStack by MD
• 95,460 points
1,197 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, 2020 in OpenStack by MD
• 95,460 points
4,281 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, 2020 in OpenStack by anonymous
• 95,460 points
2,635 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, 2020 in OpenStack by MD
• 95,460 points
1,380 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, 2020 in OpenStack by MD
• 95,460 points
1,994 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, 2020 in OpenStack by akhtar
• 38,260 points
1,577 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, 2020 in OpenStack by MD
• 95,460 points
2,334 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, 2020 in OpenStack by MD
• 95,460 points
912 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, 2020 in OpenStack by MD
• 95,460 points
3,871 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP