配置ip:

nmcli connection modify 'Wired connection 1' connection.autoconnect yes ipv4.method manual ipv4.address 192.168.73.59/24 ipv4.gateway 192.168.73.1 ipv4.dns 110.90.119.99

临时配置ip

nmcli connection modify --temporary 'Wired connection 1' connection.autoconnect yes ipv4.method manual ipv4.address 192.168.73.180/24 ipv4.gateway 192.168.73.1 ipv4.dns 110.90.119.99

启用配置:

nmcli connection up 'Wired connection 1'

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-05-25
  • 2021-10-06
猜你喜欢
  • 2021-11-22
  • 2022-12-23
  • 2022-01-07
  • 2021-07-21
  • 2021-05-28
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案