You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
30 lines
911 B
Plaintext
30 lines
911 B
Plaintext
- each computer should have its configuration
|
|
- QEMU
|
|
- systemd-networkd? (
|
|
- BIRD
|
|
- Also: bridges-up script to set up all the bridges.
|
|
- Network should have reasonable addressing scheme
|
|
- IP
|
|
- MAC
|
|
|
|
MAC:52:54:00:17:<mach>:<net>
|
|
IP: 172.23.<net>.<mach>
|
|
|
|
Rationale: mac is host-based, ip is net-based. This mimmics real networks. The
|
|
23 = 0x17 is just a number between 16 and 31 without meaning. MAC OUI is from
|
|
QEMU, could be something else (it _is_ locally administered), but this is
|
|
recognisable.
|
|
|
|
QEMU flags:
|
|
-enable-kvm
|
|
-m 200M # enough?
|
|
-drive ...
|
|
- networks (copy from Zr/arch)
|
|
-name
|
|
- Networks: just bridges with tap-s attached.
|
|
- OS: Alpine? (/etc/network/interfaces is configurable by mac)
|
|
- Clonined hdds? Single base hdd + overlay for bird.conf?
|
|
|
|
Impl: python with jinja. We want a templating engine, since most of the configs
|
|
are the same, and something to represent computers and networks.
|