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.

34 lines
1.1 KiB
Plaintext

3 years ago
- 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.
BIRD: Router ID's are 172.23.100.<mach>, so that we have room for quite a lot
of networks without resorting to picking canonical IP's. We might want to add
these IP's to the hosts (as /32), but we currently do not do that.