标签:connect method sse show eth local dns ddr gre
nmcli connection add type ethernet autoconnect yes con-name con-huzh-n3 ifname eno16777728 ip4 1.1.13.6/24 gw4 1.1.13.2
nmcli connection modify con-huzh-n3 ipv4.method manual ipv4.ignore-auto-dns yes ipv4.dns 1.1.13.2
[root@localhost ~]# nmcli connection show con-huzh-n3 | grep ipv4
ipv4.method: manual
ipv4.dns: 1.1.13.2
ipv4.dns-search:
ipv4.addresses: { ip = 1.1.13.6/24, gw = 1.1.13.2 }
ipv4.routes:
ipv4.ignore-auto-routes: no
ipv4.ignore-auto-dns: no
ipv4.dhcp-client-id: --
ipv4.dhcp-send-hostname: yes
ipv4.dhcp-hostname: --
ipv4.never-default: no
ipv4.may-fail: yes
标签:connect method sse show eth local dns ddr gre
原文地址:https://www.cnblogs.com/eiguleo/p/11406429.html