# Creating and using  namespace for management applications

**URL:** <https://forums.suse.com/t/creating-and-using-namespace-for-management-applications/34899>\
**Category:** SLES Networking\
**Created:** [March 28, 2020, 10:23am UTC](https://forums.suse.com/t/creating-and-using-namespace-for-management-applications/34899 "2020-03-28T10:23:16Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![markcasey](https://avatars.discourse-cdn.com/v4/letter/m/e480ec/32.png) [@markcasey](https://forums.suse.com/u/markcasey)\
**Post date:** [March 28, 2020, 10:23am UTC](https://forums.suse.com/t/creating-and-using-namespace-for-management-applications/34899/1 "2020-03-28T10:23:16Z")

</div>

Hi  
I am looking to create a Management Namespace and attach management service to it on SLES 15.1 systems  
specifically

- ssh
- apache
- vnc

I added a post\_up\_script / post\_down\_script to ifcfg-eth0 which seemed to work (except the down failed to delete the name space)

I created a copy of sshd.service as [sshd@management.server](mailto:sshd@management.server) and replaced the ExecStart with  
ExecStart=/sbin/ip netns exec Management /usr/sbin/sshd -D $SSHD\_OPTS

When I tried the same thing with the vncserver.service i got  
setting the network namespace “Management” failed: Operation not permitted  
Although the equivalent command works from the command line

Has anyone done this successfully ?  
Notes/guides etc would be helpful

Mark
