From 65afece50a3b9edce817c16c77b8f57f58e062a2 Mon Sep 17 00:00:00 2001 From: Joachim Wiberg Date: Mon, 24 Apr 2023 20:43:04 +0200 Subject: [PATCH] package/confd: update factory-config, zeroconf for IPv4/IPv6 on eth0 Still ways to go here, eth0 should be in a bridge with a vlan1 interface on top, which in turn should have this config. But let's start here, it works! :-) Signed-off-by: Joachim Wiberg --- package/confd/factory-config.cfg | 21 ++++++++++++++++++++- 1 file changed, 20 insertions(+), 1 deletion(-) diff --git a/package/confd/factory-config.cfg b/package/confd/factory-config.cfg index 8711e168..4c5e9fcf 100644 --- a/package/confd/factory-config.cfg +++ b/package/confd/factory-config.cfg @@ -1,5 +1,24 @@ { + "ietf-interfaces:interfaces": { + "interface": [ + { + "name": "eth0", + "type": "iana-if-type:ethernetCsmacd", + "ietf-ip:ipv4": { + "infix-ip:autoconf": { + "enabled": true + } + }, + "ietf-ip:ipv6": { + "enabled": true, + "autoconf": { + "create-global-addresses": true + } + } + } + ] + }, "ietf-system:system": { - "hostname": "default" + "hostname": "infix" } }