4.2. 使用文本用户界面 nmtui 配置绑定
~]$ nmtui
此时会出现文本用户界面,无效命令会显示用法信息。
- 在开始菜单中选择 编辑连接。选择 添加 时会打开 编辑连接 页面。

图 4.1. NetworkManager 文本用户界面的添加绑定连接菜单
- 选择 绑定,然后选择 创建 打开绑定的 编辑连接 页面。

图 4.2. NetworkManager 文本用户界面的配置绑定连接菜单
- 此时需要在绑定中添加从属接口。要添加从属接口,请选择 添加 打开 新建连接 页面。选择连接类型后,请点击 创建 按钮。

图 4.3. NetworkManager 文本用户界面的配置绑定从属连接菜单
- 显示从属连接 编辑连接 页面。在 Device 字段输入所需从属设备名称或 MAC 地址。如有必要,选择 以太网 标签右侧的 显示,输入作为绑定的 MAC 地址的克隆 MAC 地址。选择 确定 按钮保存辅设备。
注意
如果没有为该设备指定 MAC 地址,则会在重新载入 编辑连接 窗口时自动填写 Device 部分,但只能在成功找到该设备时方可有此效果。
图 4.4. NetworkManager 文本用户界面的配置绑定从属连接菜单
- 从属连接 部分显示绑定从属连接名称。重复上述步骤添加其他从属连接。
- 点击 确定 按钮前请检查并确定设置。

图 4.5. NetworkManager 文本用户界面中完成的绑定

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.