[root@bogon ~]# ip -o netns list cnitest-938a85b8-38bb-3c59-f5c3-699e4dc14623 cnitest-042782b7-ccc7-fb8a-280a-8577c9c1de36 cnitest-595a9dd4-418f-79e2-de0c-dd1b94b6752e cnitest-29df8161-e281-fe92-8836-3f6ad183e81d cnitest-509b8b4c-0f7d-72aa-e978-37328b55311f cnitest-105f2728-768d-5c23-6f9b-48a0d1c094a6 cnitest-e8b1fa52-9a3d-551b-bc1e-973abc9fedee cnitest-209c14b7-495e-2c1a-2f93-027561d45773 ns1 (id: 3) qdhcp-e00c4e3a-3634-4c59-8ce9-c09221cf684b (id: 2) qdhcp-38c0d85e-bdd1-4809-8c95-aeb9e62a8263 (id: 1) qdhcp-f1411bad-100e-46f8-91f1-639da9020801 (id: 0) [root@bogon ~]# neutron net-list neutron CLI is deprecated and will be removed in the future. Use openstack CLI instead. +--------------------------------------+-----------+----------------------------------+------------------------------------------------------+ | id | name | tenant_id | subnets | +--------------------------------------+-----------+----------------------------------+------------------------------------------------------+ | 38c0d85e-bdd1-4809-8c95-aeb9e62a8263 | vlan1030 | 46cc02c6fab04f7095c4bc687d397610 | ac627712-e2b7-42fe-b61a-fdba9a2149cb 172.16.103.0/24 | | e00c4e3a-3634-4c59-8ce9-c09221cf684b | net1 | 46cc02c6fab04f7095c4bc687d397610 | 6e6628cf-58e1-4452-8364-9b5f95287a1d 172.16.100.0/24 | | f1411bad-100e-46f8-91f1-639da9020801 | provision | 46cc02c6fab04f7095c4bc687d397610 | c25fbc7b-230c-41f5-8ffe-605c895e98ef 172.16.100.0/24 | +--------------------------------------+-----------+----------------------------------+------------------------------------------------------+ [root@bogon ~]# ip netns exec 38c0d85e-bdd1-4809-8c95-aeb9e62a8263 netstat -pan Cannot open network namespace "38c0d85e-bdd1-4809-8c95-aeb9e62a8263": No such file or directory You have new mail in /var/spool/mail/root [root@bogon ~]# ip netns exec qdhcp-38c0d85e-bdd1-4809-8c95-aeb9e62a8263 netstat -pan Active Internet connections (servers and established) Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name tcp 0 0 169.254.169.254:80 0.0.0.0:* LISTEN 14058/haproxy tcp 0 0 127.0.0.1:53 0.0.0.0:* LISTEN 40564/dnsmasq tcp 0 0 172.16.103.2:53 0.0.0.0:* LISTEN 40564/dnsmasq tcp 0 0 169.254.169.254:53 0.0.0.0:* LISTEN 40564/dnsmasq tcp6 0 0 ::1:53 :::* LISTEN 40564/dnsmasq tcp6 0 0 fe80::f816:3eff:fead:53 :::* LISTEN 40564/dnsmasq udp 0 0 127.0.0.1:53 0.0.0.0:* 40564/dnsmasq udp 0 0 172.16.103.2:53 0.0.0.0:* 40564/dnsmasq udp 0 0 169.254.169.254:53 0.0.0.0:* 40564/dnsmasq udp 0 0 0.0.0.0:67 0.0.0.0:* 40564/dnsmasq udp6 0 0 ::1:53 :::* 40564/dnsmasq udp6 0 0 fe80::f816:3eff:fead:53 :::* 40564/dnsmasq Active UNIX domain sockets (servers and established) Proto RefCnt Flags Type State I-Node PID/Program name Path unix 2 [ ] DGRAM 12821324 40564/dnsmasq unix 2 [ ] DGRAM 28513 14058/haproxy [root@bogon ~]#
[root@bogon ~]# neutron net-show provision neutron CLI is deprecated and will be removed in the future. Use openstack CLI instead. +---------------------------+--------------------------------------+ | Field | Value | +---------------------------+--------------------------------------+ | admin_state_up | True | | availability_zone_hints | | | availability_zones | nova | | created_at | 2020-07-13T07:39:23Z | | description | | | id | f1411bad-100e-46f8-91f1-639da9020801 | | ipv4_address_scope | | | ipv6_address_scope | | | mtu | 1500 | | name | provision | | port_security_enabled | True | | project_id | 46cc02c6fab04f7095c4bc687d397610 | | provider:network_type | vlan | | provider:physical_network | physnet_vlan | | provider:segmentation_id | 900 | | revision_number | 3 | | router:external | False | | shared | False | | status | ACTIVE | | subnets | c25fbc7b-230c-41f5-8ffe-605c895e98ef | | tags | | | tenant_id | 46cc02c6fab04f7095c4bc687d397610 | | updated_at | 2020-07-13T07:40:10Z | +---------------------------+--------------------------------------+ [root@bogon ~]# neutron net-show vlan1030 neutron CLI is deprecated and will be removed in the future. Use openstack CLI instead. +---------------------------+--------------------------------------+ | Field | Value | +---------------------------+--------------------------------------+ | admin_state_up | True | | availability_zone_hints | | | availability_zones | nova | | created_at | 2020-06-11T01:39:33Z | | description | | | id | 38c0d85e-bdd1-4809-8c95-aeb9e62a8263 | | ipv4_address_scope | | | ipv6_address_scope | | | mtu | 1500 | | name | vlan1030 | | port_security_enabled | True | | project_id | 46cc02c6fab04f7095c4bc687d397610 | | provider:network_type | vlan | | provider:physical_network | physnet_vlan | | provider:segmentation_id | 1030 | | revision_number | 3 | | router:external | False | | shared | False | | status | ACTIVE | | subnets | ac627712-e2b7-42fe-b61a-fdba9a2149cb | | tags | | | tenant_id | 46cc02c6fab04f7095c4bc687d397610 | | updated_at | 2020-06-11T01:40:01Z | +---------------------------+--------------------------------------+ [root@bogon ~]#