totoro: add br-int interface

This commit is contained in:
Luke Granger-Brown 2020-10-31 17:04:30 +00:00
parent 4e59866c2e
commit 74371dbe8a
2 changed files with 8 additions and 1 deletions

View file

@ -10,7 +10,7 @@ require (
github.com/dghubble/gologin/v2 v2.2.0
github.com/dghubble/oauth1 v0.6.0
github.com/dgrijalva/jwt-go v3.2.0+incompatible
github.com/google/safehtml v0.0.2 // indirect
github.com/google/safehtml v0.0.2
github.com/gorilla/mux v1.8.0
github.com/gorilla/securecookie v1.1.1
github.com/gorilla/sessions v1.2.1

View file

@ -62,6 +62,13 @@ in {
useDHCP = false;
interfaces.br-ext.useDHCP = true;
bridges.br-ext.interfaces = [ "enp0s31f6" ];
interfaces.br-int = {
virtual = true;
useDHCP = false;
ipv4.addresses = [{ address = "10.0.0.2"; prefixLength = 24; }];
};
bridges.br-int.interfaces = [];
};
# Virtualisation