Openstack - 控制器节点

时间:2014-01-09 06:53:36

标签: cloud openstack

如何将ns分配给我的网络接口?

我已按照以下步骤操作:

  1. ip netns
  2. 执行上述命令后,我无法获得任何ns分配详细信息。

    1. pgrep -fl dnsmasq 执行此命令后,我有以下详细信息
    2. 1548 / usr / sbin / dnsmasq -u libvirt-dnsmasq --strict-order --bind-interfaces --pid-file = / var / run / libvirt / network / default.pid --conf-file = - -except-interface lo --listen-address 192.168.122.1 --dhcp-range 192.168.122.2,192.168.122.254 --dhcp-leasefile = / var / lib / libvirt / dnsmasq / default.leases --dhcp-lease-max = 253 --dhcp-no-override 4423 / usr / sbin / dnsmasq --strict-order --bind-interfaces --conf-file = --pid-file = / opt / stack / data / nova / networks / nova-br100.pid --listen-address = 10.4.128.3 --except-interface = lo --dhcp-range = set:private,10.4.128.2,static,255.255.240.0,120s --dhcp-lease-max = 4096 --dhcp-hostsfile = / opt / stack / data / nova / networks / nova-br100.conf --dhcp-script = / usr / local / bin / nova-dhcpbridge --leasefile-ro --domain = novalocal --no-hosts --addn-hosts = /opt/stack/data/nova/networks/nova-br100.hosts 4424 / usr / sbin / dnsmasq --strict-order --bind-interfaces --conf-file = --pid-file = / opt / stack / data / nova / networks / nova-br100.pid --listen-address = 10.4.128.3 --except-interface = lo --dhcp-range = set:private,10.4.128.2,static,255.255.240.0,120s --dhcp-lease-max = 4096 --dhcp-hostsfile = / opt / stack / data / nova / networks / nova-br100.conf --dhcp-script = / usr / local / bin / nova-dhcpbridge --leasefile-ro --domain = novalocal --no-hosts --addn-hosts = /opt/stack/data/nova/networks/nova-br100.hosts

      详细说明了如何设置命名空间(ns)?

1 个答案:

答案 0 :(得分:0)

在openstack网络中,使用名称空间允许租户使用相同的网络ID。当您在openstack中拥有至少一个网络时,它们是为您创建的。

你能告诉我你到底在想什么。