- Device: eth0 ----------------------------------------------------------------- Type 802-3-ethernet Driver pcnet32 State connected Default no HW Address 00:0C:29:C3:87:30 Capabilities: Carrier Detect yes Wired Properties Carrier on IPv4 Settings: Address 172.16.146.140 Prefix 24 (255.255.255.0) Gateway 172.16.146.2 DNS 172.16.146.2 如果你想要关闭一个连接,你可以使用诸如nmcli con down id <id>的东西, 这里<id>是某个连接的ID。nmcli现在还不像ifconfig那样灵活和功能完善,不过这仅仅是一个开始。