[Nix-dev] When creating a bridge interface, the bridge doesn't appear
Arnold Krille
arnold at arnoldarts.de
Wed Jun 15 08:11:45 CEST 2016
did you define anything depending on the bridge? that is did you configure anything in networking.interfaces?
- Arnold
Am 15. Juni 2016 02:28:54 MESZ, schrieb Matthew Robbetts <wingfeathera at gmail.com>:
>Hi list,
>
>(I filed an issue at GitHub
>(https://github.com/NixOS/nixpkgs/issues/16230
><https://github.com/NixOS/nixpkgs/issues/16230>), but realized that
>since it’s probably a PEBKAC issue, the mailing list might be more
>suitable. Sorry for the cross-post!)
>
>
>I am configuring a new nixOS system. My machine has two ethernet
>interfaces (enp3s0 and enp4s0) and one wireless interface (wlp5s0). I
>want to bridge the wireless with one of the ethernets, so in my
>configuration.nix I add:
>
>networking = {
> ...
> bridges.br0.interfaces = [ "enp4s0" "wlp5s0" ];
> ...
>and run nixos-rebuild switch.
>
>I observe in the output that, among other things, a
>/nix/store/z18i1q0r4i2bn0vkpcz45d10nn0628nf-unit-br0-netdev.service/br0-netdev.service
>is created. However, ifconfig does not show the new bridge interface.
>
>If I manually run:
>systemctl start br0-netdev.service
>
>the bridge interface appears.
>
>Probably I am doing something wrong, but I would have expected the
>bridge to appear immediately as a result of nixos-rebuild switch.
>
>Anyone have an opinion?
>
>
>Thanks,
>Matt
>
>------------------------------------------------------------------------
>
>_______________________________________________
>nix-dev mailing list
>nix-dev at lists.science.uu.nl
>http://lists.science.uu.nl/mailman/listinfo/nix-dev
--
Diese Nachricht wurde von meinem Android-Mobiltelefon mit K-9 Mail gesendet.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.science.uu.nl/pipermail/nix-dev/attachments/20160615/d3a7ab8d/attachment.html>
More information about the nix-dev
mailing list