1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-18 11:40:45 +00:00
nixpkgs/nixos/lib
Philippe Schaaf f6a290932e use vde switch in hubmode by default
Within a dual VM test-setup a strange behaviour was observed.
The two VMs are connected via one vde_switch instance
(instancevirtualisation.vlans = [ 1 ]; IMO a bad attribute name for
switch instances, has nothing to do with VLANs in sense of 802.1Q).

A ping on the base interface (eth1) works, but not on VLAN
subinterfaces (vlan1@eth1). A tcpdump of eth1 includes the ARP requests
tagged with the subinterfaces VLAN ID, but responses seems not to pass
the vde_switch. This works fine if performed on the base interface.

Putting the vde_switch in hub mode results in flooding
traffic to all vde_switch ports. This results in a expected behaviour
and a ping on a VLAN subinterface works as expected.

Signed-off-by: Philippe Schaaf <philippe.schaaf@secunet.com>
2022-07-21 11:38:03 +02:00
..
make-options-doc nixos/make-options-doc: Support Nix-provided declaration locations 2022-06-27 22:07:20 +02:00
test-driver use vde switch in hubmode by default 2022-07-21 11:38:03 +02:00
build-vms.nix treewide: nixosTest -> testers.nixosTest 2022-05-09 14:16:06 +02:00
default.nix nixos/lib: Add featureFlags, use it for minimal modules 2022-01-10 12:36:57 +01:00
eval-cacheable-options.nix
eval-config-minimal.nix nixos/lib: Clarify that nixos.evalModules impl is NOT experimental 2022-01-10 12:36:57 +01:00
eval-config.nix nixos: remove effect-less nixpgks.initialSystem 2022-05-26 20:00:05 -05:00
from-env.nix
make-channel.nix
make-disk-image.nix make-disk-image: add systemdMinimal to PATH 2022-04-05 11:57:53 +02:00
make-ext4-fs.nix
make-iso9660-image.nix
make-iso9660-image.sh
make-multi-disk-zfs-image.nix treewide: don't use utillinux alias 2022-06-27 04:55:23 +00:00
make-single-disk-zfs-image.nix treewide: don't use utillinux alias 2022-06-27 04:55:23 +00:00
make-squashfs.nix
make-system-tarball.nix
make-system-tarball.sh
qemu-common.nix nixos/lib/qemu-common: Opportunistically use KVM 2022-04-05 11:49:42 +02:00
systemd-lib.nix Merge pull request #164943 from ElvishJerricco/systemd-initrd-reuse-systemd-module 2022-04-03 15:53:02 +02:00
systemd-types.nix nixos: Fix up systemd shutdown ramfs 2022-04-28 14:12:14 -04:00
systemd-unit-options.nix Merge pull request #158602 from hercules-ci/systemd-unit-mixed-list-error 2022-06-19 07:05:04 +01:00
test-script-prepend.py nixos/test-driver: Typecheck TestScript 2022-06-02 10:05:45 +02:00
testing-python.nix nixos/test-driver: Support mypy through regular mechanisms 2022-06-17 12:22:57 +02:00
utils.nix nixos: Fix up systemd shutdown ramfs 2022-04-28 14:12:14 -04:00