$ lspci | grep -i eth 00:03.0 Ethernet controller: Red Hat, Inc. Virtio network device
IP:
1 2 3 4 5
$ ip addr | grep -E "^[1-9]+|inet" 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 inet 127.0.0.1/8 scope host lo 2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000 inet 172.18.24.41/20 brd 172.18.31.255 scope global dynamic eth0
1.5 查看主板制造商
1 2 3 4
$ dmidecode | grep -V -A2 "System Information" System Information Manufacturer: Alibaba Cloud Product Name: Alibaba Cloud ECS