📅  最后修改于: 2022-03-11 14:44:53.008000             🧑  作者: Mango
$ sudo nmcli connection show enp0s3...connection.id: enp0s3connection.uuid: a6fc257b-5894-4437-a35e-382c06b27e46connection.stable-id: --connection.type: 802-3-ethernetconnection.interface-name: enp0s3connection.autoconnect: yes...ipv4.method: auto...IP4.ADDRESS[1]: 10.0.2.15/24IP4.GATEWAY: 10.0.2.2IP4.ROUTE[1]: dst = 0.0.0.0/0, nh = 10.0.2.2, mt = 100IP4.ROUTE[2]: dst = 10.0.2.0/24, nh = 0.0.0.0, mt = 100IP4.DNS[1]: 10.0.1.1