diff options
author | xengineering <me@xengineering.eu> | 2025-03-21 22:01:32 +0100 |
---|---|---|
committer | xengineering <me@xengineering.eu> | 2025-03-21 22:01:32 +0100 |
commit | 5f457c4786b270f0918294b09f32c484f165e2ef (patch) | |
tree | 2d9aae465a02d0c1d472a4a13cabf7e6971aa992 /fw/radvd.conf | |
parent | c72b621019ceb103033e289addbb448ad5f4e3b6 (diff) | |
download | iot-contact-5f457c4786b270f0918294b09f32c484f165e2ef.tar iot-contact-5f457c4786b270f0918294b09f32c484f165e2ef.tar.zst iot-contact-5f457c4786b270f0918294b09f32c484f165e2ef.zip |
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.
Diffstat (limited to 'fw/radvd.conf')
-rw-r--r-- | fw/radvd.conf | 16 |
1 files changed, 16 insertions, 0 deletions
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; + }; +}; |