标签:rtu device config netplan option src img 动态ip ===
1. virtualbox 设置设置->网络->网卡1:
设置->网络->网卡2:
可以了解下 lshw,netplan,ipconfig
ipconfig -a 查看所有网卡,
lshw -c network -short
H/W path Device Class Description
===============================================
/0/100/3 enp0s3 network 82540EM Gigabit Ethernet Controller
/0/100/8 enp0s8 network 82540EM Gigabit Ethernet Controller
sudo /vim/etc/netplan/50-cloud-init.yaml
network:
ethernets:
enp0s3:
addresses: []
dhcp4: true
optional: true
enp0s8:
addresses: []
dhcp4: true
optional: true
version: 2
重启.
标签:rtu device config netplan option src img 动态ip ===
原文地址:http://blog.51cto.com/searchcoding/2137349