mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2026-08-05 02:19:16 +00:00
Add a second L1 network interface definition to the guest Cloud Init configuration, including an additional host IP. Do this by splitting the network range into two /25s. For clarity the network struct members have also been renamed. Signed-off-by: Rob Bradford <rbradford@rivosinc.com>
33 lines
606 B
Plaintext
33 lines
606 B
Plaintext
version: 2
|
|
ethernets:
|
|
id0:
|
|
match:
|
|
macaddress: 12:34:56:78:90:ab
|
|
addresses:
|
|
- 192.168.2.2/25
|
|
gateway4: 192.168.2.1
|
|
id1:
|
|
match:
|
|
macaddress: de:ad:be:ef:12:34
|
|
addresses:
|
|
- 192.168.2.3/25
|
|
gateway4: 192.168.2.1
|
|
id2:
|
|
match:
|
|
macaddress: de:ad:be:ef:34:56
|
|
addresses:
|
|
- 192.168.2.4/25
|
|
gateway4: 192.168.2.1
|
|
id3:
|
|
match:
|
|
macaddress: de:ad:be:ef:56:78
|
|
addresses:
|
|
- 192.168.2.5/25
|
|
gateway4: 192.168.2.1
|
|
id4:
|
|
match:
|
|
macaddress: de:ad:be:ef:78:90
|
|
addresses:
|
|
- 192.168.2.130/25
|
|
gateway4: 192.168.2.129
|