Show Table of Contents
3.9. 网络标签(Network Label)
使用网络标签(Network Label),可以大大简化一些逻辑网络管理的工作。
网络标签就是和一个逻辑网络或主机的物理网络接口相关联的一组文字。网络标签的长度没有限制,但它只能包括大小写字母、下划线和分号。空格和其它特殊符合不被支持。
为逻辑网络或主机的物理网络接口加一个网络标签后,它们就可以和有相同网络标签的逻辑网络或主机的物理网络接口以下面的形式相关联:
网络标签关联
- 当您为一个逻辑网络添加了一个网络标签后,这个逻辑网络将会被自动和有相同网络标签的主机物理网络接口相关联。
- 当您为一个主机的物理网络接口添加了一个网络标签后,具有这个网络标签的所有逻辑网络都会和这个主机的物理网络接口相关联。
- 修改已经被附加到一个逻辑网络或主机的物理网络接口的网络标签等同于:先删除了网络标签,然后再添加了一个新网络标签。附加了这个网络标签的逻辑网络和主机的物理网络接口之间的关联也会被更新。
网络标签和集群
- 当一个有网络标签的逻辑网络被添加到一个集群中,它会被自动添加到在这个集群中的具有相同网络标签的主机物理网络接口上。
- 当一个有网络标识的逻辑网被从一个集群中删除后,它会被自动取消和在这个集群中的具有相同网络标签的主机物理网络接口的关联。
网络标签和有用户角色的逻辑网络
- 当一个有网络标识的逻辑网络被设为“显示网络”或“迁移网络”时,它会在主机物理网络接口中被配置为通过 DHCP 获得一个 IP 地址。

Where did the comment section go?
Red Hat's documentation publication system recently went through an upgrade to enable speedier, more mobile-friendly content. We decided to re-evaluate our commenting platform to ensure that it meets your expectations and serves as an optimal feedback mechanism. During this redesign, we invite your input on providing feedback on Red Hat documentation via the discussion platform.