From 5f457c4786b270f0918294b09f32c484f165e2ef Mon Sep 17 00:00:00 2001 From: xengineering Date: Fri, 21 Mar 2025 22:01:32 +0100 Subject: fw: Add simulate-network.sh This script can be called with root permissions and without any arguments to provide a virtual network interface `zeth` and an IPv6 router advertisement daemon to provide a realistic network environment without any hardware. --- fw/radvd.conf | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 fw/radvd.conf (limited to 'fw/radvd.conf') diff --git a/fw/radvd.conf b/fw/radvd.conf new file mode 100644 index 0000000..98c703f --- /dev/null +++ b/fw/radvd.conf @@ -0,0 +1,16 @@ +# This Source Code Form is subject to the terms of the Mozilla Public License, +# v. 2.0. If a copy of the MPL was not distributed with this file, You can +# obtain one at https://mozilla.org/MPL/2.0/. + +interface zeth +{ + AdvSendAdvert on; + MinRtrAdvInterval 3; + MaxRtrAdvInterval 10; + AdvDefaultPreference low; + prefix 2001:db8::/64 + { + AdvOnLink on; + AdvAutonomous on; + }; +}; -- cgit v1.2.3-70-g09d2