totoro: add br-int interface
This commit is contained in:
parent
4e59866c2e
commit
74371dbe8a
2 changed files with 8 additions and 1 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue